Practic Passkey - v1.0.0
    Preparing search index...

    Class PasskeyRefusal

    A refused action, with the status, code and message the browser receives.

    Hierarchy

    • Error
      • PasskeyRefusal
    Index
    • Parameters

      • status: number

        HTTP status of the result.

      • code:
            | "invalid-request"
            | "unknown-app"
            | "origin-not-allowed"
            | "code-invalid"
            | "code-expired"
            | "not-allowed"
            | "challenge-expired"
            | "verification-failed"
            | "passkey-unknown"
            | "account-unknown"
            | "conflict"
            | "session-required"
            | "last-passkey"
            | "rate-limited"
            | "outbox-disabled"
            | "protocol-mismatch"
            | "server-error"

        Why, for code that reacts to it.

      • message: string

        Explanation shown to the user.

      • OptionalretryAfter: number

        Seconds until a rate-limited request may be sent again.

      • OptionalfailedAddress: string

        Account a failed verification was for, which counts against its limit.

      Returns PasskeyRefusal

    code:
        | "invalid-request"
        | "unknown-app"
        | "origin-not-allowed"
        | "code-invalid"
        | "code-expired"
        | "not-allowed"
        | "challenge-expired"
        | "verification-failed"
        | "passkey-unknown"
        | "account-unknown"
        | "conflict"
        | "session-required"
        | "last-passkey"
        | "rate-limited"
        | "outbox-disabled"
        | "protocol-mismatch"
        | "server-error"

    Why, for code that reacts to it.

    failedAddress?: string

    Account a failed verification was for, which counts against its limit.

    retryAfter?: number

    Seconds until a rate-limited request may be sent again.

    status: number

    HTTP status of the result.