Skip to content

HostedApiConfig

type HostedApiConfig = {
getClientSecret: (currentClientSecret: string | null) => Promise<string>;
};
getClientSecret: (currentClientSecret: string | null) => Promise<string>;

Function to get a client token or refresh if the current token is expired.

Parameter Type

currentClientSecret

string | null

Promise<string>