Functionsยง
- cargo_
auth_ when_ required - Middleware that checks if a cargo token is provided when
settings.registry.auth_requiredistrue. - token_
or_ session_ auth_ when_ required - Middleware that allows either cargo token auth (Authorization header) or web session auth
(signed session cookie) when
settings.registry.auth_requiredistrue.