IUserPasskeyStore<TUser>.AddOrUpdatePasskeyAsync 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.
Adds a new passkey credential in the store for the specified user,
or updates an existing passkey.
public System.Threading.Tasks.Task AddOrUpdatePasskeyAsync(TUser user, Microsoft.AspNetCore.Identity.UserPasskeyInfo passkey, System.Threading.CancellationToken cancellationToken);abstract member AddOrUpdatePasskeyAsync : 'User * Microsoft.AspNetCore.Identity.UserPasskeyInfo * System.Threading.CancellationToken -> System.Threading.Tasks.TaskPublic Function AddOrUpdatePasskeyAsync (user As TUser, passkey As UserPasskeyInfo, cancellationToken As CancellationToken) As TaskParameters
- user
- TUser
The user to create the passkey credential for.
- passkey
- UserPasskeyInfo
The passkey to add.
- cancellationToken
- CancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Returns
The Task that represents the asynchronous operation.