HostedApiConfig
type HostedApiConfig = { getClientSecret: (currentClientSecret: string | null) => Promise<string>;};
Properties
Section titled “Properties”getClientSecret()
Section titled “getClientSecret()”getClientSecret: (currentClientSecret: string | null) => Promise<string>;
Function to get a client token or refresh if the current token is expired.
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
Returns
Section titled “Returns”Promise
<string
>