@sasjs/adapter
Version:
JavaScript adapter for SAS
11 lines (10 loc) • 439 B
TypeScript
import { RequestClient } from '../request/RequestClient';
/**
* Exchanges the refresh token for an access token for the given client.
* @param requestClient - the pre-configured HTTP request client
* @param refreshToken - the refresh token received from the server.
*/
export declare function refreshTokensForSasjs(requestClient: RequestClient, refreshToken: string): Promise<{
access_token: string;
refresh_token: string;
}>;