Type alias BasePayloadType

BasePayloadType: {
    apiEndpoint: string | URL;
    apiToken: string;
    timeout?: number;
}

Represents the inferred TypeScript type from BasicAuthenticationPayload.

Type declaration

  • apiEndpoint: string | URL

    The API endpoint for authentication.

  • apiToken: string

    The API token for authentication.

  • Optional timeout?: number

    optional timeout for the requests