UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>.FindUserLoginAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
FindUserLoginAsync(String, String, CancellationToken) |
Restituire un account di accesso utente con provider, providerKey se esiste. |
FindUserLoginAsync(TKey, String, String, CancellationToken) |
Restituisce un account di accesso utente con l'id utente, il provider, providerKey, se presente. |
FindUserLoginAsync(String, String, CancellationToken)
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
Restituire un account di accesso utente con provider, providerKey se esiste.
protected:
override System::Threading::Tasks::Task<TUserLogin> ^ FindUserLoginAsync(System::String ^ loginProvider, System::String ^ providerKey, System::Threading::CancellationToken cancellationToken);
protected override System.Threading.Tasks.Task<TUserLogin> FindUserLoginAsync (string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
protected override System.Threading.Tasks.Task<TUserLogin?> FindUserLoginAsync (string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
override this.FindUserLoginAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'UserLogin (requires 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin))>
Protected Overrides 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 dall'oggetto loginProvider
per identificare un utente.
- cancellationToken
- CancellationToken
Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.
Restituisce
L'account di accesso dell'utente se esiste.
Si applica a
FindUserLoginAsync(TKey, String, String, CancellationToken)
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
- Origine:
- UserStore.cs
Restituisce un account di accesso utente con l'id utente, il provider, providerKey, se presente.
protected:
override System::Threading::Tasks::Task<TUserLogin> ^ FindUserLoginAsync(TKey userId, System::String ^ loginProvider, System::String ^ providerKey, System::Threading::CancellationToken cancellationToken);
protected override System.Threading.Tasks.Task<TUserLogin> FindUserLoginAsync (TKey userId, string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
protected override System.Threading.Tasks.Task<TUserLogin?> FindUserLoginAsync (TKey userId, string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
override this.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 Overrides 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 dall'oggetto loginProvider
per identificare un utente.
- cancellationToken
- CancellationToken
Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.
Restituisce
L'account di accesso dell'utente se esiste.