UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.FindUserLoginAsync メソッド

定義

オーバーロード

FindUserLoginAsync(String, String, CancellationToken)

providerKey が存在する場合は、providerKey を使用してユーザー ログインを返します。

FindUserLoginAsync(TKey, String, String, CancellationToken)

一致する userId、provider、providerKey が存在する場合は、ユーザー ログインを返します。

FindUserLoginAsync(String, String, CancellationToken)

providerKey が存在する場合は、providerKey を使用してユーザー ログインを返します。

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)

パラメーター

loginProvider
String

ログイン プロバイダー名。

providerKey
String

ユーザーを識別するために によって loginProvider 提供されるキー。

cancellationToken
CancellationToken

この操作を取り消す必要があることを示す通知を伝達するために使用する CancellationToken

戻り値

Task<TUserLogin>

ユーザーが存在する場合はログインします。

適用対象

FindUserLoginAsync(TKey, String, String, CancellationToken)

一致する userId、provider、providerKey が存在する場合は、ユーザー ログインを返します。

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)

パラメーター

userId
TKey

ユーザーの ID。

loginProvider
String

ログイン プロバイダー名。

providerKey
String

ユーザーを識別するために によって loginProvider 提供されるキー。

cancellationToken
CancellationToken

この操作を取り消す必要があることを示す通知を伝達するために使用する CancellationToken

戻り値

Task<TUserLogin>

ユーザーが存在する場合はログインします。

適用対象