@Singleton public class JacksonStateSerDes extends java.lang.Object implements StateSerDes
| Constructor and Description | 
|---|
| JacksonStateSerDes(com.fasterxml.jackson.databind.ObjectMapper objectMapper) | 
| Modifier and Type | Method and Description | 
|---|---|
| State | deserialize(java.lang.String state)De-serializes the state string into a  Stateobject. | 
| java.lang.String | serialize(State state)Serializes the state into a string for sending with the authorization redirect. | 
public JacksonStateSerDes(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper - To serialize/de-serialize the statepublic State deserialize(java.lang.String state)
StateSerDesState object.deserialize in interface StateSerDesstate - The state stringpublic java.lang.String serialize(State state)
StateSerDesserialize in interface StateSerDesstate - The state object