Module context
Expand description
Request-scoped context: authenticated identity, structured
principal, transport extensions, plus the AuthProvider trait
that auth middlewares implement.
Structs§
- Cached
Auth Provider - An
AuthProviderthat always returns a single, already-establishedCratestackContext, ignoring whateverRequestContextit is asked to authenticate. - Cratestack
Auth Identity - Cratestack
Context - Principal
Context - Principal
Facet - Request
Context - Everything an
AuthProvidergets to see about an inbound request. - System
Context - A context representing trusted in-process/server code (a procedure, a worker, a reconciliation job) rather than an end user.
Traits§
- Auth
Provider - Resolves the caller of a request into a
CratestackContext.