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

Definice

Přetížení

FindUserLoginAsync(String, String, CancellationToken)

Pokud existuje, vraťte přihlášení uživatele s poskytovatelem, providerKey.

FindUserLoginAsync(TKey, String, String, CancellationToken)

Pokud existuje, vraťte přihlášení uživatele pomocí odpovídajícího id uživatele, zprostředkovatele, providerKey.

FindUserLoginAsync(String, String, CancellationToken)

Pokud existuje, vraťte přihlášení uživatele s poskytovatelem, providerKey.

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)

Parametry

loginProvider
String

Název zprostředkovatele přihlášení.

providerKey
String

Klíč poskytnutý uživatelem loginProvider .

cancellationToken
CancellationToken

Používá CancellationToken se k šíření oznámení, že by měla být operace zrušena.

Návraty

Task<TUserLogin>

Uživatel se přihlásí, pokud existuje.

Platí pro

FindUserLoginAsync(TKey, String, String, CancellationToken)

Pokud existuje, vraťte přihlášení uživatele pomocí odpovídajícího id uživatele, zprostředkovatele, providerKey.

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)

Parametry

userId
TKey

ID uživatele.

loginProvider
String

Název zprostředkovatele přihlášení.

providerKey
String

Klíč poskytnutý uživatelem loginProvider .

cancellationToken
CancellationToken

Používá CancellationToken se k šíření oznámení, že by měla být operace zrušena.

Návraty

Task<TUserLogin>

Uživatel se přihlásí, pokud existuje.

Platí pro