Compartir a través de


IAuthenticationSchemeProvider.GetDefaultChallengeSchemeAsync Método

Definición

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

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

Devoluciones

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

Se aplica a