The signing page, <sign_path>/:token/review, past the code and behind
Countersign.Web.Admit.
Steps:
:consent: the config's disclosure (Countersign.Disclosureby default), a box to tick, Continue, and "Sign on paper instead". Continuing callsCountersign.Requests.consent/3.:review: the document, framed from<sign_path>/:token/documentwith a download link to the same URL, then the signature: the signer's name (prefilled, editable, 1-200 characters) and either a drawn signature (the config's:signature_pad, when given) or the name typed again. Sign callsCountersign.Requests.sign/3with the URL's token. Decline, with an optional reason, and "Sign on paper instead" end the request throughCountersign.Requests.decline/4.:signed,:declined: "<sender> has been told."; a signed page offers the copy at<sign_path>/:token/copy.:dead: one sentence, nothing else.
Before the review step shows, Countersign.Requests.review/2 checks the
document is the one that was sent; a changed one supersedes the request.
Nothing on the page names the client or the record beyond what the
document itself shows.
Summary
Functions
The signer's IP the page records: the one the host's plug put in the
session under the config's :client_ip_session_key, else the socket's
peer address, which behind a proxy is the proxy's. A config with no key
always takes the peer.
Functions
@spec signer_ip(Countersign.Config.t(), map(), map() | nil) :: String.t() | nil
The signer's IP the page records: the one the host's plug put in the
session under the config's :client_ip_session_key, else the socket's
peer address, which behind a proxy is the proxy's. A config with no key
always takes the peer.