Class SessionTokenClaimKeys
java.lang.Object
com.broadleafcommerce.auth.resource.domain.SessionTokenClaimKeys
Contains constants that are used as keys for token claims for session tokens.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThough these are used inOAuth2SessionToken, some of these claims are also used in access tokens.static final classClaims used when using 'Remember Me' login.static final classClaims used when using 'Third Party Login'. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe claim storing a String client ID for the current session.static final StringThe claim storing a Date object for the current expiration of the token.static final StringThe claim storing a Date object for the 'max' expiration of the tokenstatic final StringA string value that represents the unique identifier for this session.static final StringThe claim storing a String user subject for the current session.static final StringThe claim storing a user's ID for the current session. -
Method Summary
-
Field Details
-
USER_ID
The claim storing a user's ID for the current session.- See Also:
-
SUBJECT
The claim storing a String user subject for the current session.- See Also:
-
CLIENT_ID
The claim storing a String client ID for the current session.- See Also:
-
EXPIRATION_TIME
The claim storing a Date object for the current expiration of the token.- See Also:
-
MAX_EXPIRATION_TIME
The claim storing a Date object for the 'max' expiration of the token- See Also:
-
SESSION_ID
A string value that represents the unique identifier for this session. Upon login, a new, unique value is generated for this claim. Across subsequent refreshes of the session token inOAuth2SessionAuthenticationFilter, the same session ID is carried forward to ensure consistent identification of a session lineage.- Since:
- AuthenticationServices 3.0.0, Release Train 3.0.0
- See Also:
-