UserManager<TUser>.RemovePasskeyAsync(TUser, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a passkey credential from a user.
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> RemovePasskeyAsync(TUser user, byte[] credentialId);
abstract member RemovePasskeyAsync : 'User * byte[] -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.RemovePasskeyAsync : 'User * byte[] -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function RemovePasskeyAsync (user As TUser, credentialId As Byte()) As Task(Of IdentityResult)
Parameters
- user
- TUser
The user whose passkey should be removed.
- credentialId
- Byte[]
The credential id of the passkey to remove.
Returns
The Task that represents the asynchronous operation, containing the IdentityResult of the operation.