Package org.keycloak.protocol
Class ClientData
java.lang.Object
org.keycloak.protocol.ClientData
Encapsulates necessary data about client login request (OIDC or SAML request). Can be useful for cases when authenticationSession
expired and we need to redirect back to the client with the error due to this.
- Author:
- Marek Posolda
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientData
(String redirectUri, String responseType, String responseMode, String state) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientData
decodeClientDataFromParameter
(String clientDataParam) encode()
getState()
void
setRedirectUri
(String redirectUri) void
setResponseMode
(String responseMode) void
setResponseType
(String responseType) void
toString()
-
Field Details
-
logger
protected static final org.jboss.logging.Logger logger
-
-
Constructor Details
-
ClientData
public ClientData() -
ClientData
-
-
Method Details
-
getRedirectUri
-
setRedirectUri
-
getResponseType
-
setResponseType
-
getResponseMode
-
setResponseMode
-
getState
-
setState
-
toString
-
decodeClientDataFromParameter
- Throws:
IOException
-
encode
-