TwitterHandler.CreateTicketAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JObject) | |
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JsonElement) |
Crea un oggetto AuthenticationTicket dall'oggetto specificato |
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JObject)
- Origine:
- TwitterHandler.cs
- Origine:
- 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)
Parametri
- identity
- ClaimsIdentity
- properties
- AuthenticationProperties
- token
- AccessToken
- user
- Newtonsoft.Json.Linq.JObject
Restituisce
Si applica a
CreateTicketAsync(ClaimsIdentity, AuthenticationProperties, AccessToken, JsonElement)
- Origine:
- TwitterHandler.cs
- Origine:
- TwitterHandler.cs
- Origine:
- TwitterHandler.cs
- Origine:
- TwitterHandler.cs
- Origine:
- TwitterHandler.cs
- Origine:
- TwitterHandler.cs
- Origine:
- TwitterHandler.cs
Crea un oggetto AuthenticationTicket dall'oggetto specificato token
.
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)
Parametri
- identity
- ClaimsIdentity
Oggetto ClaimsIdentity.
- properties
- AuthenticationProperties
Oggetto AuthenticationProperties.
- token
- AccessToken
Oggetto AccessToken.
- user
- JsonElement
Oggetto JsonElement per l'utente.
Restituisce
Oggetto AuthenticationTicket.