|
ORE Studio 0.0.4
|
Request to save an account (create or update). More...
#include <account_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< save_account_request, ores::utility::serialization::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Request to save an account (create or update).
For creates: leave account_id as nil UUID, provide username and password. For updates: set account_id to the existing account, password is optional.
Note: Administrative privileges are managed through RBAC roles. Use assign_role_request to grant roles after account creation.
| std::vector< std::byte > serialize | ( | ) | const |
Serialize request to bytes.
Format: