TwitterHandler.CreateTicketAsync Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JObject) | |
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JsonElement) |
Tworzy obiekt AuthenticationTicket na podstawie określonego |
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JObject)
- Źródło:
- TwitterHandler.cs
- Źródło:
- TwitterHandler.cs
protected:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^> ^ CreateTicketAsync(System::Security::Claims::ClaimsIdentity ^ identity, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Authentication::Twitter::AccessToken ^ token, Newtonsoft::Json::Linq::JObject ^ user);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket> CreateTicketAsync (System.Security.Claims.ClaimsIdentity identity, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.Twitter.AccessToken token, Newtonsoft.Json.Linq.JObject user);
abstract member CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.Twitter.AccessToken * Newtonsoft.Json.Linq.JObject -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
override this.CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.Twitter.AccessToken * Newtonsoft.Json.Linq.JObject -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
Protected Overridable Function CreateTicketAsync (identity As ClaimsIdentity, properties As AuthenticationProperties, token As AccessToken, user As JObject) As Task(Of AuthenticationTicket)
Parametry
- identity
- ClaimsIdentity
- properties
- AuthenticationProperties
- token
- AccessToken
- user
- Newtonsoft.Json.Linq.JObject
Zwraca
Dotyczy
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JsonElement)
- Źródło:
- TwitterHandler.cs
- Źródło:
- TwitterHandler.cs
- Źródło:
- TwitterHandler.cs
- Źródło:
- TwitterHandler.cs
- Źródło:
- TwitterHandler.cs
- Źródło:
- TwitterHandler.cs
- Źródło:
- TwitterHandler.cs
Tworzy obiekt AuthenticationTicket na podstawie określonego token
elementu .
protected:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^> ^ CreateTicketAsync(System::Security::Claims::ClaimsIdentity ^ identity, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Authentication::Twitter::AccessToken ^ token, System::Text::Json::JsonElement user);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket> CreateTicketAsync (System.Security.Claims.ClaimsIdentity identity, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.Twitter.AccessToken token, System.Text.Json.JsonElement user);
abstract member CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.Twitter.AccessToken * System.Text.Json.JsonElement -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
override this.CreateTicketAsync : System.Security.Claims.ClaimsIdentity * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.Twitter.AccessToken * System.Text.Json.JsonElement -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
Protected Overridable Function CreateTicketAsync (identity As ClaimsIdentity, properties As AuthenticationProperties, token As AccessToken, user As JsonElement) As Task(Of AuthenticationTicket)
Parametry
- identity
- ClaimsIdentity
Element ClaimsIdentity.
- properties
- AuthenticationProperties
Element AuthenticationProperties.
- token
- AccessToken
Element AccessToken.
- user
- JsonElement
Element JsonElement dla użytkownika.
Zwraca
Element AuthenticationTicket.