Type Alias RestCallAuthParams

Http request parameters for auth to use when making a rest call based on a host config

type RestCallAuthParams = {
    credentials: Credentials;
    headers: Record<string, string>;
    queryParams: Record<string, string>;
}
Index
credentials: Credentials

Credentials setting for http requests

headers: Record<string, string>

Headers added to the outgoing REST request. Headers are only applied in NodeJS environments and NOT in browsers

queryParams: Record<string, string>

The query parameters to add to the REST request URL