IJwtBearerEvents Interface
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.
Specifies events which the JwtBearerMiddleware invokes to enable developer control over the authentication process.
public interface class IJwtBearerEvents
public interface IJwtBearerEvents
type IJwtBearerEvents = interface
Public Interface IJwtBearerEvents
- Derived
Methods
AuthenticationFailed(AuthenticationFailedContext) |
Invoked if exceptions are thrown during request processing. The exceptions will be re-thrown after this event unless suppressed. |
Challenge(JwtBearerChallengeContext) |
Invoked to apply a challenge sent back to the caller. |
MessageReceived(MessageReceivedContext) |
Invoked when a protocol message is first received. |
TokenValidated(TokenValidatedContext) |
Invoked after the security token has passed validation and a ClaimsIdentity has been generated. |