Class TokenEnhancerUtility
java.lang.Object
com.broadleafcommerce.auth.user.session.token.enhancer.TokenEnhancerUtility
Utility to consolidate common operations performed in 
JwtAccessTokenEnhancer.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisClientOnly(JwtTokenEnhancerContext context) Determine if the givenJwtTokenEnhancerContextrepresents a "client-only" authorization.
- 
Constructor Details- 
TokenEnhancerUtilitypublic TokenEnhancerUtility()
 
- 
- 
Method Details- 
isClientOnlyDetermine if the givenJwtTokenEnhancerContextrepresents a "client-only" authorization. A client-only authorization does not have a User. For example, the Client Credentials grant type would be client-only.- Parameters:
- context- The- JwtTokenEnhancerContextto evaluate.
- Returns:
- True if the given JwtTokenEnhancerContextis a client-only authorization, false otherwise.
 
 
-