Share via


IUserLoginStore<TUser>.RemoveLoginAsync Method

Definition

Attempts to remove the provided login information from the specified user. and returns a flag indicating whether the removal succeed or not.

public:
 System::Threading::Tasks::Task ^ RemoveLoginAsync(TUser user, System::String ^ loginProvider, System::String ^ providerKey, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task RemoveLoginAsync (TUser user, string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken);
abstract member RemoveLoginAsync : 'User * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveLoginAsync (user As TUser, loginProvider As String, providerKey As String, cancellationToken As CancellationToken) As Task

Parameters

user
TUser

The user to remove the login information from.

loginProvider
String

The login provide whose information should be removed.

providerKey
String

The key given by the external login provider for the specified user.

cancellationToken
CancellationToken

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

Returns

The Task that represents the asynchronous operation.

Applies to