Class ImpersonationRequestToken
- java.lang.Object
-
- com.broadleafcommerce.auth.user.endpoint.ImpersonationRequestToken
-
public final class ImpersonationRequestToken extends Object
The values resolved from anImpersonationRequest
after redirect and token validation.- See Also:
ImpersonationEndpoint.consumeToken(HttpServletResponse, String)
,com.broadleafcommerce.auth.user.web.endpoint.ImpersonationEndpoint#impersonate(HttpServletResponse, ImpersonationRequest, Authentication)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getClient_id()
The client ID of the user requesting impersonationString
getCsr_user_id()
The user ID of the CSR that is impersonating a user.String
getImpersonated_client_id()
The client ID of the user to be impersonated.String
getImpersonated_sub()
The subject to be impersonated.String
getRedirect_uri()
Upon consuming the token, the URL to redirect the user to.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getClient_id
public String getClient_id()
The client ID of the user requesting impersonation- See Also:
AuthorizedClient.getClientId()
-
getImpersonated_sub
public String getImpersonated_sub()
The subject to be impersonated. Usually the same asUser.getUsername()
.
-
getImpersonated_client_id
public String getImpersonated_client_id()
The client ID of the user to be impersonated.- See Also:
AuthorizedClient.getClientId()
-
getRedirect_uri
public String getRedirect_uri()
Upon consuming the token, the URL to redirect the user to.
-
getCsr_user_id
public String getCsr_user_id()
The user ID of the CSR that is impersonating a user.
-
-