Udostępnij za pośrednictwem


UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken>.FindUserLoginAsync Metoda

Definicja

Przeciążenia

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)

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

FindUserLoginAsync(TKey, String, String, CancellationToken)

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

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

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)

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

FindUserLoginAsync(String, String, CancellationToken)

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

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

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)

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