antlion-lacewing - v2.0.1
    Preparing search index...

    Type Alias AntlionErrorCode

    AntlionErrorCode:
        | "invalid-options"
        | "invalid-request"
        | "missing-authorization"
        | "bearer-scheme"
        | "duplicate-authorization"
        | "malformed-authorization"
        | "missing-proof"
        | "duplicate-proof"
        | "malformed-proof"
        | "proof-typ"
        | "proof-algorithm"
        | "proof-key"
        | "htm-mismatch"
        | "htu-mismatch"
        | "proof-signature"
        | "token-invalid"
        | "token-unbound"
        | "jkt-mismatch"
        | "ath-mismatch"
        | "proof-expired"
        | "proof-in-future"
        | "nonce-missing"
        | "nonce-invalid"
        | "replayed"
        | "replay-store-failed"
        | "replay-store-full"

    Why Antlion refused.

    invalid-options and invalid-request are bugs in the calling code (a profile or store built wrong, a request object that is not a request) and carry no DPoPRefusal; answer them with a 500. replay-store-full comes from SingleProcessReplayStore and reaches you as the cause of a replay-store-failed, as does a replay-store-failed from the Redis or Postgres store when its database replies something it can't read. Every other code is a refused request, and the error's refusal says what to send back.