Condividi tramite


CommunicationIdentityClient.RevokeTokens Method

Definition

Revokes all the tokens created for a user.

public virtual Azure.Response RevokeTokens (Azure.Communication.CommunicationUserIdentifier communicationUser, System.Threading.CancellationToken cancellationToken = default);
abstract member RevokeTokens : Azure.Communication.CommunicationUserIdentifier * System.Threading.CancellationToken -> Azure.Response
override this.RevokeTokens : Azure.Communication.CommunicationUserIdentifier * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RevokeTokens (communicationUser As CommunicationUserIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

communicationUser
CommunicationUserIdentifier

The CommunicationUserIdentifier whose tokens will be revoked.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

The server returned an error.

Applies to