![JAR search and dependency download from the Maven repository](/logo.png)
com.pubnub.api.PubnubSyncInterfacePam Maven / Gradle / Ivy
package com.pubnub.api;
import org.json.JSONObject;
interface PubnubSyncInterfacePam {
/**
*
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAudit();
/**
*
* @param channel
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAudit(String channel);
/**
*
* @param channel
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAudit(String channel, String auth_key);
/**
*
* @param group
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAuditChannelGroup(String group);
/**
*
* @param group
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAuditChannelGroup(String group, String auth_key);
/**
*
* @param channel
* @param read
* @param write
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, boolean read, boolean write);
/**
*
* @param channel
* @param read
* @param write
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, boolean read, boolean write, int ttl);
/**
*
* @param channel
* @param auth_key
* @param read
* @param write
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, String auth_key, boolean read, boolean write);
/**
*
* @param channel
* @param auth_key
* @param read
* @param write
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, String auth_key, boolean read, boolean write, int ttl);
/**
*
* @param group
* @param read
* @param management
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, boolean read, boolean management);
/**
*
* @param group
* @param read
* @param management
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, boolean read, boolean management, int ttl);
/**
*
* @param group
* @param auth_key
* @param read
* @param management
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, String auth_key, boolean read, boolean management);
/**
*
* @param group
* @param auth_key
* @param read
* @param management
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, String auth_key, boolean read, boolean management, int ttl);
/**
*
* @param channel
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevoke(String channel);
/**
*
* @param channel
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevoke(String channel, String auth_key);
/**
*
* @param group
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevokeChannelGroup(String group);
/**
*
* @param group
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevokeChannelGroup(String group, String auth_key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy