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.
See Also:
  • Field Details

    • USER_ID

      public static final String USER_ID
      The claim storing a user's ID for the current session.
      See Also:
    • SUBJECT

      public static final String SUBJECT
      The claim storing a String user subject for the current session.
      See Also:
    • CLIENT_ID

      public static final String CLIENT_ID
      The claim storing a String client ID for the current session.
      See Also:
    • EXPIRATION_TIME

      public static final String EXPIRATION_TIME
      The claim storing a Date object for the current expiration of the token.
      See Also:
    • 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:
    • SESSION_ID

      public static final String 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 in OAuth2SessionAuthenticationFilter, 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: