Expand description
Bearer-token authentication and the rules for when the server may run without it.
Structs§
- Token
Auth - Rejects requests whose
authorizationheader doesn’t carry the expected bearer token.
Functions§
- check_
exposure - Refuses configurations that would expose logs to the network without a token, and returns a warning for ones that are allowed but risky.
- generate_
token - A random 256-bit token, hex encoded.