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

Definizione

Overload

FindUserLoginAsync(String, String, CancellationToken)

Restituisce un account di accesso utente con provider, providerKey, se esistente.

FindUserLoginAsync(TKey, String, String, CancellationToken)

Restituisce un account di accesso utente con l'id utente corrispondente, il provider, providerKey, se esistente.

FindUserLoginAsync(String, String, CancellationToken)

Restituisce un account di accesso utente con provider, providerKey, se esistente.

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)

Parametri

loginProvider
String

Nome del provider di accesso.

providerKey
String

Chiave fornita da loginProvider per identificare un utente.

cancellationToken
CancellationToken

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

Restituisce

Task<TUserLogin>

L'account di accesso dell'utente, se esistente.

Si applica a

FindUserLoginAsync(TKey, String, String, CancellationToken)

Restituisce un account di accesso utente con l'id utente corrispondente, il provider, providerKey, se esistente.

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)

Parametri

userId
TKey

ID dell'utente.

loginProvider
String

Nome del provider di accesso.

providerKey
String

Chiave fornita da loginProvider per identificare un utente.

cancellationToken
CancellationToken

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

Restituisce

Task<TUserLogin>

L'account di accesso dell'utente, se esistente.

Si applica a