# `Countersign.Web.LinkController`
[🔗](https://github.com/mkreyman/countersign/blob/v0.1.0/lib/countersign/web/link_controller.ex#L1)

The signer's first pages, mounted by `Countersign.Router.countersign_routes/2`:
the landing page, the code request and the code check.

  * `landing`: for a live request, "<sender> sent you a document to
    sign." and the address hint the code will go to; for a signed request
    still inside its copy window, "Get a copy of the document you signed."
    Any other token gets the dead-link page: 410 naming the sender for a
    known request, 404 naming no one for an unknown token, both through the
    same lookup.
  * `code`: `Countersign.Requests.request_code/2`, then the code form; a
    refusal is said on the landing page.
  * `verify`: `Countersign.Requests.verify_code/3`. A match puts
    `%{"request_id" => id, "verified_at" => unix}` in the session under the
    config's `:session_key` and redirects to `<sign_path>/<token>/review`,
    or `/copy` for a signed request.

Nothing on these pages names the record, the client or the signer. The
host's pipeline supplies the root layout, the session, CSRF protection and
the headers. While the scope is switched off (`c:Countersign.Host.enabled?/1`)
every route answers the dead link.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
