Package io.apicurio.registry.client.auth
Class VertXAuthFactory
java.lang.Object
io.apicurio.registry.client.auth.VertXAuthFactory
A factory class to make it easier to create Vertx web clients with authentication enabled. Supports OIDC
and BASIC auth.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.vertx.ext.web.client.WebClientbuildOIDCWebClient(io.vertx.core.Vertx vertx, io.vertx.ext.web.client.WebClientOptions options, String tokenUrl, String clientId, String clientSecret, String scope) static io.vertx.ext.web.client.WebClientbuildOIDCWebClient(io.vertx.core.Vertx vertx, String tokenUrl, String clientId, String clientSecret) static io.vertx.ext.web.client.WebClientbuildOIDCWebClient(io.vertx.core.Vertx vertx, String tokenUrl, String clientId, String clientSecret, String scope) static io.vertx.ext.web.client.WebClientbuildSimpleAuthWebClient(io.vertx.core.Vertx vertx, io.vertx.ext.web.client.WebClientOptions options, String username, String password) static io.vertx.ext.web.client.WebClientbuildSimpleAuthWebClient(io.vertx.core.Vertx vertx, String username, String password)
-
Constructor Details
-
VertXAuthFactory
public VertXAuthFactory()
-
-
Method Details
-
buildOIDCWebClient
-
buildOIDCWebClient
-
buildOIDCWebClient
-
buildSimpleAuthWebClient
-
buildSimpleAuthWebClient
-