Delen via


IAuthenticationSchemeProvider.GetDefaultSignInSchemeAsync Method

Definition

Returns the scheme that will be used by default for SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties). This is typically specified via DefaultSignInScheme. Otherwise, this will fallback to DefaultScheme.

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

Returns

The scheme that will be used by default for SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties).

Applies to