code: public <T> HttpAuthServiceBuilder addTokenAuthorizer(
              Function<HttpHeaders, T> tokenExtractor, Authorizer<? super T> authorizer) {
          requireNonNull(tokenExtractor, "tokenExtractor");
          requireNonNull(authorizer, "authorizer");
          final Authorizer<HttpRequest> requestAuthorizer = (ctx, req) -> {
              final T token = tokenExtractor.apply(req.headers());
              if (token == null) {
                  return CompletableFuture.completedFuture(false);
              }
              return authorizer.authorize(ctx, token);
          };
          add(requestAuthorizer);
          return this;
      }
docs: Adds a token-based {@link Authorizer}.