BotAuthenticator.AuthenticateAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public System.Threading.Tasks.Task<Microsoft.Bot.Connector.IdentityToken> AuthenticateAsync (System.Net.Http.HttpRequestMessage request, System.Collections.Generic.IEnumerable<Microsoft.Bot.Connector.IActivity> activities, System.Threading.CancellationToken token);
member this.AuthenticateAsync : System.Net.Http.HttpRequestMessage * seq<Microsoft.Bot.Connector.IActivity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.IdentityToken>
Public Function AuthenticateAsync (request As HttpRequestMessage, activities As IEnumerable(Of IActivity), token As CancellationToken) As Task(Of IdentityToken)
参数
- request
- HttpRequestMessage
- activities
- IEnumerable<IActivity>
- token
- CancellationToken