Share via


UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken,TUserPasskey>.RemovePasskeyAsync Method

Definition

Removes a passkey credential from the specified user.

public virtual System.Threading.Tasks.Task RemovePasskeyAsync(TUser user, byte[] credentialId, System.Threading.CancellationToken cancellationToken);
abstract member RemovePasskeyAsync : 'User * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemovePasskeyAsync : 'User * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemovePasskeyAsync (user As TUser, credentialId As Byte(), cancellationToken As CancellationToken) As Task

Parameters

user
TUser

The user to remove the passkey credential from.

credentialId
Byte[]

The credential id of the passkey to remove.

cancellationToken
CancellationToken

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

Returns

The Task that represents the asynchronous operation.

Implements

Applies to