Compartir a través de


OAuthHandler<TOptions>.CreateTicketAsync Método

Definición

Sobrecargas

CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, OAuthTokenResponse)
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, OAuthTokenResponse)

Crea un AuthenticationTicket objeto a partir del especificado tokens.

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);
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);
abstract member CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
override this.CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
Protected Overridable Function CreateTicketAsync (identity As ClaimsIdentity, properties As AuthenticationProperties, tokens As OAuthTokenResponse) As Task(Of AuthenticationTicket)

Parámetros

identity
ClaimsIdentity

Devoluciones

Se aplica a

CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, OAuthTokenResponse)

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

Crea un AuthenticationTicket objeto a partir del especificado 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);
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);
abstract member CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
override this.CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
Protected Overridable Function CreateTicketAsync (identity As ClaimsIdentity, properties As AuthenticationProperties, tokens As OAuthTokenResponse) As Task(Of AuthenticationTicket)

Parámetros

Devoluciones

AuthenticationTicket.

Se aplica a