pub(crate) fn store_captured(
store: &Store,
plan: Capture,
value: Zeroizing<String>,
origin: &str,
given: Option<&CaptureAs>,
) -> Result<(String, String), String>Expand description
Stores a captured value: a new entry starts with the page’s origin as its
service or site (unless the agent gave one), the fields and expiry date the
agent gave; an existing one gets it as its new value, the old one kept 7 days.
Returns the entry’s id and label.