code: public String getNewToken(GrantType grantType) throws FoxHttpException, MalformedURLException {
          FoxHttpRequest request = this.generateRequestForGrantType(grantType);
          this.getOAuth2RequestExecutor().executeOAuth2Request(request, this);
          return getOAuth2Store().getAccessToken();
      }
docs: Request a new token based on the configuration
  
  @param grantType grant type to use
  @return access token from the response
  @throws FoxHttpException
  @throws MalformedURLException