共用方式為


ICookieAuthenticationEvents.SignedIn(CookieSignedInContext) 方法

定義

當端點提供的登入資訊轉換為 Cookie 之後呼叫。

public:
 System::Threading::Tasks::Task ^ SignedIn(Microsoft::AspNetCore::Authentication::Cookies::CookieSignedInContext ^ context);
public System.Threading.Tasks.Task SignedIn (Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext context);
abstract member SignedIn : Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext -> System.Threading.Tasks.Task
Public Function SignedIn (context As CookieSignedInContext) As Task

參數

context
CookieSignedInContext

包含登入會話和使用者 ClaimsIdentity 的相關資訊。

傳回

適用於