Udostępnij za pośrednictwem


OAuthMiddleware<TOptions>.CreateHandler Metoda

Definicja

Udostępnia obiekt do przetwarzania AuthenticationHandler<TOptions> żądań związanych z uwierzytelnianiem.

protected:
 override Microsoft::AspNetCore::Authentication::AuthenticationHandler<TOptions> ^ CreateHandler();
protected override Microsoft.AspNetCore.Authentication.AuthenticationHandler<TOptions> CreateHandler ();
override this.CreateHandler : unit -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Builder.OAuthOptions and 'Options : (new : unit -> 'Options))>
Protected Overrides Function CreateHandler () As AuthenticationHandler(Of TOptions)

Zwraca

Skonfigurowany AuthenticationHandler<TOptions> z dostarczonym OAuthOptions do konstruktora.

Dotyczy