trust-store 2.0.3
Provides a common implementation of a trust store to be used by trusted helpers.
core::trust::Agent::Registry Struct Referenceabstract

Abstracts functionality for storing agent instances and associating them with a user id. More...

#include <agent.h>

Collaboration diagram for core::trust::Agent::Registry:

Public Types

typedef std::shared_ptr< Registry > Ptr
 Convenience typedef for a shared ptr.

Public Member Functions

virtual void register_agent_for_user (const core::trust::Uid &uid, const std::shared_ptr< core::trust::Agent > &agent)=0
 Registers an agent for the given uid.
virtual void unregister_agent_for_user (const core::trust::Uid &uid)=0
 Removes the agent for the given uid from the registry.

Detailed Description

Abstracts functionality for storing agent instances and associating them with a user id.

Definition at line 47 of file agent.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<Registry> core::trust::Agent::Registry::Ptr

Convenience typedef for a shared ptr.

Definition at line 50 of file agent.h.

Member Function Documentation

◆ register_agent_for_user()

virtual void core::trust::Agent::Registry::register_agent_for_user ( const core::trust::Uid & uid,
const std::shared_ptr< core::trust::Agent > & agent )
pure virtual

Registers an agent for the given uid.

◆ unregister_agent_for_user()

virtual void core::trust::Agent::Registry::unregister_agent_for_user ( const core::trust::Uid & uid)
pure virtual

Removes the agent for the given uid from the registry.


The documentation for this struct was generated from the following file:
  • /build/reproducible-path/trust-store-2.0.3/include/core/trust/agent.h