docs: @Override
      public String authenticate(Credentials credentials, HttpMethod method) throws AuthenticationException {
          try {
              return authenticate(credentials, URI.create(method.getURI().getURI()));
          } catch (URIException e) {
              throw new AuthenticationException("Could not determine request URI", e);
          }
      }