Skip to main content

Module vault_prompt_share

Module vault_prompt_share 

Source
Expand description

A shared sign-in for a site’s HTTP prompt, in an agent’s own browser profile (docs/specs/SPEC_VAULT_AGENTS_ENTER_CREDENTIALS_WHEREVER_ASKED_2026_11_16.md A11).

The host’s credential broker asks for a pane’s profile, origin and realm, as it does for the profile’s own sign-ins ([super::service::credential]). When the profile is an agent’s own and holds none, the login the person shared with that agent answers. This module says whose profile it is, what the host is told, and which uses the person has already said yes to: an “Always” from the share card, or the card’s yes itself, which covers the one prompt that was waiting for it.

Structs§

Found 🔒
What the host is told of a shared sign-in that answers a prompt: never the password, and the user name masked.

Constants§

YES_COVERS 🔒
How long the person’s yes on a share card also answers the prompt that waited for it.

Statics§

YESES 🔒
The yeses given on a share card that no sign-in has used yet, by entry and agent uid, with when each lapses.

Functions§

fill 🔒
The user name and password of the shared sign-in that answers space, for the browser to give the site. The use is recorded as the agent’s, and a yes from the share card is used up by it.
lookup 🔒
The shared sign-in that answers space, when its profile is an agent’s own.
owner_of 🔒
The agent whose own browser profile profile is: how its Vaults name it, and the name the person reads. None for Personal, a named profile, and a profile whose agent is gone.
refused 🔒
The site refused the shared sign-in given for space: it is marked, as the profile’s own would be.
share_removed 🔒
The share of entry with who (an agent’s uid, or *) was removed: a yes still waiting to be used goes with it.
yes_given 🔒
The person said yes on the share card of entry for agent uid: the next prompt it answers in the next YES_COVERS is not asked about again.
yes_given_until 🔒
yes_used 🔒
The sign-in the yes was for has been given to the browser: the next one asks.
yes_waits 🔒