AuthenticationSchemeProvider.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:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetDefaultChallengeSchemeAsync();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultChallengeSchemeAsync ();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetDefaultChallengeSchemeAsync ();
abstract member GetDefaultChallengeSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
override this.GetDefaultChallengeSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Overridable Function GetDefaultChallengeSchemeAsync () As Task(Of AuthenticationScheme)

Retornos

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

Implementações

Aplica-se a