Skip to main content

Module token

Module token 

Source
Expand description

Gate three: a confirmation bound to one plan, one repository, and one use.

The token is not a password — it is proof that the exact plan being applied is the one a preview already checked against the working tree. So it carries a fingerprint of the plan rather than a random value alone, and presenting it for a different plan fails as loudly as presenting no token at all.

Structs§

ConfirmToken
A confirmation handed to the caller after a successful preview.
TokenStore
The issued confirmations of one server process.