}
public Option<String> generate(String httpMethodStr, String url, Map<String, List<String>> parameters, AcHost acHost,
Option<String> userId)
throws JwtIssuerLacksSharedSecretException, JwtUnknownIssuerException, URISyntaxException {
final HttpMethod method = HttpMethod.valueOf(httpMethodStr);
final URI uri = new URI(url);
final String path = uri.getPath();
final URI baseUrl = new URI(acHost.getBaseUrl());
final String productContext = baseUrl.getPath();