Process-local production consent authority. More...
#include <control_consent_authority.hpp>
Public Member Functions | |
| ControlBrokerConsentAuthority (ControlBrokerConsentAuthorityConfig config={}) | |
| ~ControlBrokerConsentAuthority () | |
| ControlBrokerConsentAuthority (const ControlBrokerConsentAuthority &)=delete | |
| ControlBrokerConsentAuthority & | operator= (const ControlBrokerConsentAuthority &)=delete |
| ControlConsentDecision | decide (const ControlGrantConsentRequest &request) |
| void | reset () noexcept |
| Invalidates an in-flight result. | |
Process-local production consent authority.
It serializes prompts, bounds their lifetime, and mints a fresh decision bound to the complete broker-derived request lineage only after an explicit user approval.
|
explicit |
| pulp::inspect::ControlBrokerConsentAuthority::~ControlBrokerConsentAuthority | ( | ) |
|
delete |
| ControlConsentDecision pulp::inspect::ControlBrokerConsentAuthority::decide | ( | const ControlGrantConsentRequest & | request | ) |
|
delete |
|
noexcept |
Invalidates an in-flight result.
A newly started daemon owns a new authority generation, so approvals cannot cross restart.