Method SignalUnknownCredentialAsync
SignalUnknownCredentialAsync(PasskeyCredential, string, CancellationToken)
Tells the browser, and through it the password manager, that a passkey is not registered with the relying party, so that it can stop offering the passkey. Does nothing if the browser can't be told, and ignores failures.
Declaration
Task SignalUnknownCredentialAsync(PasskeyCredential credential, string requestOptionsJson, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| PasskeyCredential | credential | The credential of the passkey, as returned by GetCredentialAsync(string, CancellationToken). |
| string | requestOptionsJson | The request options that the credential was returned for. |
| CancellationToken | cancellationToken | A token to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task |
Remarks
The service reports a passkey that is not registered with NotRegistered. A passkey that is registered to another user, which the service reports with WrongAccount, is not unknown to the relying party.
Exceptions
| Type | Condition |
|---|---|
| OperationCanceledException |
|