@honua/sdk-js
    Preparing search index...

    Interface HonuaAuthCredentials

    interface HonuaAuthCredentials {
        apiKey?: string;
        authorization?: string;
        bearerToken?: string;
        expiresAt?: string | number | Date;
    }
    Index

    Properties

    apiKey?: string

    API key sent as X-API-Key. Useful for server key rotation.

    authorization?: string

    Full Authorization header value for non-bearer schemes.

    bearerToken?: string

    Bearer token sent as Authorization: Bearer <token>.

    expiresAt?: string | number | Date

    Expiry time. Number values are epoch milliseconds.