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的信息。

返回

适用于