• If called before the session expires, this will refresh the caller's session and tokens.

    import {Auth} from '@verdocs/js-sdk/Auth';
    import {Transport} from '@verdocs/js-sdk/HTTP';

    const {accessToken} = await Auth.refreshTokens();
    Transport.setAuthToken(accessToken);

    Parameters

    Returns Promise<IAuthenticateResponse>