public interface AccessToken
Modifier and Type | Field and Description |
---|---|
static long |
NEVER_EXPIRES
Marker for never ending tokens.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.json.fluent.JsonValue |
asJsonValue()
Returns the raw JSON as returned by the tokeninfo endpoint.
|
long |
getExpiresAt()
Returns the time (expressed as a timestamp in milliseconds since epoch) when this token will be expired.
|
Map<String,Object> |
getInfo()
Returns the raw JSON as a map.
|
Set<String> |
getScopes()
Returns the scopes associated to this token.
|
String |
getToken()
Returns the access token identifier issued from the authorization server.
|
static final long NEVER_EXPIRES
String getToken()
Set<String> getScopes()
long getExpiresAt()
NEVER_EXPIRES
constant is returned, this token is always considered as available.org.forgerock.json.fluent.JsonValue asJsonValue()
Copyright © 2014 ForgeRock AS. All rights reserved.