Class AccessTokenClaimKeys.UserDataClaims
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.AccessTokenClaimKeys.UserDataClaims
-
- Enclosing class:
- AccessTokenClaimKeys
public static final class AccessTokenClaimKeys.UserDataClaims extends Object
- See Also:
UserTokenEnhancer
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADMIN_USER_ID
Used for adding an admin user's AdminUser ID as a claim.static String
CUSTOMER_ID
Used for adding a customer user's Customer ID as a claim.static String
EMAIL_ADDRESS
Used for adding an auth user's email address as a claim.static String
FULL_NAME
Used for adding a auth user's full name as a claim.static String
USER_ID
Used for adding an auth user's ID as a claim.static String
USER_NAME
Used for adding an auth user's username as a claim.static String
USER_TYPE
Used for adding a user's type as a claim.
-
-
-
Field Detail
-
USER_ID
public static final String USER_ID
Used for adding an auth user's ID as a claim.- See Also:
User.getId()
, Constant Field Values
-
USER_NAME
public static final String USER_NAME
Used for adding an auth user's username as a claim.- See Also:
User.getUsername()
, Constant Field Values
-
EMAIL_ADDRESS
public static final String EMAIL_ADDRESS
Used for adding an auth user's email address as a claim.- See Also:
User.getEmail()
, Constant Field Values
-
FULL_NAME
public static final String FULL_NAME
Used for adding a auth user's full name as a claim.- See Also:
User.getCompleteName()
, Constant Field Values
-
USER_TYPE
public static final String USER_TYPE
Used for adding a user's type as a claim. Type is used to discriminate between the types of services the user intracts with.- See Also:
User.getType()
, Constant Field Values
-
CUSTOMER_ID
public static final String CUSTOMER_ID
Used for adding a customer user's Customer ID as a claim. This is only applicable to customer users managed by the customer microservice.
-
ADMIN_USER_ID
public static final String ADMIN_USER_ID
Used for adding an admin user's AdminUser ID as a claim. This is only applicable to admin users managed by the admin user microservice.
-
-