Condividi tramite


AuthenticationSchemeProvider.GetDefaultSignInSchemeAsync Metodo

Definizione

Restituisce lo schema che verrà usato per impostazione predefinita per SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties). Questa operazione viene in genere specificata tramite DefaultSignInScheme. In caso contrario, il fallback verrà visualizzato su DefaultScheme.

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

Restituisce

Schema che verrà usato per impostazione predefinita per SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties).

Implementazioni

Si applica a