次の方法で共有


AuthenticationSchemeProvider.GetDefaultSignInSchemeAsync メソッド

定義

の既定で使用されるスキームを SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties)返します。 これは通常、 を介して DefaultSignInScheme指定されます。 それ以外の場合、これは に 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)

戻り値

の既定 SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties)で使用されるスキーム。

実装

適用対象