|
10Duke Enterprise C++ Client
|
#include <DeserializeStateFromJSON.h>
Service for deserializing client state from JSON.
Used when bootstrapping the client.
Public Member Functions | |
| DeserializeStateFromJSON (const std::shared_ptr< const ::tenduke::jwt::JWTParserFactory > &newJWTParser, const std::shared_ptr< const ::tenduke::json::JSONParser > &parseJSON) | |
| Constructs new instance. | |
| ::tenduke::ee::ClientState | from (const std::string &stateSerializedAsJSON) const |
| Deserializes the state from JSON. | |
Protected Member Functions | |
| ::tenduke::ee::ClientState | parseState (const ::tenduke::json::JSONObject *document) const |
| Parses the state from JSON object. | |
| ::std::shared_ptr<::tenduke::oidc::OIDCState > | deserializeOIDCState (const ::tenduke::json::JSONObject *oidcSession) const |
| Parses OIDC-state from the state. | |
| tenduke::ee::DeserializeStateFromJSON::DeserializeStateFromJSON | ( | const std::shared_ptr< const ::tenduke::jwt::JWTParserFactory > & | newJWTParser, |
| const std::shared_ptr< const ::tenduke::json::JSONParser > & | parseJSON ) |
Constructs new instance.
| newJWTParser | - |
| parseJSON | - |
|
protected |
Parses OIDC-state from the state.
| oidcSession | - |
| ClientState tenduke::ee::DeserializeStateFromJSON::from | ( | const std::string & | stateSerializedAsJSON | ) | const |
Deserializes the state from JSON.
| stateSerializedAsJSON | - |
|
protected |
Parses the state from JSON object.
| document | - |