Module auth

Source
Expand description

Chain-agnostic authentication and authorization primitives.

This module provides a pluggable auth surface so curator and strategy vaults can share the runtime while using different authorization mechanisms.

The core trait AuthAdapter allows each chain executor to implement its own signature verification while sharing the same action kinds and error types.

Enums§

ActionKind
Kinds of actions that require authorization.
AuthError
AuthPolicyClass
Shared authorization class for an action.
Caller

Traits§

AuthAdapter
Pluggable authorization adapter interface.

Functions§

boundary_policy_class
Boundary executor policy class for an action.
canonical_policy_class
Canonical shared policy class for an action.

Type Aliases§

AuthResult
Result type for auth operations.