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

Properties

credentials: Credentials
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>