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

A serializer that handle Auth::User object. More...

#include <UserSerializer.hpp>

Static Public Member Functions

static json serialize (const Auth::User &in, const SecurityContext &sc)
 
static void unserialize (Auth::User &out, const json &in, const SecurityContext &sc)
 

Detailed Description

A serializer that handle Auth::User object.

Definition at line 34 of file UserSerializer.hpp.

Member Function Documentation

◆ serialize()

json UserJSONSerializer::serialize ( const Auth::User in,
const SecurityContext sc 
)
static

Definition at line 33 of file UserSerializer.cpp.

◆ unserialize()

void UserJSONSerializer::unserialize ( Auth::User out,
const json in,
const SecurityContext sc 
)
static

Definition at line 105 of file UserSerializer.cpp.


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