BotFrameworkAuthentication.AuthenticateChannelRequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Authenticate Bot Framework Protocol requests to Skills.
public virtual System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> AuthenticateChannelRequestAsync (string authHeader, System.Threading.CancellationToken cancellationToken);
abstract member AuthenticateChannelRequestAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
override this.AuthenticateChannelRequestAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Overridable Function AuthenticateChannelRequestAsync (authHeader As String, cancellationToken As CancellationToken) As Task(Of ClaimsIdentity)
Parameters
- authHeader
- String
The http auth header received in the skill request.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
Asynchronous Task with ClaimsIdentity.