BotFrameworkAuthentication.GenerateCallerIdAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Genera il callerId appropriato da scrivere nell'attività, che potrebbe essere Null.
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)
Parametri
- credentialFactory
- ServiceClientCredentialsFactory
Oggetto ServiceClientCredentialsFactory da utilizzare.
- claimsIdentity
- ClaimsIdentity
Attestazioni in ingresso.
- callerId
- String
CallerId predefinito da usare se non si tratta di una competenza.
- cancellationToken
- CancellationToken
Token di annullamento.
Restituisce
CallerId, potrebbe essere Null.