JwtBearerExtensions 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.
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 |
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 |
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 |
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 |
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 |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for