Package io.quarkus.rest.client.reactive
Annotation Interface ClientBasicAuth
Used to make calls requiring HTTP Basic Auth.
An example method could look like the following:
@ClientBasicAuth(username = "${service.username}", password = "${service.password}")
public interface SomeClient {
}
where service.username
and service.password
are configuration properties that must be set at runtime
to the username and password that allow access to the service being called.-
Required Element Summary