UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.FindUserLoginAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FindUserLoginAsync(String, String, CancellationToken) |
Return a user login with provider, providerKey if it exists. |
FindUserLoginAsync(TKey, String, String, CancellationToken) |
Return a user login with the matching userId, provider, providerKey if it exists. |
FindUserLoginAsync(String, String, CancellationToken)
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
Return a user login with provider, providerKey if it exists.
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)
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
The user login if it exists.
Applies to
FindUserLoginAsync(TKey, String, String, CancellationToken)
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
- Source:
- UserStoreBase.cs
Return a user login with the matching userId, provider, providerKey if it exists.
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)
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
The user login if it exists.