UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.FindUserLoginAsync Yöntem

Tanım

Aşırı Yüklemeler

FindUserLoginAsync(String, String, CancellationToken)

Varsa provider, providerKey ile kullanıcı oturum açma bilgilerini döndürür.

FindUserLoginAsync(TKey, String, String, CancellationToken)

Varsa eşleşen userId, provider, providerKey ile bir kullanıcı oturum açma bilgisi döndürür.

FindUserLoginAsync(String, String, CancellationToken)

Varsa provider, providerKey ile kullanıcı oturum açma bilgilerini döndürür.

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)

Parametreler

loginProvider
String

Oturum açma sağlayıcısı adı.

providerKey
String

Bir kullanıcıyı tanımlamak için tarafından loginProvider sağlanan anahtar.

cancellationToken
CancellationToken

İşlemin CancellationToken iptal edilmesi gerektiğine ilişkin bildirimleri yaymak için kullanılır.

Döndürülenler

Task<TUserLogin>

Kullanıcı varsa oturum açın.

Şunlara uygulanır

FindUserLoginAsync(TKey, String, String, CancellationToken)

Varsa eşleşen userId, provider, providerKey ile bir kullanıcı oturum açma bilgisi döndürür.

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)

Parametreler

userId
TKey

Kullanıcının kimliği.

loginProvider
String

Oturum açma sağlayıcısı adı.

providerKey
String

Bir kullanıcıyı tanımlamak için tarafından loginProvider sağlanan anahtar.

cancellationToken
CancellationToken

İşlemin CancellationToken iptal edilmesi gerektiğine ilişkin bildirimleri yaymak için kullanılır.

Döndürülenler

Task<TUserLogin>

Kullanıcı varsa oturum açın.

Şunlara uygulanır