ConfigurationBotFrameworkAuthentication.CreateUserTokenClientAsync Metodo

Definizione

Crea l'istanza appropriata 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)

Parametri

claimsIdentity
ClaimsIdentity

Oggetto in ingresso Activity.ClaimsIdentity

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Attività asincrona con UserTokenClient istanza.

Si applica a