code: public void authorize(String clientId, String redirectUri, String responseType, String authorization, Boolean hideTenant, String scope) throws ApiException {
          authorizeWithHttpInfo(clientId, redirectUri, responseType, authorization, hideTenant, scope);
      }
docs: Perform authorization
  Perform authorization based on the code grant type &amp;mdash; either Authorization Code Grant or Implicit Grant. For more information, see [Authorization Endpoint](https://tools.ietf.org/html/rfc6749#section-3.1). **Note:** For the optional **scope** parameter, the Authentication API supports only the &#x60;*&#x60; value.
  @param clientId The ID of the application or service that is registered as the client. You&#39;ll need to get this value from your PureEngage Cloud representative. (required)
  @param redirectUri The URI that you want users to be redirected to after entering valid credentials during an Implicit or Authorization Code grant. The Authentication API includes this as part of the URI it returns in the &#39;Location&#39; header. (required)
  @param responseType The response type to let the Authentication API know which grant flow you&#39;re using. Possible values are &#x60;code&#x60; for Authorization Code Grant or &#x60;token&#x60; for Implicit Grant. For more information about this parameter, see [Response Type](https://tools.ietf.org/html/rfc6749#section-3.1.1). (required)
  @param authorization Basic authorization. For example: &#39;Authorization: Basic Y3...MQ&#x3D;&#x3D;&#39; (optional)
  @param hideTenant Hide the **tenant** field in the UI for Authorization Code Grant. (optional, default to false)
  @param scope The scope of the access request. The Authentication API supports only the &#x60;*&#x60; value. (optional)
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body