Uses of Class
com.broadleafcommerce.auth.user.session.token.enhancer.JwtTokenEnhancerContext
-
Uses of JwtTokenEnhancerContext in com.broadleafcommerce.auth.user.session.token.enhancer
Modifier and TypeMethodDescriptionprotected void
CustomerContextAccessTokenEnhancer.addCustomerContextIds
(JwtTokenEnhancerContext context, Collection<String> customerContextIds) protected void
ClientRestrictionAccessTokenEnhancer.addTenantClaims
(AuthorizedClient client, JwtTokenEnhancerContext context) protected void
ClientRestrictionAccessTokenEnhancer.addVendorRestrictionClaims
(Set<String> vendorTargets, JwtTokenEnhancerContext context) RegisteredClaimsAccessTokenEnhancer.determineAudiences
(JwtTokenEnhancerContext context) void
AccountIdAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
AuthoritiesAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
ClientPermissionsAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
ClientRestrictionAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
CustomerContextAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
CustomerSegmentsAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
ImpersonationAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
JwtAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) Evaluate the authentication and add claims as necessary.void
RandomTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
RegisteredClaimsAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) Places various claims into the additional information of the access token, including the issuer, audience, and max lifetime.void
TenantPropertiesAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
UserAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) void
UserRestrictionAccessTokenEnhancer.enhance
(JwtTokenEnhancerContext context) protected Collection<String>
AuthoritiesAccessTokenEnhancer.getAllAvailablePermissions
(JwtTokenEnhancerContext context) Get all permissions that are available to the given authorized context.protected Collection<String>
ClientRestrictionAccessTokenEnhancer.getGrantedAuthorities
(JwtTokenEnhancerContext context) AccountIdAccessTokenEnhancer.getRequestAccountId
(JwtTokenEnhancerContext context) Looks for an account ID on the request.UserAccessTokenEnhancer.getUserTokenClaims
(JwtTokenEnhancerContext context) protected boolean
AbstractUserAccessTokenEnhancer.isAnonymousCsrImpersonation
(JwtTokenEnhancerContext context) Check whether the current authentication is a CSR impersonation of an anonymous user.protected boolean
AbstractUserAccessTokenEnhancer.isClientOnly
(JwtTokenEnhancerContext context) Whether the authorization in the context represents a client-only authorization.protected boolean
ImpersonationAccessTokenEnhancer.isClientOnly
(JwtTokenEnhancerContext context) boolean
TokenEnhancerUtility.isClientOnly
(JwtTokenEnhancerContext context) Determine if the givenJwtTokenEnhancerContext
represents a "client-only" authorization.protected void
CustomerContextAccessTokenEnhancer.setCustomerContextIds
(Collection<String> customerContextIds, JwtTokenEnhancerContext context) protected boolean
AbstractUserAccessTokenEnhancer.shouldEnhance
(JwtTokenEnhancerContext context) Whether the token should be enhanced.protected boolean
ClientRestrictionAccessTokenEnhancer.shouldEnhance
(JwtTokenEnhancerContext context)