Compartilhar via


ConfigurationBotFrameworkAuthentication.CreateUserTokenClientAsync Método

Definição

Cria a instância apropriada UserTokenClient .

public override System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.UserTokenClient> CreateUserTokenClientAsync (System.Security.Claims.ClaimsIdentity claimsIdentity, System.Threading.CancellationToken cancellationToken);
override this.CreateUserTokenClientAsync : System.Security.Claims.ClaimsIdentity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.UserTokenClient>
Public Overrides Function CreateUserTokenClientAsync (claimsIdentity As ClaimsIdentity, cancellationToken As CancellationToken) As Task(Of UserTokenClient)

Parâmetros

claimsIdentity
ClaimsIdentity

O de entradaActivity.ClaimsIdentity

cancellationToken
CancellationToken

Um token de cancelamento.

Retornos

Tarefa assíncrona com UserTokenClient instância.

Aplica-se a