Leosac  0.8.0
Open Source Access Control
Leosac::PolymorphicCredentialJSONStringSerializer Struct Reference

Serialize the object as a JSON string. More...

#include <PolymorphicCredentialSerializer.hpp>

Static Public Member Functions

static std::string serialize (const Cred::ICredential &in, const SecurityContext &sc)
 
static void unserialize (Cred::ICredential &out, const std::string &in, const SecurityContext &sc)
 

Detailed Description

Serialize the object as a JSON string.

See also
PolymorphicCredentialJSONSerializer

Definition at line 105 of file PolymorphicCredentialSerializer.hpp.

Member Function Documentation

◆ serialize()

std::string PolymorphicCredentialJSONStringSerializer::serialize ( const Cred::ICredential in,
const SecurityContext sc 
)
static

Definition at line 102 of file PolymorphicCredentialSerializer.cpp.

◆ unserialize()

static void Leosac::PolymorphicCredentialJSONStringSerializer::unserialize ( Cred::ICredential out,
const std::string &  in,
const SecurityContext sc 
)
static

The documentation for this struct was generated from the following files: