ITicketStore.StoreAsync Método

Definición

Sobrecargas

StoreAsync(AuthenticationTicket)

Almacene el vale de identidad y devuelva la clave asociada.

StoreAsync(AuthenticationTicket, CancellationToken)

Almacene el vale de identidad y devuelva la clave asociada.

StoreAsync(AuthenticationTicket)

Almacene el vale de identidad y devuelva la clave asociada.

public:
 System::Threading::Tasks::Task<System::String ^> ^ StoreAsync(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public System.Threading.Tasks.Task<string> StoreAsync (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
abstract member StoreAsync : Microsoft.AspNetCore.Authentication.AuthenticationTicket -> System.Threading.Tasks.Task<string>
Public Function StoreAsync (ticket As AuthenticationTicket) As Task(Of String)

Parámetros

ticket
AuthenticationTicket

Información de identidad que se va a almacenar.

Devoluciones

Task<String>

Clave que se puede usar para recuperar la identidad más adelante.

Se aplica a

StoreAsync(AuthenticationTicket, CancellationToken)

Almacene el vale de identidad y devuelva la clave asociada.

public virtual System.Threading.Tasks.Task<string> StoreAsync (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, System.Threading.CancellationToken cancellationToken);
abstract member StoreAsync : Microsoft.AspNetCore.Authentication.AuthenticationTicket * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.StoreAsync : Microsoft.AspNetCore.Authentication.AuthenticationTicket * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function StoreAsync (ticket As AuthenticationTicket, cancellationToken As CancellationToken) As Task(Of String)

Parámetros

ticket
AuthenticationTicket

Información de identidad que se va a almacenar.

cancellationToken
CancellationToken

El objeto CancellationToken que se usa para propagar notificaciones de que se debe cancelar la operación.

Devoluciones

Task<String>

Clave que se puede usar para recuperar la identidad más adelante.

Se aplica a