Package org.forgerock.oauth2.core
Interface RefreshToken
-
- All Superinterfaces:
IntrospectableToken,Token
- All Known Implementing Classes:
StatefulRefreshToken,StatelessRefreshToken
public interface RefreshToken extends IntrospectableToken
Base type for StatefulRefreshToken and StatelessRefreshToken.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuditTrackingId()Gets the token's audit tracking id.StringgetAuthenticationContextClassReference()Gets the token's Authentication Context Class reference.StringgetAuthGrantId()Gets the token's Auth Grant id.StringgetAuthModules()Gets the token's Auth Modules.StringgetClaims()Gets the token's claims.StringgetRedirectUri()Gets the token's redirect uri.StringgetTokenId()Gets the token's identifier.StringgetTokenType()Gets the token's type.Map<String,Object>toMap()Converts the token into aMapof its key data.-
Methods inherited from interface org.forgerock.oauth2.core.IntrospectableToken
getAuthTimeSeconds, getClientId, getExpiryTime, getRealm, getResourceOwnerId, getScope, isExpired
-
Methods inherited from interface org.forgerock.oauth2.core.Token
getAuditTrackingIdKey, getTokenInfo, getTokenName, toJsonValue
-
-
-
-
Method Detail
-
getRedirectUri
String getRedirectUri()
Gets the token's redirect uri.- Returns:
- The token's redirect uri.
-
getTokenId
String getTokenId()
Description copied from interface:TokenGets the token's identifier.- Specified by:
getTokenIdin interfaceToken- Returns:
- The token's id.
-
getClaims
String getClaims()
Gets the token's claims.- Returns:
- The token's claims.
-
getAuthenticationContextClassReference
String getAuthenticationContextClassReference()
Gets the token's Authentication Context Class reference.- Returns:
- The token's Authentication Context Class reference.
-
getTokenType
String getTokenType()
Gets the token's type.- Returns:
- The token's type.
-
getAuthModules
String getAuthModules()
Gets the token's Auth Modules.- Returns:
- The token's Auth Modules.
-
toMap
Map<String,Object> toMap()
Description copied from interface:TokenConverts the token into aMapof its key data.
-
getAuditTrackingId
String getAuditTrackingId()
Gets the token's audit tracking id.- Specified by:
getAuditTrackingIdin interfaceToken- Returns:
- The token's audit tracking id.
-
getAuthGrantId
String getAuthGrantId()
Gets the token's Auth Grant id.- Returns:
- The token's Auth Grant id.
-
-