BotFrameworkAuthentication.GenerateCallerIdAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- credentialFactory
- ServiceClientCredentialsFactory
A ServiceClientCredentialsFactory à utiliser.
- 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.