Condividi tramite


JwtBearerMiddleware.CreateHandler Metodo

Definizione

Chiamato dalla classe di base AuthenticationMiddleware per creare un gestore di ogni singola richiesta.

protected:
 override Microsoft::AspNetCore::Authentication::AuthenticationHandler<Microsoft::AspNetCore::Builder::JwtBearerOptions ^> ^ CreateHandler();
protected override Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.JwtBearerOptions> CreateHandler ();
override this.CreateHandler : unit -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.JwtBearerOptions>
Protected Overrides Function CreateHandler () As AuthenticationHandler(Of JwtBearerOptions)

Restituisce

Nuova istanza del gestore di richieste.

Si applica a