Modifier and Type | Method and Description |
---|---|
boolean |
expired()
Check if the access token is expired or not.
|
AccessToken |
introspect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Introspect access token.
|
AccessToken |
logout(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Revoke refresh token and calls the logout endpoint.
|
AccessToken |
refresh(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Refresh the access token
|
AccessToken |
revoke(String token_type,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
Revoke access or refresh token
|
clearCache, isAuthorised, principal, setAuthProvider
boolean expired()
AccessToken refresh(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
callback
- - The callback function returning the results.AccessToken revoke(String token_type, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
token_type
- - A String containing the type of token to revoke. Should be either "access_token" or "refresh_token".callback
- - The callback function returning the results.AccessToken logout(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
callback
- - The callback function returning the results.AccessToken introspect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> callback)
callback
- - The callback function returning the results.Copyright © 2017. All rights reserved.