UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>.FindUserLoginAsync 메서드

정의

오버로드

FindUserLoginAsync(String, String, CancellationToken)

공급자가 있는 경우 providerKey를 사용하여 사용자 로그인을 반환합니다.

FindUserLoginAsync(TKey, String, String, CancellationToken)

일치하는 userId, provider, providerKey가 있는 경우 사용자 로그인을 반환합니다.

FindUserLoginAsync(String, String, CancellationToken)

공급자가 있는 경우 providerKey를 사용하여 사용자 로그인을 반환합니다.

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)

매개 변수

loginProvider
String

로그인 공급자 이름입니다.

providerKey
String

에서 사용자를 식별하기 위해 제공하는 loginProvider 키입니다.

cancellationToken
CancellationToken

작업을 취소해야 하는 알림을 전파하는 데 사용하는 CancellationToken입니다.

반환

Task<TUserLogin>

사용자 로그인(있는 경우)입니다.

적용 대상

FindUserLoginAsync(TKey, String, String, CancellationToken)

일치하는 userId, provider, providerKey가 있는 경우 사용자 로그인을 반환합니다.

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)

매개 변수

userId
TKey

사용자의 ID입니다.

loginProvider
String

로그인 공급자 이름입니다.

providerKey
String

에서 사용자를 식별하기 위해 제공하는 loginProvider 키입니다.

cancellationToken
CancellationToken

작업을 취소해야 하는 알림을 전파하는 데 사용하는 CancellationToken입니다.

반환

Task<TUserLogin>

사용자 로그인(있는 경우)입니다.

적용 대상