@koduhai/mcp-kit
    Preparing search index...

    Interface ApiKeyAuthOptions

    interface ApiKeyAuthOptions {
        header?: string;
        key: string;
        scheme?: string | null;
    }
    Index

    Properties

    Properties

    header?: string

    Header to send it in. Default Authorization.

    key: string

    The API key / token value.

    scheme?: string | null

    Scheme prefix for the value, e.g. Bearer -> Authorization: Bearer <key>. Defaults to Bearer when the header is Authorization, otherwise no prefix (e.g. X-Api-Key: <key>). Pass null to force a raw value.