Skip to main content

Module request

Module request 

Source
Expand description

One request for credentials, from the checks to the answer (spec §5), with the agent already identified. Everything that can be decided without an HTTP server or a real process is decided here, so it is tested without either.

Structs§

Ask
Who is asking and for what. The agent is the one the container’s token was minted for.
Granted
Refusal
A refusal: the status it travels with, its code, and the sentence the agent is shown (spec §10).

Functions§

credentials_for
The checks of spec §5 in order, then the cache or the mint.