Freigeben über


IJwtBearerMiddlewareDiagnostics.Subscribe(JwtBearerEvents) Method

Definition

Called to subscribe to JwtBearerEvents.

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
Public Function Subscribe (events As JwtBearerEvents) As JwtBearerEvents

Parameters

events
JwtBearerEvents

JWT Bearer events.

Returns

The events (for chaining).

Applies to