Partager via


GoogleHandler.CreateTicketAsync Méthode

Définition

Crée un AuthenticationTicket à partir du spécifié tokens.

protected:
 override 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 override 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);
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 Overrides Function CreateTicketAsync (identity As ClaimsIdentity, properties As AuthenticationProperties, tokens As OAuthTokenResponse) As Task(Of AuthenticationTicket)

Paramètres

identity
ClaimsIdentity

L’ClaimsIdentityopérateur

tokens
OAuthTokenResponse

L’OAuthTokenResponseopérateur

Retours

L’AuthenticationTicketopérateur

S’applique à