JwtTokenValidation Class

Definition

Contains helper methods for authenticating incoming HTTP requests.

public static class JwtTokenValidation
type JwtTokenValidation = class
Public Class JwtTokenValidation
Inheritance
JwtTokenValidation

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