Expand description
Authentication and guard support.
Structs§
- AndGuard
- Guard that succeeds only when both inner guards succeed.
- Guard
Context - Typed guard context.
- Guard
Error - Authorization failure.
- Guard
Layer - Tower layer that enforces a Nidus guard for an HTTP route.
- Guard
Service - Service produced by
GuardLayer. - OrGuard
- Guard that succeeds when either inner guard succeeds.
Traits§
Functions§
- guard_
layer - Creates a Tower layer that checks a typed guard before calling the inner service.
Type Aliases§
- Result
- Result type for guards.