Package org.forgerock.am.cts.api.tokens
Enum Class TokenType
- All Implemented Interfaces:
Serializable,Comparable<TokenType>,java.lang.constant.Constable
Responsible for defining the available token types in the Core Token Service.
If new tokens are added, this enum must be updated via APPENDING to the end of the enum list.
Existing operations MUST STAY in the order they are defined. This is validated by TokenTypeTest.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthentication session whitelist.Back Channel Authentication state.Generatic token type.Logout User token type.Token type for cluster-wide notification system.OAuth token type.OAuth blacklist token type.Legacy stateless OAuth2 metadata token type.OAuth2 GrantSet token type.Stateless OAuth2 token to represent an authorization.UMA Permission ticket token type.Push Notification System token type.A reference to a request object.UMA Requesting party token type.OAuth Resource set token type.REST token type.SAML2 token type.Session token type.Session blacklist token type.STS token type.Suspended authentication session token type.Token type for authentication transactions.UMA Audit entry token type.UMA Pending request token type. -
Method Summary
Modifier and TypeMethodDescriptionThe name to use when referring to this token type in monitoring metrics.static TokenTypeReturns the enum constant of this class with the specified name.static TokenType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SESSION
Session token type. -
SAML2
SAML2 token type. -
OAUTH
OAuth token type. -
REST
REST token type. -
GENERIC
Generatic token type. -
RESOURCE_SET
OAuth Resource set token type. -
PERMISSION_TICKET
UMA Permission ticket token type. -
REQUESTING_PARTY
UMA Requesting party token type. -
UMA_AUDIT_ENTRY
UMA Audit entry token type. -
SESSION_BLACKLIST
Session blacklist token type. -
UMA_PENDING_REQUEST
UMA Pending request token type. -
STS
STS token type. -
OAUTH_BLACKLIST
OAuth blacklist token type. -
OAUTH_STATELESS
Legacy stateless OAuth2 metadata token type. -
PUSH
Push Notification System token type. -
NOTIFICATION
Token type for cluster-wide notification system. -
OAUTH2_STATELESS_GRANT
Stateless OAuth2 token to represent an authorization. -
TRANSACTION
Token type for authentication transactions. -
AUTHENTICATION_WHITELIST
Authentication session whitelist. -
OAUTH2_GRANT_SET
OAuth2 GrantSet token type. -
BACK_CHANNEL_AUTHENTICATION_STATE
Back Channel Authentication state. -
SUSPENDED_AUTHENTICATION_SESSION
Suspended authentication session token type. -
LOGOUT_USER
Logout User token type. -
REQUEST_URI_OBJECT
A reference to a request object. This is used by the OAuth2 Push Authorisation Request flow and also by AM's request_uri endpoint when acting as a Relying Party to an OIDC provider.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMetricName
The name to use when referring to this token type in monitoring metrics.- Returns:
- Non-null, token type identifier.
-