使用英语阅读

通过


OAuthHandler<TOptions>.CreateTicketAsync 方法

定义

重载

CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, OAuthTokenResponse)

protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket> CreateTicketAsync(System.Security.Claims.ClaimsIdentity identity, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens);

参数

identity
ClaimsIdentity

返回

适用于

CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, OAuthTokenResponse)

Source:
OAuthHandler.cs
Source:
OAuthHandler.cs
Source:
OAuthHandler.cs

AuthenticationTicket从指定的 tokens创建 。

protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket> CreateTicketAsync(System.Security.Claims.ClaimsIdentity identity, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens);

参数

返回

AuthenticationTicket

适用于