ApplicationUserStoreTUserRemoveLoginAsync Method |
Attempts to remove the provided login information from the specified user.
and returns a flag indicating whether the removal succeed or not.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntaxpublic Task RemoveLoginAsync(
TUser user,
string loginProvider,
string providerKey,
CancellationToken cancellationToken
)
Parameters
- user
- Type: TUser
The user to remove the login information from. - loginProvider
- Type: SystemString
The login provide whose information should be removed. - providerKey
- Type: SystemString
The key given by the external login provider for the specified user. - cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Return Value
Type:
Task
The
Task that represents the asynchronous operation.
Implements
IUserLoginStore.RemoveLoginAsync(UTP, String, String, CancellationToken)
ExceptionsException | Condition |
---|
ArgumentNullException | user is null. |
See Also