code: public URI getAuthorizationUri(String clientId, java.util.List<String> scopes, String redirectUri, String responseType) throws IllegalArgumentException, UriBuilderException {
      return this.getAuthorizationUri(clientId, scopes, redirectUri, responseType, null);
    }
docs: Helper method to configure the OAuth accessCode/implicit flow parameters
  @param clientId OAuth2 client ID: Identifies the client making the request.
  Client applications may be scoped to a limited set of system access.
  @param scopes the list of requested scopes. Values include {@link OAuth#Scope_SIGNATURE}, {@link OAuth#Scope_EXTENDED}, {@link OAuth#Scope_IMPERSONATION}. You can also pass any advanced scope.
  @param redirectUri this determines where to deliver the response containing the authorization code or access token.
  @param responseType determines the response type of the authorization request.
  <br><i>Note</i>: these response types are mutually exclusive for a client application.
  A public/native client application may only request a response type of "token";
  a private/trusted client application may only request a response type of "code".