Class OAuth2TokenRefresher

java.lang.Object
com.saperion.util.OAuth2TokenRefresher

public class OAuth2TokenRefresher extends Object
  • Constructor Details

    • OAuth2TokenRefresher

      public OAuth2TokenRefresher()
  • Method Details

    • getToken

      public static String getToken()
      This method is used to get a new access token using the configured refresh token from OAuth server.
      Returns:
      The new access token as a String.