Share via


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

Definition

Overloads

FindUserLoginAsync(TKey, String, String, CancellationToken)

Return a user login with the matching userId, provider, providerKey if it exists.

FindUserLoginAsync(String, String, CancellationToken)

Return a user login with provider, providerKey if it exists.

FindUserLoginAsync(TKey, String, String, CancellationToken)

Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs

Return a user login with the matching userId, provider, providerKey if it exists.

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)

Parameters

userId
TKey

The user's id.

loginProvider
String

The login provider name.

providerKey
String

The key provided by the loginProvider to identify a user.

cancellationToken
CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

Task<TUserLogin>

The user login if it exists.

Applies to

FindUserLoginAsync(String, String, CancellationToken)

Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs
Source:
UserOnlyStore.cs

Return a user login with provider, providerKey if it exists.

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)

Parameters

loginProvider
String

The login provider name.

providerKey
String

The key provided by the loginProvider to identify a user.

cancellationToken
CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

Task<TUserLogin>

The user login if it exists.

Applies to