public static RefreshTokenCredentials create(OauthClient oauthConfig,String refreshTokenSecret,String tokenExchangeUrl){
  RefreshRequestFactory requestFactory=new RefreshRequestFactory();
  Clock clock=Clock.systemDefaultZone();
  return new RefreshTokenCredentials(requestFactory,refreshTokenSecret,tokenExchangeUrl,oauthConfig,clock);
}

public static RefreshTokenCredentials create ( OauthClient oauthConfig , String refreshTokenSecret , String tokenExchangeUrl ) { RefreshRequestFactory requestFactory = new RefreshRequestFactory ( ) ; Clock clock = Clock . systemDefaultZone ( ) ; return new RefreshTokenCredentials ( requestFactory , refreshTokenSecret , tokenExchangeUrl , oauthConfig , clock ) ; }
create a new set of credentials for the given refresh token and oauth configuration .
