Package | Description |
---|---|
io.vertx.ext.auth.oauth2 | |
io.vertx.ext.auth.oauth2.providers | |
io.vertx.ext.auth.oauth2.rbac |
Modifier and Type | Method and Description |
---|---|
OAuth2ClientOptions |
OAuth2ClientOptions.addPubSecKey(PubSecKeyOptions pubSecKey) |
OAuth2ClientOptions |
OAuth2ClientOptions.setAuthorizationPath(String authorizationPath) |
OAuth2ClientOptions |
OAuth2ClientOptions.setClientID(String clientID)
Set the provider client id
|
OAuth2ClientOptions |
OAuth2ClientOptions.setClientSecret(String clientSecret)
Set the provider client secret
|
OAuth2ClientOptions |
OAuth2ClientOptions.setClientSecretParameterName(String clientSecretParameterName)
Override the HTTP form field name for client secret
|
OAuth2ClientOptions |
OAuth2ClientOptions.setExtraParameters(io.vertx.core.json.JsonObject extraParams)
Set extra parameters to be sent to the provider on each request
|
OAuth2ClientOptions |
OAuth2ClientOptions.setFlow(OAuth2FlowType flow) |
OAuth2ClientOptions |
OAuth2ClientOptions.setHeaders(io.vertx.core.json.JsonObject headers)
Set custom headers to be sent with every request to the provider
|
OAuth2ClientOptions |
OAuth2ClientOptions.setIntrospectionPath(String introspectionPath)
Set the provider token introspection resource path
|
OAuth2ClientOptions |
OAuth2ClientOptions.setJwkPath(String jwkPath) |
OAuth2ClientOptions |
OAuth2ClientOptions.setJWTOptions(JWTOptions jwtOptions) |
OAuth2ClientOptions |
OAuth2ClientOptions.setLogoutPath(String logoutPath)
Set the provider logout path
|
OAuth2ClientOptions |
OAuth2ClientOptions.setPubSecKeys(List<PubSecKeyOptions> pubSecKeys) |
OAuth2ClientOptions |
OAuth2ClientOptions.setRevocationPath(String revocationPath)
Set the Oauth2 revocation resource path.
|
OAuth2ClientOptions |
OAuth2ClientOptions.setScopeSeparator(String scopeSeparator)
Deprecated.
|
OAuth2ClientOptions |
OAuth2ClientOptions.setSite(String site)
Root URL for the provider
|
OAuth2ClientOptions |
OAuth2ClientOptions.setTokenPath(String tokenPath) |
OAuth2ClientOptions |
OAuth2ClientOptions.setUseBasicAuthorizationHeader(boolean useBasicAuthorizationHeader)
Deprecated.
|
OAuth2ClientOptions |
OAuth2ClientOptions.setUserAgent(String userAgent)
Set a custom user agent to use when communicating to a provider
|
OAuth2ClientOptions |
OAuth2ClientOptions.setUserInfoParameters(io.vertx.core.json.JsonObject userInfoParams)
Set custom parameters to be sent during the userInfo resource request
|
OAuth2ClientOptions |
OAuth2ClientOptions.setUserInfoPath(String userInfoPath)
Set the provider userInfo resource path
|
OAuth2ClientOptions |
OAuth2ClientOptions.setValidateIssuer(boolean validateIssuer) |
Modifier and Type | Method and Description |
---|---|
static OAuth2Auth |
OAuth2Auth.create(io.vertx.core.Vertx vertx,
OAuth2ClientOptions config)
Create a OAuth2 auth provider
|
static OAuth2Auth |
OAuth2Auth.create(io.vertx.core.Vertx vertx,
OAuth2FlowType flow,
OAuth2ClientOptions config)
Deprecated.
the flow configuration should be passed in the config object
|
static void |
OAuth2ClientOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
OAuth2ClientOptions obj) |
static void |
OAuth2ClientOptionsConverter.toJson(OAuth2ClientOptions obj,
io.vertx.core.json.JsonObject json) |
static void |
OAuth2ClientOptionsConverter.toJson(OAuth2ClientOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
OAuth2ClientOptions(OAuth2ClientOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
AzureADAuth.discover(io.vertx.core.Vertx vertx,
OAuth2ClientOptions config,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
GoogleAuth.discover(io.vertx.core.Vertx vertx,
OAuth2ClientOptions config,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
KeycloakAuth.discover(io.vertx.core.Vertx vertx,
OAuth2ClientOptions config,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
OpenIDConnectAuth.discover(io.vertx.core.Vertx vertx,
OAuth2ClientOptions config,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
SalesforceAuth.discover(io.vertx.core.Vertx vertx,
OAuth2ClientOptions config,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
Modifier and Type | Method and Description |
---|---|
static OAuth2RBAC |
KeycloakRBAC.create(OAuth2ClientOptions options)
Factory method to create a RBAC handler for tokens adhering to the Keycloak token format.
|
Copyright © 2021 Eclipse. All rights reserved.