@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface WwwAuthenticateDiagnostics

    Normalized WWW-Authenticate challenge. The raw header is never exposed.

    interface WwwAuthenticateDiagnostics {
        scheme: string;
        error?: string;
        realm?: string;
    }
    Index
    scheme: string

    Lowercased auth scheme, e.g. signature or bearer. A scheme outside the IANA registry is kept only when it is at most 32 characters and overlaps no credential-bearing request header value; otherwise other.

    error?: string

    Challenge error code, present only when it is a recognized AdCP request-signing code or an RFC 6750 Bearer code. Other values are omitted.

    realm?: string

    Challenge realm, present only when it is a token of at most 128 characters (letters, digits, ., _, :, /, @, -) that does not overlap any credential-bearing request header value. On AuthenticationRequiredError it is non-enumerable, like responseBody: read it directly; spread and JSON serialization omit it.