Package | Description |
---|---|
io.vertx.ext.auth.oauth2 |
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)
Deprecated.
Fetches a JSON resource using this Access Token.
|
default AccessToken |
AccessToken.fetch(String resource,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OAuth2Response>> callback)
Deprecated.
Fetches a JSON resource using this Access Token.
|
AccessToken |
AccessToken.introspect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Deprecated.
Introspect access token.
|
AccessToken |
AccessToken.introspect(String tokenType,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Deprecated.
Introspect access token.
|
AccessToken |
AccessToken.logout(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Deprecated.
Revoke refresh token and calls the logout endpoint.
|
AccessToken |
AccessToken.refresh(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Deprecated.
Refresh the access token
|
AccessToken |
AccessToken.revoke(String token_type,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Deprecated.
Revoke access or refresh token
|
AccessToken |
AccessToken.setTrustJWT(boolean trust)
Deprecated.
|
AccessToken |
AccessToken.userInfo(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> callback)
Deprecated.
Load the user info as per OIDC spec.
|
Modifier and Type | Method and Description |
---|---|
default io.vertx.core.Future<AccessToken> |
OAuth2Auth.decodeToken(String token)
Deprecated.
|
default io.vertx.core.Future<AccessToken> |
OAuth2Auth.introspectToken(String token)
Deprecated.
|
default io.vertx.core.Future<AccessToken> |
OAuth2Auth.introspectToken(String token,
String tokenType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default io.vertx.core.Future<Boolean> |
OAuth2RBAC.isAuthorized(AccessToken user,
String authority)
Deprecated.
This method should verify if the user has the given authority and return either a boolean value or an error.
|
void |
OAuth2RBAC.isAuthorized(AccessToken user,
String authority,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
Deprecated.
This method should verify if the user has the given authority and return either a boolean value or an error.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Auth |
OAuth2Auth.decodeToken(String token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccessToken>> handler)
Deprecated.
|
default OAuth2Auth |
OAuth2Auth.introspectToken(String token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccessToken>> handler)
Deprecated.
|
OAuth2Auth |
OAuth2Auth.introspectToken(String token,
String tokenType,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccessToken>> handler)
Deprecated.
|
Copyright © 2020 Eclipse. All rights reserved.