Skip to main content

Module lien_notaire_use_cases

Module lien_notaire_use_cases 

Source
Expand description

Use cases for the notary link feature (#845 — ADR 0048, ADR 0051).

Four operations, all syndic-gated except the last:

  1. LienNotaireUseCases::issue — a syndic issues a link for one état daté. Returns the clear token ONCE.
  2. LienNotaireUseCases::renew — the syndic extends the active link by seven more days from now. Same token, new expire_le.
  3. LienNotaireUseCases::revoke — the syndic kills the active link before term.
  4. LienNotaireUseCases::verify_token — called on every GET /etats-dates/reference/{reference_number}?token=.... Repeatable (no consumption): the notary may read the same état daté several times within the seven-day window (ADR 0051).

Structs§

IssuedLienNotaireDto
LienNotaireStatusDto
LienNotaireUseCases