Freigeben über


UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.FindUserLoginAsync Methode

Definition

Überlädt

FindUserLoginAsync(String, String, CancellationToken)

Geben Sie eine Benutzeranmeldung mit dem Anbieter provider( providerKey) zurück, falls vorhanden.

FindUserLoginAsync(TKey, String, String, CancellationToken)

Geben Sie eine Benutzeranmeldung mit der übereinstimmenden userId, provider und providerKey zurück, sofern vorhanden.

FindUserLoginAsync(String, String, CancellationToken)

Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs

Geben Sie eine Benutzeranmeldung mit dem Anbieter provider( providerKey) zurück, falls vorhanden.

protected:
 abstract System::Threading::Tasks::Task<TUserLogin> ^ FindUserLoginAsync(System::String ^ loginProvider, System::String ^ providerKey, System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<TUserLogin> FindUserLoginAsync (string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<TUserLogin?> FindUserLoginAsync (string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
abstract member FindUserLoginAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'UserLogin (requires 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin))>
Protected MustOverride Function FindUserLoginAsync (loginProvider As String, providerKey As String, cancellationToken As CancellationToken) As Task(Of TUserLogin)

Parameter

loginProvider
String

Der Name des Anmeldeanbieters.

providerKey
String

Der schlüssel, der von bereitgestellt loginProvider wird, um einen Benutzer zu identifizieren.

cancellationToken
CancellationToken

Die CancellationToken-Struktur, mit der Benachrichtigungen verteilt werden, dass der Vorgang abgebrochen werden muss.

Gibt zurück

Task<TUserLogin>

Die Benutzeranmeldung, sofern vorhanden.

Gilt für:

FindUserLoginAsync(TKey, String, String, CancellationToken)

Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs
Quelle:
UserStoreBase.cs

Geben Sie eine Benutzeranmeldung mit der übereinstimmenden userId, provider und providerKey zurück, sofern vorhanden.

protected:
 abstract System::Threading::Tasks::Task<TUserLogin> ^ FindUserLoginAsync(TKey userId, System::String ^ loginProvider, System::String ^ providerKey, System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<TUserLogin> FindUserLoginAsync (TKey userId, string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<TUserLogin?> FindUserLoginAsync (TKey userId, string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
abstract member FindUserLoginAsync : 'Key * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'UserLogin (requires 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin))>
Protected MustOverride Function FindUserLoginAsync (userId As TKey, loginProvider As String, providerKey As String, cancellationToken As CancellationToken) As Task(Of TUserLogin)

Parameter

userId
TKey

Die Id des Benutzers.

loginProvider
String

Der Name des Anmeldeanbieters.

providerKey
String

Der schlüssel, der von bereitgestellt loginProvider wird, um einen Benutzer zu identifizieren.

cancellationToken
CancellationToken

Die CancellationToken-Struktur, mit der Benachrichtigungen verteilt werden, dass der Vorgang abgebrochen werden muss.

Gibt zurück

Task<TUserLogin>

Die Benutzeranmeldung, sofern vorhanden.

Gilt für: