Class AccessTokenClaimKeys.CommonClaims
java.lang.Object
com.broadleafcommerce.auth.resource.domain.AccessTokenClaimKeys.CommonClaims
- Enclosing class:
- AccessTokenClaimKeys
General cross-cutting claims.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
This is a non-standard claim used by Broadleaf to present/validate specific privileges accessible by a user/client. -
Method Summary
-
Field Details
-
AUTHORITIES
This is a non-standard claim used by Broadleaf to present/validate specific privileges accessible by a user/client. While "scope" contains the pure OAuth2 scopes which have been granted, "authorities" goes beyond and describes which Broadleaf permissions for those scopes are truly accessible. For example, "scope" may contain "PRODUCT", while "authorities" may contain "READ_PRODUCT", "UPDATE_PRODUCT", or "ALL_PRODUCT" etc.
-