ITicketStore.StoreAsync Método

Definição

Sobrecargas

StoreAsync(AuthenticationTicket)

Armazene o tíquete de identidade e retorne a chave associada.

StoreAsync(AuthenticationTicket, CancellationToken)

Armazene o tíquete de identidade e retorne a chave associada.

StoreAsync(AuthenticationTicket, HttpContext, CancellationToken)

Armazene o tíquete de identidade e retorne a chave associada.

StoreAsync(AuthenticationTicket)

Armazene o tíquete de identidade e retorne a chave associada.

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

As informações de identidade a serem armazenadas.

Retornos

A chave que pode ser usada para recuperar a identidade posteriormente.

Aplica-se a

StoreAsync(AuthenticationTicket, CancellationToken)

Armazene o tíquete de identidade e retorne a chave associada.

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

As informações de identidade a serem armazenadas.

cancellationToken
CancellationToken

O CancellationToken usado para propagar notificações de que a operação deve ser cancelada.

Retornos

A chave que pode ser usada para recuperar a identidade posteriormente.

Aplica-se a

StoreAsync(AuthenticationTicket, HttpContext, CancellationToken)

Armazene o tíquete de identidade e retorne a chave associada.

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

As informações de identidade a serem armazenadas.

httpContext
HttpContext

O HttpContext associado à solicitação atual.

cancellationToken
CancellationToken

O CancellationToken usado para propagar notificações de que a operação deve ser cancelada.

Retornos

A chave que pode ser usada para recuperar a identidade posteriormente.

Aplica-se a