Astrada TypeScript SDK
    Preparing search index...

    Interface StaticAccessToken

    Use a token you already have instead of logging in, such as against a mock server.

    interface StaticAccessToken {
        accessToken: string | (() => string | Promise<string>);
        accountId?: string;
        clientId?: string;
        clientSecret?: string;
    }
    Index
    accessToken: string | (() => string | Promise<string>)

    The access token (without "Bearer "), or a function that returns one.

    accountId?: string
    clientId?: string
    clientSecret?: string