Package | Description |
---|---|
io.vertx.reactivex.ext.auth.oauth2 |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<AccessToken> |
AccessToken.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
AccessToken |
AccessToken.fetch(String resource,
Handler<AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
AccessToken |
AccessToken.introspect(Handler<AsyncResult<Void>> callback)
Introspect access token.
|
AccessToken |
AccessToken.introspect(String tokenType,
Handler<AsyncResult<Void>> callback)
Introspect access token.
|
AccessToken |
AccessToken.logout(Handler<AsyncResult<Void>> callback)
Revoke refresh token and calls the logout endpoint.
|
static AccessToken |
AccessToken.newInstance(AccessToken arg) |
AccessToken |
AccessToken.refresh(Handler<AsyncResult<Void>> callback)
Refresh the access token
|
AccessToken |
AccessToken.revoke(String token_type,
Handler<AsyncResult<Void>> callback)
Revoke access or refresh token
|
AccessToken |
AccessToken.setTrustJWT(boolean trust) |
AccessToken |
AccessToken.userInfo(Handler<AsyncResult<JsonObject>> callback)
Load the user info as per OIDC spec.
|
Modifier and Type | Method and Description |
---|---|
Single<AccessToken> |
OAuth2Auth.rxDecodeToken(String token)
Deprecated.
|
Single<AccessToken> |
OAuth2Auth.rxGetToken(JsonObject params)
Deprecated.
|
Single<AccessToken> |
OAuth2Auth.rxIntrospectToken(String token)
Deprecated.
|
Single<AccessToken> |
OAuth2Auth.rxIntrospectToken(String token,
String tokenType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
OAuth2RBAC.isAuthorized(AccessToken user,
String authority,
Handler<AsyncResult<Boolean>> handler)
This method should verify if the user has the given authority and return either a boolean value or an error.
|
Single<Boolean> |
OAuth2RBAC.rxIsAuthorized(AccessToken user,
String authority)
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,
Handler<AsyncResult<AccessToken>> handler)
Deprecated.
|
void |
OAuth2Auth.getToken(JsonObject params,
Handler<AsyncResult<AccessToken>> handler)
Deprecated.
|
OAuth2Auth |
OAuth2Auth.introspectToken(String token,
Handler<AsyncResult<AccessToken>> handler)
Deprecated.
|
OAuth2Auth |
OAuth2Auth.introspectToken(String token,
String tokenType,
Handler<AsyncResult<AccessToken>> handler)
Deprecated.
|
Copyright © 2023 Eclipse. All rights reserved.