Compartilhar via


CommunicationIdentityClient.RevokeTokensAsync Método

Definição

Revoga de forma assíncrona todos os tokens criados para um CommunicationUserIdentifier.

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

Parâmetros

communicationUser
CommunicationUserIdentifier

O CommunicationUserIdentifier cujos tokens devem ser revogados.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a