Aracılığıyla paylaş


OAuthHandler<TOptions>.CreateTicketAsync Yöntem

Tanım

Aşırı Yüklemeler

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

Belirtilen tokensiçinden bir AuthenticationTicket oluşturur.

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)

Parametreler

identity
ClaimsIdentity

Döndürülenler

Şunlara uygulanır

CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, OAuthTokenResponse)

Kaynak:
OAuthHandler.cs
Kaynak:
OAuthHandler.cs
Kaynak:
OAuthHandler.cs

Belirtilen tokensiçinden bir AuthenticationTicket oluşturur.

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)

Parametreler

Döndürülenler

AuthenticationTicket.

Şunlara uygulanır