JwtBearerExtensions Class

Definition

Extension methods to configure JWT bearer authentication.

public static class JwtBearerExtensions
type JwtBearerExtensions = class
Public Module JwtBearerExtensions
Inheritance
JwtBearerExtensions

Methods

AddJwtBearer(AuthenticationBuilder)

Enables JWT-bearer authentication using the default scheme AuthenticationScheme.

JWT bearer authentication performs authentication by extracting and validating a JWT token from the Authorization request header.

AddJwtBearer(AuthenticationBuilder, Action<JwtBearerOptions>)

Enables JWT-bearer authentication using the default scheme AuthenticationScheme.

JWT bearer authentication performs authentication by extracting and validating a JWT token from the Authorization request header.

AddJwtBearer(AuthenticationBuilder, String)

Enables JWT-bearer authentication using a pre-defined scheme.

JWT bearer authentication performs authentication by extracting and validating a JWT token from the Authorization request header.

AddJwtBearer(AuthenticationBuilder, String, Action<JwtBearerOptions>)

Enables JWT-bearer authentication using the specified scheme.

JWT bearer authentication performs authentication by extracting and validating a JWT token from the Authorization request header.

AddJwtBearer(AuthenticationBuilder, String, String, Action<JwtBearerOptions>)

Enables JWT-bearer authentication using the specified scheme.

JWT bearer authentication performs authentication by extracting and validating a JWT token from the Authorization request header.

Applies to