Sprache

ITicketStore.RetrieveAsync Methode

Definition

Überlädt

Name Beschreibung
RetrieveAsync(String)

Ruft eine Identität aus dem Speicher für den angegebenen Schlüssel ab.

RetrieveAsync(String, CancellationToken)

Ruft eine Identität aus dem Speicher für den angegebenen Schlüssel ab.

RetrieveAsync(String, HttpContext, CancellationToken)

Ruft eine Identität aus dem Speicher für den angegebenen Schlüssel ab.

RetrieveAsync(String)

Quelle:
ITicketStore.cs

Ruft eine Identität aus dem Speicher für den angegebenen Schlüssel ab.

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)

Parameter

key
String

Der Schlüssel, der der Identität zugeordnet ist.

Gibt zurück

Die identität, die dem angegebenen Schlüssel zugeordnet ist oder null nicht gefunden wurde.

Gilt für:

RetrieveAsync(String, CancellationToken)

Quelle:
ITicketStore.cs

Ruft eine Identität aus dem Speicher für den angegebenen Schlüssel ab.

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)

Parameter

key
String

Der Schlüssel, der der Identität zugeordnet ist.

cancellationToken
CancellationToken

Die CancellationToken zum Verteilen von Benachrichtigungen verwendete Benachrichtigungen, die der Vorgang abgebrochen werden soll.

Gibt zurück

Die identität, die dem angegebenen Schlüssel zugeordnet ist oder null nicht gefunden wurde.

Gilt für:

RetrieveAsync(String, HttpContext, CancellationToken)

Quelle:
ITicketStore.cs

Ruft eine Identität aus dem Speicher für den angegebenen Schlüssel ab.

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)

Parameter

key
String

Der Schlüssel, der der Identität zugeordnet ist.

httpContext
HttpContext

Der HttpContext aktuellen Anforderung zugeordnet.

cancellationToken
CancellationToken

Die CancellationToken zum Verteilen von Benachrichtigungen verwendete Benachrichtigungen, die der Vorgang abgebrochen werden soll.

Gibt zurück

Die identität, die dem angegebenen Schlüssel zugeordnet ist oder null nicht gefunden wurde.

Gilt für: