1 #ifndef LOGIN_TENTACLE_CLASS
2 #define LOGIN_TENTACLE_CLASS
25 class entity_registry;
26 class octopus_request_id;
A very common template for a dynamic array of bytes.
Outcomes describe the state of completion for an operation.
Provides a security model for the octopus.
An infoton is an individual request parcel with accompanying information.
Provides rudimentary login services.
login_tentacle(entity_registry &security, int dormancy_period=7 *basis::MINUTE_ms)
constructs a login manager based on "security".
virtual ~login_tentacle()
DEFINE_CLASS_NAME("login_tentacle")
virtual basis::outcome consume(infoton &to_chow, const octopus_request_id &item_id, basis::byte_array &transformed)
the base login_tentacle allows anyone to log in.
virtual void expunge(const octopus_entity &to_remove)
trashes the records we were keeping for the entity.
virtual basis::outcome reconstitute(const structures::string_array &classifier, basis::byte_array &packed_form, infoton *&reformed)
recreates a "reformed" infoton from the packed data.
Provides a way of identifying users of an octopus object.
Identifies requests made on an octopus by users.
provides prefab implementations for parts of the tentacle object.
An array of strings with some additional helpful methods.
const int MINUTE_ms
Number of milliseconds in a minute.
Automates some common tasks for tentacle implementations. This template provides some default impleme...