Condividi tramite


ITicketStore.RetrieveAsync Metodo

Definizione

Overload

RetrieveAsync(String)

Recupera un'identità dall'archivio per la chiave specificata.

RetrieveAsync(String, CancellationToken)

Recupera un'identità dall'archivio per la chiave specificata.

RetrieveAsync(String, HttpContext, CancellationToken)

Recupera un'identità dall'archivio per la chiave specificata.

RetrieveAsync(String)

Origine:
ITicketStore.cs

Recupera un'identità dall'archivio per la chiave specificata.

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

Parametri

key
String

Chiave associata all'identità.

Restituisce

Identità associata alla chiave specificata o null se non trovata.

Si applica a

RetrieveAsync(String, CancellationToken)

Origine:
ITicketStore.cs

Recupera un'identità dall'archivio per la chiave specificata.

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

Parametri

key
String

Chiave associata all'identità.

cancellationToken
CancellationToken

Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.

Restituisce

Identità associata alla chiave specificata o null se non trovata.

Si applica a

RetrieveAsync(String, HttpContext, CancellationToken)

Origine:
ITicketStore.cs

Recupera un'identità dall'archivio per la chiave specificata.

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

Parametri

key
String

Chiave associata all'identità.

httpContext
HttpContext

Oggetto HttpContext associato alla richiesta corrente.

cancellationToken
CancellationToken

Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.

Restituisce

Identità associata alla chiave specificata o null se non trovata.

Si applica a