ores.iam.session_messages
Table of Contents
The session protocol messages.
The session itself is an entity (ores.iam.session): the list and active
responses carry ores::iam::domain::session, the generated table type.
One shape no table backs lives here instead: session_view is the
denormalised, party-scoped projection of a session – the entity plus
party_id, visible_party_ids and username. None of those three has a
column, so none may be an entity member; they are message fields here,
beside the entity they annotate.
1. Includes
#include "ores.iam.api/domain/session.hpp" #include <boost/uuid/uuid.hpp> #include <chrono> #include <cstdint> #include <string> #include <vector>
2. Messages
2.1. session_view
/** * @brief A session with its party-scoped context. * * The session is the entity; party_id, visible_party_ids and username are * the denormalised fields reached through the account-party association. * They are message fields because no column backs them. */