refreshTokenExpirationInterval property

int refreshTokenExpirationInterval

The requested expiration interval (in minutes) for the refreshToken generated by the OAuth request. Set this to -1 for getting the maximum refresh token supported by the portal (ninety days). The max interval can be overridden by the portal administrator.

If this is not set, then the refresh token is valid for two weeks.

Implementation

int get refreshTokenExpirationInterval {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_OAuthUserConfiguration_getRefreshTokenExpirationInterval(
            _handle, errorHandler);
  });
}