code: public static Map<String, Object> createFormParamClientCredentialsGrantType(String scope) {
          Map<String, Object> formParams = new HashMap<>();
          formParams.put("grant_type", "client_credentials");
          if (scope != null) {
              formParams.put("scope", scope);
          }
          return formParams;
      }
docs: Build form parameters
  
  @param scope The scope of the access request. The Authentication API supports only the &#x60;*&#x60; value. (optional)
  @return a map of form parameters