1#ifndef TENDUKE_OIDC_OIDCSTATEUTILS_H
2#define TENDUKE_OIDC_OIDCSTATEUTILS_H
4#include "./OIDCState.h"
5#include "json/JSONParser.h"
6#include "jwt/JWTParser.h"
11namespace tenduke {
namespace oidc {
25std::string
stateToJson(
const std::shared_ptr<const tenduke::oidc::OIDCState> &state);
35 const std::string &stateAsJson,
Parser for JSON documents.
Definition JSONParser.h:15
Parses JWT.
Definition JWTParser.h:15
Container of OIDC state, describing the user session.
Definition OIDCState.h:17
std::string stateToJson(const tenduke::oidc::OIDCState &state)
Converts the state to JSON.
Definition OIDCStateUtils.cpp:21
std::unique_ptr< tenduke::oidc::OIDCState > stateFromJson(const std::string &stateAsJson, const tenduke::json::JSONParser &parser, const tenduke::jwt::JWTParser &jwtParser)
Parses JSON into tenduke::oidc::OIDCState.
Definition OIDCStateUtils.cpp:56
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7