1#ifndef TENDUKE_EE_DESERIALIZESTATEFROMJSON_H
2#define TENDUKE_EE_DESERIALIZESTATEFROMJSON_H
4#include "./ClientState.h"
5#include "json/JSONObject.h"
6#include "json/JSONParser.h"
7#include "jwt/JWTParserFactory.h"
27 const std::shared_ptr<const ::tenduke::jwt::JWTParserFactory> &newJWTParser,
28 const std::shared_ptr<const ::tenduke::json::JSONParser> &parseJSON
51 ::std::shared_ptr<::tenduke::oidc::OIDCState>
deserializeOIDCState(const ::tenduke::json::JSONObject * oidcSession)
const;
54 const std::shared_ptr<const ::tenduke::jwt::JWTParserFactory> newJWTParser;
55 const std::shared_ptr<const ::tenduke::json::JSONParser> parseJSON;
::tenduke::ee::ClientState parseState(const ::tenduke::json::JSONObject *document) const
Parses the state from JSON object.
Definition DeserializeStateFromJSON.cpp:62
::std::shared_ptr<::tenduke::oidc::OIDCState > deserializeOIDCState(const ::tenduke::json::JSONObject *oidcSession) const
Parses OIDC-state from the state.
Definition DeserializeStateFromJSON.cpp:25
DeserializeStateFromJSON(const std::shared_ptr< const ::tenduke::jwt::JWTParserFactory > &newJWTParser, const std::shared_ptr< const ::tenduke::json::JSONParser > &parseJSON)
Constructs new instance.
Definition DeserializeStateFromJSON.cpp:100
::tenduke::ee::ClientState from(const std::string &stateSerializedAsJSON) const
Deserializes the state from JSON.
Definition DeserializeStateFromJSON.cpp:76
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition APIRequest.h:4
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4
Client state.
Definition ClientState.h:15