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 |
---|---|
OAuth2Options |
OAuth2Options.addPubSecKey(PubSecKeyOptions pubSecKey) |
OAuth2Options |
OAuth2Options.setAuthorizationPath(String authorizationPath) |
OAuth2Options |
OAuth2Options.setClientID(String clientID)
Set the provider client id
|
OAuth2Options |
OAuth2Options.setClientSecret(String clientSecret)
Set the provider client secret
|
OAuth2Options |
OAuth2Options.setClientSecretParameterName(String clientSecretParameterName)
Override the HTTP form field name for client secret
|
OAuth2Options |
OAuth2Options.setExtraParameters(io.vertx.core.json.JsonObject extraParams)
Set extra parameters to be sent to the provider on each request
|
OAuth2Options |
OAuth2Options.setFlow(OAuth2FlowType flow) |
OAuth2Options |
OAuth2Options.setHeaders(io.vertx.core.json.JsonObject headers)
Set custom headers to be sent with every request to the provider
|
OAuth2Options |
OAuth2Options.setHttpClientOptions(io.vertx.core.http.HttpClientOptions httpClientOptions) |
OAuth2Options |
OAuth2Options.setIntrospectionPath(String introspectionPath)
Set the provider token introspection resource path
|
OAuth2Options |
OAuth2Options.setJwkPath(String jwkPath) |
OAuth2Options |
OAuth2Options.setJWTOptions(JWTOptions jwtOptions) |
OAuth2Options |
OAuth2Options.setLogoutPath(String logoutPath)
Set the provider logout path
|
OAuth2Options |
OAuth2Options.setPubSecKeys(List<PubSecKeyOptions> pubSecKeys) |
OAuth2Options |
OAuth2Options.setRevocationPath(String revocationPath)
Set the Oauth2 revocation resource path.
|
OAuth2Options |
OAuth2Options.setScopeSeparator(String scopeSeparator)
Set the provider scope separator
|
OAuth2Options |
OAuth2Options.setSite(String site)
Root URL for the provider without trailing slashes
|
OAuth2Options |
OAuth2Options.setTenant(String tenant)
Sets an optional tenant.
|
OAuth2Options |
OAuth2Options.setTokenPath(String tokenPath) |
OAuth2Options |
OAuth2Options.setUseBasicAuthorizationHeader(boolean useBasicAuthorizationHeader)
Deprecated.
this value is not considered.
|
OAuth2Options |
OAuth2Options.setUserAgent(String userAgent)
Set a custom user agent to use when communicating to a provider
|
OAuth2Options |
OAuth2Options.setUserInfoParameters(io.vertx.core.json.JsonObject userInfoParams)
Set custom parameters to be sent during the userInfo resource request
|
OAuth2Options |
OAuth2Options.setUserInfoPath(String userInfoPath)
Set the provider userInfo resource path
|
OAuth2Options |
OAuth2Options.setValidateIssuer(boolean validateIssuer) |
Modifier and Type | Method and Description |
---|---|
static OAuth2Auth |
OAuth2Auth.create(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2 auth provider
|
static void |
OAuth2OptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
OAuth2Options obj) |
static void |
OAuth2OptionsConverter.toJson(OAuth2Options obj,
io.vertx.core.json.JsonObject json) |
static void |
OAuth2OptionsConverter.toJson(OAuth2Options obj,
Map<String,Object> json) |
Constructor and Description |
---|
OAuth2Options(OAuth2Options other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.Future<OAuth2Auth> |
AmazonCognitoAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static io.vertx.core.Future<OAuth2Auth> |
AzureADAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static io.vertx.core.Future<OAuth2Auth> |
GoogleAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static io.vertx.core.Future<OAuth2Auth> |
IBMCloudAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static io.vertx.core.Future<OAuth2Auth> |
KeycloakAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static io.vertx.core.Future<OAuth2Auth> |
OpenIDConnectAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static io.vertx.core.Future<OAuth2Auth> |
SalesforceAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
AmazonCognitoAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options config,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
AzureADAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options 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,
OAuth2Options config,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
IBMCloudAuth.discover(io.vertx.core.Vertx vertx,
OAuth2Options 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,
OAuth2Options 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,
OAuth2Options 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,
OAuth2Options 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(OAuth2Options options)
Factory method to create a RBAC handler for tokens adhering to the Keycloak token format.
|
Copyright © 2020 Eclipse. All rights reserved.