docs: private static boolean isGrantTypeSupported(final String type, final OAuth20GrantTypes... expectedTypes) {
          LOGGER.debug("Grant type received: [{}]", type);
          for (val expectedType : expectedTypes) {
              if (OAuth20Utils.isGrantType(type, expectedType)) {
                  return true;
              }
          }
          LOGGER.error("Unsupported grant type: [{}]", type);
          return false;
      }