Lenguaje

ITicketStore.StoreAsync Método

Definición

Sobrecargas

Nombre Description
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, HttpContext, CancellationToken)

Almacene el vale de identidad y devuelva la clave asociada.

StoreAsync(AuthenticationTicket)

Source:
ITicketStore.cs

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

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

Se aplica a

StoreAsync(AuthenticationTicket, CancellationToken)

Source:
ITicketStore.cs

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

CancellationToken que se usa para propagar las notificaciones que se deben cancelar en la operación.

Devoluciones

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

Se aplica a

StoreAsync(AuthenticationTicket, HttpContext, CancellationToken)

Source:
ITicketStore.cs

Almacene el vale de identidad y devuelva la clave asociada.

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

Parámetros

ticket
AuthenticationTicket

Información de identidad que se va a almacenar.

httpContext
HttpContext

HttpContext asociado a la solicitud actual.

cancellationToken
CancellationToken

CancellationToken que se usa para propagar las notificaciones que se deben cancelar en la operación.

Devoluciones

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

Se aplica a