AuthenticationSchemeProvider.GetDefaultAuthenticateSchemeAsync Metoda

Definice

Vrátí schéma, které se použije ve výchozím nastavení pro AuthenticateAsync(HttpContext, String). Obvykle se to specifikuje prostřednictvím DefaultAuthenticateScheme. V opačném případě se to vrátí na 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)

Návraty

Task<AuthenticationScheme>

Schéma, které se použije ve výchozím nastavení pro AuthenticateAsync(HttpContext, String).

Implementuje

Platí pro