JwtTokenValidation Class
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.
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. |