Click or drag to resize
ApplicationUserStoreTUserFindByLoginAsync Method
Retrieves the user associated with the specified login provider and login provider key.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public 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