ApplicationUserStoreTUserFindByLoginAsync Method |
Retrieves the user associated with the specified login provider and login provider key.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntaxpublic Task<TUser> FindByLoginAsync(
string loginProvider,
string providerKey,
CancellationToken cancellationToken
)
Parameters
- loginProvider
- Type: SystemString
The login provider who provided the providerKey. - providerKey
- Type: SystemString
The key provided by the loginProvider to identify a user. - cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Return Value
Type:
TaskTUser
The
TaskTResult for the asynchronous operation, containing the user, if any which matched the specified login provider and key.
Implements
IUserLoginStore.FindByLoginAsync(String, String, CancellationToken)
See Also