Skip to main content

Module auth

Module auth 

Source
Expand description

Request identity, derived from headers.

Mirrors the parts of handleParseHeaders (middlewares.js:73-289) that the current routes need. The order of checks is upstream’s and is load-bearing.

Modules§

headers
Header names. Case-insensitive on the wire; http::HeaderMap handles that.

Enums§

Authority
What authority a request carries.
HeaderRejection
Why a request was refused before reaching a route.

Functions§

resolve
Resolve authority from headers.