Bagikan melalui


JwtBearerMiddleware.CreateHandler Metode

Definisi

Dipanggil oleh kelas dasar AuthenticationMiddleware untuk membuat handler per permintaan.

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)

Mengembalikan

Instans baru penangan permintaan

Berlaku untuk