Annotation Interface AccessToken
When this annotation is added to a MicroProfile REST Client interface, the
will be added to
the request pipeline.
The end result is that the request propagates the Bearer token present in the current active request or the token acquired
from the Authorization Code Flow,
as the HTTP
invalid reference
AccessTokenRequestFilter
Authorization header's Bearer scheme value.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSelects name of the configured OidcClient and activates token exchange for the annotated REST client.
-
Element Details
-
exchangeTokenClient
String exchangeTokenClientSelects name of the configured OidcClient and activates token exchange for the annotated REST client. Please note that the default OidcClient's name is `Default`. You do not have to enable this attribute if you use the default OidcClient and already have either 'quarkus.resteasy-client-oidc-token-propagation.exchange-token' or 'quarkus.rest-client-oidc-token-propagation.exchange-token' property set to 'true'- Default:
""
-