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

A serializer that handle Cred::ICredential object. More...

#include <CredentialSerializer.hpp>

Static Public Member Functions

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

Detailed Description

A serializer that handle Cred::ICredential object.

Definition at line 34 of file CredentialSerializer.hpp.

Member Function Documentation

◆ serialize()

json CredentialJSONSerializer::serialize ( const Cred::ICredential in,
const SecurityContext sc 
)
static

Definition at line 34 of file CredentialSerializer.cpp.

◆ unserialize()

void CredentialJSONSerializer::unserialize ( Cred::ICredential out,
const json in,
const SecurityContext sc 
)
static

Definition at line 71 of file CredentialSerializer.cpp.


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