JwtTokenValidation Class

Definition

Caution

Use ConfigurationBotFrameworkAuthentication instead to perform JWT token validation.

Contains helper methods for authenticating incoming HTTP requests.

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to perform JWT token validation.", false)]
public static class JwtTokenValidation
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to perform JWT token validation.", false)>]
type JwtTokenValidation = class
Public Class JwtTokenValidation
Inheritance
JwtTokenValidation
Attributes

Methods

AuthenticateRequest(IActivity, String, ICredentialProvider, IChannelProvider, AuthenticationConfiguration, HttpClient)

Authenticates the request and adds the activity's ServiceUrl to the set of trusted URLs.

AuthenticateRequest(IActivity, String, ICredentialProvider, IChannelProvider, HttpClient)

Authenticates the request and adds the activity's ServiceUrl to the set of trusted URLs.

GetAppIdFromClaims(IEnumerable<Claim>)

Gets the AppId from a claims list.

ValidateAuthHeader(String, ICredentialProvider, IChannelProvider, String, AuthenticationConfiguration, String, HttpClient)

Validates the authentication header of an incoming request.

ValidateAuthHeader(String, ICredentialProvider, IChannelProvider, String, String, HttpClient)

Validates the authentication header of an incoming request.

Applies to