Delen via


BotFrameworkAuthentication.GenerateCallerIdAsync Methode

Definitie

Genereert de juiste callerId om naar de activiteit te schrijven. Dit kan null zijn.

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)

Parameters

credentialFactory
ServiceClientCredentialsFactory

Een ServiceClientCredentialsFactory om te gebruiken.

claimsIdentity
ClaimsIdentity

De inkomende claims.

callerId
String

De standaard callerId die moet worden gebruikt als dit geen vaardigheid is.

cancellationToken
CancellationToken

Een annuleringstoken.

Retouren

De callerId, deze kan null zijn.

Van toepassing op