| Modifier and Type | Field and Description |
|---|---|
static TypeArg<AccessToken> |
__TYPE_ARG |
| Constructor and Description |
|---|
AccessToken(AccessToken delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
expired()
Check if the access token is expired or not.
|
AccessToken |
getDelegate() |
AccessToken |
introspect(Handler<AsyncResult<Void>> callback)
Introspect access token.
|
rx.Observable<Void> |
introspectObservable()
Deprecated.
use
rxIntrospect() instead |
AccessToken |
logout(Handler<AsyncResult<Void>> callback)
Revoke refresh token and calls the logout endpoint.
|
rx.Observable<Void> |
logoutObservable()
Deprecated.
use
rxLogout() instead |
static AccessToken |
newInstance(AccessToken arg) |
AccessToken |
refresh(Handler<AsyncResult<Void>> callback)
Refresh the access token
|
rx.Observable<Void> |
refreshObservable()
Deprecated.
use
rxRefresh() instead |
AccessToken |
revoke(String token_type,
Handler<AsyncResult<Void>> callback)
Revoke access or refresh token
|
rx.Observable<Void> |
revokeObservable(String token_type)
Deprecated.
use
rxRevoke(java.lang.String) instead |
rx.Single<Void> |
rxIntrospect()
Introspect access token.
|
rx.Single<Void> |
rxLogout()
Revoke refresh token and calls the logout endpoint.
|
rx.Single<Void> |
rxRefresh()
Refresh the access token
|
rx.Single<Void> |
rxRevoke(String token_type)
Revoke access or refresh token
|
clearCache, isAuthorised, isAuthorisedObservable, newInstance, principal, rxIsAuthorised, setAuthProviderpublic static final TypeArg<AccessToken> __TYPE_ARG
public AccessToken(AccessToken delegate)
public AccessToken getDelegate()
getDelegate in class Userpublic boolean expired()
public AccessToken refresh(Handler<AsyncResult<Void>> callback)
callback - - The callback function returning the results.@Deprecated public rx.Observable<Void> refreshObservable()
rxRefresh() insteadpublic rx.Single<Void> rxRefresh()
public AccessToken revoke(String token_type, Handler<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.@Deprecated public rx.Observable<Void> revokeObservable(String token_type)
rxRevoke(java.lang.String) insteadtoken_type - - A String containing the type of token to revoke. Should be either "access_token" or "refresh_token".public rx.Single<Void> rxRevoke(String token_type)
token_type - - A String containing the type of token to revoke. Should be either "access_token" or "refresh_token".public AccessToken logout(Handler<AsyncResult<Void>> callback)
callback - - The callback function returning the results.@Deprecated public rx.Observable<Void> logoutObservable()
rxLogout() insteadpublic rx.Single<Void> rxLogout()
public AccessToken introspect(Handler<AsyncResult<Void>> callback)
callback - - The callback function returning the results.@Deprecated public rx.Observable<Void> introspectObservable()
rxIntrospect() insteadpublic rx.Single<Void> rxIntrospect()
public static AccessToken newInstance(AccessToken arg)
Copyright © 2017. All rights reserved.