Partilhar via


OAuthMiddleware<TOptions>.CreateHandler Método

Definição

Fornece o AuthenticationHandler<TOptions> objeto para processar solicitações relacionadas à autenticação.

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)

Retornos

Um AuthenticationHandler<TOptions> configurado com o OAuthOptions fornecido para o construtor.

Aplica-se a