|
lintel 0.2.0
|
#include <UserTokenDto.h>
Public Member Functions | |
| UserTokenDto (std::string id) | |
| UserTokenDto ()=default | |
| void | serialize (rapidjson::Writer< rapidjson::StringBuffer > *writer) const override |
| bool | deserialize (const rapidjson::Value &obj) override |
| const std::string & | getId () const |
Public Member Functions inherited from lintel::JsonSerializable | |
| JsonSerializable ()=default | |
| virtual | ~JsonSerializable ()=default |
| virtual std::string | serialize () const |
| virtual void | deserialize (const std::string &json) |
DTO representing a user token
|
explicit |
Construct from a token ID string
| id | The token ID |
|
default |
Default constructor
Deserialize from JSON
| obj | The JSON value |
Reimplemented from lintel::JsonSerializable.
| const std::string & lintel::UserTokenDto::getId | ( | ) | const |
Get the token ID
|
overridevirtual |