cpex-core 0.2.2

CPEX plugin runtime core — PluginManager, executor, hooks, and config.
Documentation
// Location: ./crates/cpex-core/src/delegation/mod.rs
// Copyright 2025
// SPDX-License-Identifier: Apache-2.0
// Authors: Teryl Taylor
//
// Token-delegation hook family — TokenDelegate.
//
// Mirrors the identity/ module layout: the hook marker + handler
// trait machinery (provided by cpex-core's generic hooks layer)
// plus the hook-specific payload + result types.
//
// Sub-step A scope: data shapes + host helpers — no executor
// wiring (that's free via `mgr.invoke_named::<TokenDelegateHook>`),
// no TokenCacheControl trait (that lands in a follow-up slice with
// the cache infrastructure).

pub mod hook;
pub mod payload;

pub use hook::{TokenDelegateHook, HOOK_TOKEN_DELEGATE};
pub use payload::{AttenuationConfig, AuthEnforcedBy, DelegationPayload, TargetType};