CommunicationIdentityClient Class
- java.
lang. Object - com.
azure. communication. administration. CommunicationIdentityClient
- com.
public final class CommunicationIdentityClient
Synchronous client interface for Communication Service identity operations
Method Summary
Methods inherited from java.lang.Object
Method Details
createUser
public CommunicationUser createUser()
Creates a new CommunicationUser.
Returns:
createUserWithResponse
public Response<CommunicationUser> createUserWithResponse(Context context)
Creates a new CommunicationUser.
Parameters:
Returns:
deleteUser
public void deleteUser(CommunicationUser communicationUser)
Deletes a CommunicationUser, revokes its tokens and deletes its data.
Parameters:
deleteUserWithResponse
public Response<Void> deleteUserWithResponse(CommunicationUser communicationUser, Context context)
Deletes a CommunicationUser, revokes its tokens and deletes its data.
Parameters:
Returns:
issueToken
public CommunicationUserToken issueToken(CommunicationUser communicationUser, List<String> scopes)
Generates a new token for an identity.
Parameters:
Returns:
issueTokenWithResponse
public Response<CommunicationUserToken> issueTokenWithResponse(CommunicationUser communicationUser, List<String> scopes, Context context)
Generates a new token for an identity.
Parameters:
Returns:
revokeTokens
public void revokeTokens(CommunicationUser communicationUser, OffsetDateTime issuedBefore)
Revokes all the tokens created for a user before a specific date.
Parameters:
revokeTokensWithResponse
public Response<Void> revokeTokensWithResponse(CommunicationUser communicationUser, OffsetDateTime issuedBefore, Context context)
Revokes all the tokens created for a user before a specific date.
Parameters:
Returns: