Compartir a través de


AuthenticationSchemeProvider.GetDefaultAuthenticateSchemeAsync Método

Definición

Devuelve el esquema que se usará de forma predeterminada para AuthenticateAsync(HttpContext, String). Normalmente, esto se especifica a través de DefaultAuthenticateScheme. De lo contrario, se revertirá a DefaultScheme.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetDefaultAuthenticateSchemeAsync();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultAuthenticateSchemeAsync ();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetDefaultAuthenticateSchemeAsync ();
abstract member GetDefaultAuthenticateSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
override this.GetDefaultAuthenticateSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Overridable Function GetDefaultAuthenticateSchemeAsync () As Task(Of AuthenticationScheme)

Devoluciones

Esquema que se usará de forma predeterminada para AuthenticateAsync(HttpContext, String).

Implementaciones

Se aplica a