共用方式為


GoogleHandler.CreateTicketAsync 方法

定義

AuthenticationTicket從指定的 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)

參數

傳回

AuthenticationTicket

適用於