Partilhar via


JwtBearerMiddlewareDiagnostics.Subscribe(JwtBearerEvents) Method

Definition

Subscribes to all the JwtBearer events, to help debugging, while preserving the previous handlers (which are called).

public Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents Subscribe (Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents events);
abstract member Subscribe : Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents
override this.Subscribe : Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents
Public Function Subscribe (events As JwtBearerEvents) As JwtBearerEvents

Parameters

events
JwtBearerEvents

Events to subscribe to.

Returns

JwtBearerEvents for chaining.

Implements

Applies to