Expand description
Authorization contracts: actions, validator trait and path rules.
The server-side flow is: extract Authorization: Bearer <token> →
verify it (via a TokenVerifier of your choice) into
TokenClaims → ask a Validator
whether the claims allow the requested path + Action.
Structs§
- Path
Validator - The default validator: permission check + path-prefix check.
Enums§
Traits§
- Token
Verifier - Turns a raw bearer token string into validated claims.
- Validator
- Decides whether
claimsare allowed to performactiononpath.