19 #ifndef CORE_TRUST_AGENT_H_ 20 #define CORE_TRUST_AGENT_H_ 38 virtual ~
Agent() =
default;
50 typedef std::shared_ptr<Registry>
Ptr;
58 virtual void register_agent_for_user(
const core::trust::Uid& uid,
const std::shared_ptr<core::trust::Agent>& agent) = 0;
95 #endif // CORE_TRUST_AGENT_H_ Abstracts functionality for storing agent instances and associating them with a user id...
std::string description
An extended description that should be presented to the user on prompting.
Feature feature
The service-specific feature identifier.
std::string id
The id of the requesting application.
core::trust::Pid pid
The process id of the requesting application.
core::trust::Uid uid
The user id under which the requesting application runs.
Answer
Enumerates the possible answers given by a user.
Abstracts user-prompting functionality.
Summarizes all parameters for processing a trust request.
CORE_TRUST_DLL_PUBLIC bool operator==(const Agent::RequestParameters &lhs, const Agent::RequestParameters &rhs)
Returns true iff lhs and rhs are equal.
std::shared_ptr< Registry > Ptr
Convenience typedef for a shared ptr.
#define CORE_TRUST_DLL_PUBLIC