BotAuthenticator.TryAuthenticateAsync Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
TryAuthenticateAsync(HttpRequestMessage, IEnumerable<IActivity>, CancellationToken) | |
TryAuthenticateAsync(String, String, CancellationToken) |
TryAuthenticateAsync(HttpRequestMessage, IEnumerable<IActivity>, CancellationToken)
public System.Threading.Tasks.Task<bool> TryAuthenticateAsync (System.Net.Http.HttpRequestMessage request, System.Collections.Generic.IEnumerable<Microsoft.Bot.Connector.IActivity> activities, System.Threading.CancellationToken token);
member this.TryAuthenticateAsync : System.Net.Http.HttpRequestMessage * seq<Microsoft.Bot.Connector.IActivity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function TryAuthenticateAsync (request As HttpRequestMessage, activities As IEnumerable(Of IActivity), token As CancellationToken) As Task(Of Boolean)
Parametrar
- request
- HttpRequestMessage
- activities
- IEnumerable<IActivity>
- token
- CancellationToken
Returer
Gäller för
TryAuthenticateAsync(String, String, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.Bot.Connector.IdentityToken> TryAuthenticateAsync (string scheme, string token, System.Threading.CancellationToken cancellationToken);
member this.TryAuthenticateAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.IdentityToken>
Public Function TryAuthenticateAsync (scheme As String, token As String, cancellationToken As CancellationToken) As Task(Of IdentityToken)
Parametrar
- scheme
- String
- token
- String
- cancellationToken
- CancellationToken