Skip to main content

Module card_target

Module card_target 

Source
Expand description

The card a whole-card fill is for, resolved by name before anything is asked (docs/specs/SPEC_VAULT_CARD_ENTRIES_FULL_CARD_DATA_AND_AUTOFILL_2026_11_08.md §6).

Browser fill with vault: "<card id>" names the card; vault: "card" means the person’s default one. vault: "<id>.<part>" is the older one-field fill and is not resolved here. What is returned is what the person is shown in the approval (the brand, the last four and the expiry) and nothing the agent could use.

Structs§

CardTarget
A card named for a whole-card fill.

Enums§

Asked
What vault names for a whole-card fill.

Functions§

card_asked
Whether vault names a whole card: a card’s id with no part, or card for the default.
card_by_id
A card named by its id, among the Vaults the agent may use: what the person picked.
card_choices
Every card among the Vaults the agent may use, for the person’s picker: the default first, then the most recently saved. A card that can’t be opened (changed, or sealed with another Vault key) is left out of the list: it can’t be filled, and it must not stop a fill of another card.
parts_for_fill
The card’s parts for the host to type, opened only once the person has said yes; never returned to an agent. Refused if the entry was replaced, or its card changed, while they decided.