HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    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. On WebAssembly, this uses the WebAuthn Signal API in browsers that have it. Does nothing on other platforms or in other browsers, and ignores failures.

    Declaration
    public 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, which name the relying party.

    CancellationToken cancellationToken

    A token to cancel the operation.

    Returns
    Type Description
    Task
    Implements
    IPasskeyAuthenticator.SignalUnknownCredentialAsync(PasskeyCredential, string, CancellationToken)
    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
    ArgumentException

    requestOptionsJson is empty.

    OperationCanceledException

    cancellationToken was cancelled.

    © Singulink. All rights reserved.