Compartir a través de


IAuthenticationSchemeProvider.GetDefaultAuthenticateSchemeAsync Método

Definición

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

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

Devoluciones

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

Se aplica a