OAuth2Client.refreshAccessToken()
Refreshes an access token with a refresh token. The scope request parameter will not be set if scopes parameter is a empty array.
Definition
async function refreshAccessToken(
tokenEndpoint: string,
refreshToken: string,
scopes: string[]
): Promise<OAuth2Tokens>;
Parameters
tokenEndpointrefreshTokenscopes