Class SessionTokenClaimKeys.ImpersonationClaims
java.lang.Object
com.broadleafcommerce.auth.resource.domain.SessionTokenClaimKeys.ImpersonationClaims
- Enclosing class:
- SessionTokenClaimKeys
Though these are used in
OAuth2SessionToken
, some of these claims are also used in
access tokens.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The claim indicating that the CSR is impersonating an anonymous user.static final String
The value of theSessionTokenClaimKeys.SUBJECT
when anonymously impersonated as a CSR.static final String
The claim storing the CSR's client ID.static final String
The claim storing the authorities inherited from the CSR.static final String
The claim storing the CSR's subject.static final String
The claim storing the CSR's user ID.static final String
The claim indicating whether the CSR is impersonated themselves rather than a customer user. -
Method Summary
-
Field Details
-
CSR_CLIENT_ID
The claim storing the CSR's client ID. Only populated if impersonated.- See Also:
-
CSR_SUBJECT
The claim storing the CSR's subject. Only populated if impersonated.- See Also:
-
CSR_USER_ID
The claim storing the CSR's user ID. Only populated if impersonated.- See Also:
-
CSR_ANONYMOUS
The claim indicating that the CSR is impersonating an anonymous user. Only populated if impersonated as an anonymous user.- See Also:
-
CSR_ANONYMOUS_SUB_VALUE
The value of theSessionTokenClaimKeys.SUBJECT
when anonymously impersonated as a CSR.- See Also:
-
CSR_INHERITED_AUTHORITIES
The claim storing the authorities inherited from the CSR. Only populated if impersonated.- See Also:
-
IMPERSONATING_SELF
The claim indicating whether the CSR is impersonated themselves rather than a customer user. Usually done in order to perform functions such as managing quotes rather than shopping on behalf of.- See Also:
-