Class SessionTokenClaimKeys
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.SessionTokenClaimKeys
-
public final class SessionTokenClaimKeys extends Object
Contains constants that are used as keys for token claims for session tokens inTokenEnhancers
.- See Also:
OAuth2SessionToken
,AccessTokenClaimKeys
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionTokenClaimKeys.ImpersonationClaims
Though these are used inOAuth2SessionToken
, some of these claims are also used in access tokens.
-
Field Summary
Fields Modifier and Type Field Description static String
CLIENT_ID
The claim storing a String client ID for the current session.static String
EXPIRATION_TIME
The claim storing a Date object for the current expiration of the token.static String
MAX_EXPIRATION_TIME
The claim storing a Date object for the 'max' expiration of the tokenstatic String
SUBJECT
The claim storing a String user subject for the current session.static String
USER_ID
The claim storing a user's ID for the current session.
-
-
-
Field Detail
-
USER_ID
public static final String USER_ID
The claim storing a user's ID for the current session.- See Also:
- Constant Field Values
-
SUBJECT
public static final String SUBJECT
The claim storing a String user subject for the current session.- See Also:
- Constant Field Values
-
CLIENT_ID
public static final String CLIENT_ID
The claim storing a String client ID for the current session.- See Also:
- Constant Field Values
-
EXPIRATION_TIME
public static final String EXPIRATION_TIME
The claim storing a Date object for the current expiration of the token.- See Also:
- Constant Field Values
-
MAX_EXPIRATION_TIME
public static final String MAX_EXPIRATION_TIME
The claim storing a Date object for the 'max' expiration of the token- See Also:
- Constant Field Values
-
-