Class ImpersonationRequestToken
java.lang.Object
com.broadleafcommerce.auth.user.endpoint.ImpersonationRequestToken
The values resolved from an
ImpersonationRequest
after redirect and token validation.- See Also:
-
ImpersonationEndpoint.consumeToken(HttpServletResponse, String)
com.broadleafcommerce.auth.user.web.endpoint.ImpersonationEndpoint#impersonate(HttpServletResponse, ImpersonationRequest, Authentication)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The client ID of the user requesting impersonationThe user ID of the CSR that is impersonating a user.The client ID of the user to be impersonated.The subject to be impersonated.Indicates that CSR is not impersonating as a customer but is operating as themselves.Upon consuming the token, the URL to redirect the user to.int
hashCode()
toString()
-
Constructor Details
-
ImpersonationRequestToken
-
-
Method Details
-
getClient_id
The client ID of the user requesting impersonation- See Also:
-
getImpersonated_sub
The subject to be impersonated. Usually the same asUser.getUsername()
. -
getImpersonated_client_id
The client ID of the user to be impersonated.- See Also:
-
getRedirect_uri
Upon consuming the token, the URL to redirect the user to. -
getCsr_user_id
The user ID of the CSR that is impersonating a user. -
getImpersonating_self
Indicates that CSR is not impersonating as a customer but is operating as themselves. This is typically used for things like quote management. -
equals
-
hashCode
public int hashCode() -
toString
-