Skip to main content

Module page

Module page 

Source
Expand description

The page a browser lands on at each step of a sign-in: the server’s authorize and browser pages, the operator dashboard’s sign-in, and the loopback listener a command line waits on.

Everything it shows is inline, so one page works from a server and from a listener that answers once and closes. Its one stylesheet is the dashboard’s, and content_security_policy admits that stylesheet by hash and nothing else.

Structs§

Landing
One landing page.

Enums§

Tone
The colour a page’s outcome box is drawn in.

Constants§

STYLE
The dashboard’s stylesheet, then what a landing page adds to it.

Functions§

content_security_policy
The Content-Security-Policy a landing page is served under: its own stylesheet and its inline icon, and no script, fetch, form or frame.
escape
value, safe in an HTML attribute or in text.