Uses of Class
com.broadleafcommerce.auth.user.endpoint.ImpersonationRequestToken
Package
Description
-
Uses of ImpersonationRequestToken in com.broadleafcommerce.auth.user.endpoint
Modifier and TypeMethodDescriptionvoid
DefaultImpersonationRequestValidator.validateImpersonationRequestToken
(ImpersonationRequestToken impersonationRequestToken) void
ImpersonationRequestValidator.validateImpersonationRequestToken
(ImpersonationRequestToken impersonationRequestToken) Validate that an impersonation request token is valid. -
Uses of ImpersonationRequestToken in com.broadleafcommerce.auth.user.service
Modifier and TypeMethodDescriptionDefaultImpersonationService.consumeImpersonationToken
(String token) ImpersonationService.consumeImpersonationToken
(String token) Validates tokens generated byImpersonationService.generateImpersonationToken(ImpersonationRequest, Authentication)
and converts them into the originalImpersonationRequest
supplied before redirect.Modifier and TypeMethodDescriptionprotected void
DefaultImpersonationClaimsEnhancer.addCsrClaims
(ImpersonationRequestToken impersonationRequestToken, User csr, Map<String, Object> enhancedClaims) DefaultImpersonationClaimsEnhancer.enhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) ImpersonationClaimsEnhancer.enhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.ImpersonationClaimsEnhancerChain.enhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) DefaultImpersonationService.getImpersonationSessionToken
(ImpersonationRequestToken token, OAuth2UserDetails impersonatedUser) ImpersonationService.getImpersonationSessionToken
(ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser) Creates anOAuth2SessionToken
for the validatedImpersonationRequest
. -
Uses of ImpersonationRequestToken in com.broadleafcommerce.auth.user.web.endpoint
Modifier and TypeMethodDescriptionprotected void
ImpersonationEndpoint.addSessionCookie
(jakarta.servlet.http.HttpServletResponse response, ImpersonationRequestToken impersonationRequest, OAuth2UserDetails impersonatedUser)