interface AuthInterceptorOptions {
    apiKeyId: string;
    apiKeySecret: string;
    debug?: boolean;
    expiresIn?: number;
    source?: string;
    sourceVersion?: string;
    walletSecret?: string;
}

Properties

apiKeyId: string

The API key ID

Examples: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' 'organizations/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apiKeys/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

apiKeySecret: string

The API key secret

Examples: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==' (Edwards key (Ed25519)) '-----BEGIN EC PRIVATE KEY-----\n...\n...\n...==\n-----END EC PRIVATE KEY-----\n' (EC key (ES256))

debug?: boolean

Whether to log request/response details

expiresIn?: number

Optional expiration time in seconds (defaults to 120)

source?: string

The source of the request

sourceVersion?: string

The version of the source of the request

walletSecret?: string

The Wallet Secret