Experimental
Function that performs token refresh using the given refreshToken. Returns a promise that resolves to the refreshed access and (optional) refresh tokens.
Can be passed to HttpApi instance as IHttpOpts.tokenRefreshFunction during client creation ICreateClientOpts
Generated using TypeDoc
Function that performs token refresh using the given refreshToken. Returns a promise that resolves to the refreshed access and (optional) refresh tokens.
Can be passed to HttpApi instance as IHttpOpts.tokenRefreshFunction during client creation ICreateClientOpts