public interface IntrospectableToken extends Token
Modifier and Type | Method and Description |
---|---|
Integer |
getAuthLevel()
Gets the session auth level.
|
long |
getAuthTimeSeconds()
Gets the end user's authentication time in seconds.
|
String |
getClientId()
Gets the token's client id.
|
default Map<String,Object> |
getCustomFields()
Gets the custom fields added to the token.
|
long |
getExpiryTime()
Gets the token's expiry time.
|
String |
getGrantType()
Gets the grant type that was used to produce the token.
|
String |
getRealm()
Gets the token's realm.
|
default ResourceOwner |
getResourceOwner()
It turns instance of IntrospectableToken into ResourceOwner.
|
String |
getResourceOwnerId()
Gets the token's resource owner id.
|
Set<String> |
getScope()
Gets the token's scopes.
|
boolean |
isExpired()
Gets whether the token has expired.
|
getAuditTrackingId, getTokenId, getTokenInfo, getTokenName, toJsonValue, toMap
long getExpiryTime()
boolean isExpired()
String getRealm()
String getClientId()
String getResourceOwnerId()
long getAuthTimeSeconds()
Integer getAuthLevel()
String getGrantType()
default ResourceOwner getResourceOwner()
Copyright © 2010-2018, ForgeRock All Rights Reserved.