SignInAuthenticationHandler<TOptions>.HandleSignInAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
覆寫這個方法來處理 SignIn。
protected:
abstract System::Threading::Tasks::Task ^ HandleSignInAsync(System::Security::Claims::ClaimsPrincipal ^ user, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected abstract System.Threading.Tasks.Task HandleSignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
protected abstract System.Threading.Tasks.Task HandleSignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
abstract member HandleSignInAsync : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected MustOverride Function HandleSignInAsync (user As ClaimsPrincipal, properties As AuthenticationProperties) As Task
參數
- user
- ClaimsPrincipal
- properties
- AuthenticationProperties
傳回
工作。