Skip to main content

Module landing

Module landing 

Source
Expand description

Serving didbot_brand::page: every page a browser lands on during a sign-in here, the operator’s (crate::dashboard) and an account’s (crate::routes::oauth), and every refusal it can meet on the way.

A refusal names what happened and what to do next. It never carries an error’s own text: that is logged, since it can quote a request a code or ticket rode in on.

Constants§

AUTHORIZE
The heading of every page GET /oauth/authorize answers with.
BROWSER
The heading of every page GET /oauth/browser answers with.
OPERATOR
The heading of every page the operator’s sign-in answers with.

Functions§

page
landing under status, uncached, with the policy its stylesheet needs.
refused
A step that ended without what it was for: what happened, and next is what to do about it. error names the refusal in an attribute, for a tool reading the page. extra is markup set between the two.
server_error
This server failed to answer; why goes to the log, not the page.
too_many
Too many requests from one address.