Compartilhar via


IAuthenticationSchemeProvider.GetDefaultChallengeSchemeAsync Método

Definição

Retorna o esquema que será usado por padrão para ChallengeAsync(HttpContext, String, AuthenticationProperties). Normalmente, isso é especificado por meio de DefaultChallengeScheme. Caso contrário, isso fará fallback para 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)

Retornos

O esquema que será usado por padrão para ChallengeAsync(HttpContext, String, AuthenticationProperties).

Aplica-se a