Udostępnij za pośrednictwem


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

Definicja

Przeciążenia

FindUserLoginAsync(String, String, CancellationToken)

Zwróć identyfikator logowania użytkownika z dostawcą, providerKey, jeśli istnieje.

FindUserLoginAsync(TKey, String, String, CancellationToken)

Zwróć identyfikator logowania użytkownika z pasującym identyfikatorem userId, dostawcą, kluczem dostawcy, jeśli istnieje.

FindUserLoginAsync(String, String, CancellationToken)

Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs

Zwróć identyfikator logowania użytkownika z dostawcą, providerKey, jeśli istnieje.

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

Nazwa dostawcy logowania.

providerKey
String

Klucz dostarczony przez element loginProvider w celu zidentyfikowania użytkownika.

cancellationToken
CancellationToken

Używane CancellationToken do propagowania powiadomień, które należy anulować operacji.

Zwraca

Task<TUserLogin>

Identyfikator logowania użytkownika, jeśli istnieje.

Dotyczy

FindUserLoginAsync(TKey, String, String, CancellationToken)

Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs
Źródło:
UserStoreBase.cs

Zwróć identyfikator logowania użytkownika z pasującym identyfikatorem userId, dostawcą, kluczem dostawcy, jeśli istnieje.

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

Identyfikator użytkownika.

loginProvider
String

Nazwa dostawcy logowania.

providerKey
String

Klucz dostarczony przez element loginProvider w celu zidentyfikowania użytkownika.

cancellationToken
CancellationToken

Używane CancellationToken do propagowania powiadomień, które należy anulować operacji.

Zwraca

Task<TUserLogin>

Identyfikator logowania użytkownika, jeśli istnieje.

Dotyczy