Class JwtRevocationExtensions
Inheritance
JwtRevocationExtensions
Assembly: FastEndpoints.Security.dll
Syntax
public static class JwtRevocationExtensions
Methods
UseJwtRevocation<T>(IApplicationBuilder)
adds an implementation of JwtRevocationMiddleware to the pipeline for the purpose of checking incoming jwt bearer tokens for validity.
Declaration
public static IApplicationBuilder UseJwtRevocation<T>(this IApplicationBuilder app) where T : JwtRevocationMiddleware
Parameters
Returns
Type Parameters
Name |
Description |
T |
implementation type of the token revocation middleware
|