Package | Description |
---|---|
io.vertx.ext.auth.oauth2 |
== The OAuth2 auth provider
This component contains an out of the box OAuth2 Relay Party implementation.
|
Modifier and Type | Method and Description |
---|---|
AccessToken |
AccessToken.fetch(io.vertx.core.http.HttpMethod method,
String resource,
io.vertx.core.json.JsonObject headers,
io.vertx.core.buffer.Buffer payload,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
default AccessToken |
AccessToken.fetch(String resource,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
AccessToken |
AccessToken.introspect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Introspect access token.
|
AccessToken |
AccessToken.introspect(String tokenType,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Introspect access token.
|
AccessToken |
AccessToken.logout(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Revoke refresh token and calls the logout endpoint.
|
AccessToken |
AccessToken.refresh(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Refresh the access token
|
AccessToken |
AccessToken.revoke(String token_type,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Revoke access or refresh token
|
AccessToken |
AccessToken.setTrustJWT(boolean trust) |
AccessToken |
AccessToken.userInfo(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> callback)
Load the user info as per OIDC spec.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Auth |
OAuth2Auth.decodeToken(String token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccessToken>> handler)
Decode a token to a
AccessToken object. |
void |
OAuth2Auth.getToken(io.vertx.core.json.JsonObject params,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccessToken>> handler)
Deprecated.
use
AuthProvider.authenticate(JsonObject, Handler) instead. |
default OAuth2Auth |
OAuth2Auth.introspectToken(String token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccessToken>> handler)
Query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine
meta-information about this token.
|
OAuth2Auth |
OAuth2Auth.introspectToken(String token,
String tokenType,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccessToken>> handler)
Query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine
meta-information about this token.
|
Copyright © 2018 Eclipse. All rights reserved.