@Override
    public HttpResponse execute(ClientRequestContext ctx, HttpRequest req) {
        final CompletableFuture<HttpResponse> future = login().thenApply(accessToken -> {
            try {
                final HttpRequest newReq = req.mapHeaders(headers -> {
                    return headers.toBuilder()
                                  .set(HttpHeaderNames.AUTHORIZATION, accessToken.asHeaderValue())
                                  .build();
                });
                ctx.updateRequest(newReq);
                return unwrap().execute(ctx, newReq);
            } catch (Exception e) {
                return Exceptions.throwUnsafely(e);
            }
        });

        return HttpResponse.of(future);
    }
A Nacos client that is responsible for
<a href="https://nacos.io/en-us/docs/auth.html">Nacos Authentication</a>.
nacos/src/main/java/com/linecorp/armeria/internal/nacos/LoginClient.java