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