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.introspect(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
|
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)
Returns the Access Token object.
|
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.
|
Copyright © 2017. All rights reserved.