Langue

BotFrameworkAuthentication.GenerateCallerIdAsync Méthode

Définition

Génère le callerId approprié à écrire sur l’activité, cela peut être nul.

protected internal System.Threading.Tasks.Task<string> GenerateCallerIdAsync(Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory credentialFactory, System.Security.Claims.ClaimsIdentity claimsIdentity, string callerId, System.Threading.CancellationToken cancellationToken);
member this.GenerateCallerIdAsync : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory * System.Security.Claims.ClaimsIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Protected Friend Function GenerateCallerIdAsync (credentialFactory As ServiceClientCredentialsFactory, claimsIdentity As ClaimsIdentity, callerId As String, cancellationToken As CancellationToken) As Task(Of String)

Paramètres

claimsIdentity
ClaimsIdentity

Les réclamations entrantes.

callerId
String

L’identification par défaut à utiliser si ce n’est pas une compétence.

cancellationToken
CancellationToken

Jeton d’annulation.

Retours

Le callerId, cela pourrait être nul.

S’applique à