Method UpdateAsync
UpdateAsync(PasskeyRecord, DateTime, CancellationToken)
Saves the state a passkey reported when it was used to sign in or verify a user: its SignCount and IsBackedUp values, and the time it was used.
Declaration
Task UpdateAsync(PasskeyRecord passkey, DateTime usedUtc, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| PasskeyRecord | passkey | The passkey with its updated values. Its CredentialId identifies the passkey to update. |
| DateTime | usedUtc | The date and time when the passkey was used (in UTC). |
| CancellationToken | cancellationToken | A token to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task |