Sprache

ITicketStore.StoreAsync Methode

Definition

Überlädt

Name Beschreibung
StoreAsync(AuthenticationTicket)

Speichern Sie das Identitätsticket, und geben Sie den zugehörigen Schlüssel zurück.

StoreAsync(AuthenticationTicket, CancellationToken)

Speichern Sie das Identitätsticket, und geben Sie den zugehörigen Schlüssel zurück.

StoreAsync(AuthenticationTicket, HttpContext, CancellationToken)

Speichern Sie das Identitätsticket, und geben Sie den zugehörigen Schlüssel zurück.

StoreAsync(AuthenticationTicket)

Quelle:
ITicketStore.cs

Speichern Sie das Identitätsticket, und geben Sie den zugehörigen Schlüssel zurück.

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)

Parameter

ticket
AuthenticationTicket

Die zu speichernden Identitätsinformationen.

Gibt zurück

Der Schlüssel, der zum späteren Abrufen der Identität verwendet werden kann.

Gilt für:

StoreAsync(AuthenticationTicket, CancellationToken)

Quelle:
ITicketStore.cs

Speichern Sie das Identitätsticket, und geben Sie den zugehörigen Schlüssel zurück.

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)

Parameter

ticket
AuthenticationTicket

Die zu speichernden Identitätsinformationen.

cancellationToken
CancellationToken

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

Gibt zurück

Der Schlüssel, der zum späteren Abrufen der Identität verwendet werden kann.

Gilt für:

StoreAsync(AuthenticationTicket, HttpContext, CancellationToken)

Quelle:
ITicketStore.cs

Speichern Sie das Identitätsticket, und geben Sie den zugehörigen Schlüssel zurück.

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)

Parameter

ticket
AuthenticationTicket

Die zu speichernden Identitätsinformationen.

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

Der Schlüssel, der zum späteren Abrufen der Identität verwendet werden kann.

Gilt für: