Skip to main content

cpex_core/identity/
mod.rs

1// Location: ./crates/cpex-core/src/identity/mod.rs
2// Copyright 2025
3// SPDX-License-Identifier: Apache-2.0
4// Authors: Teryl Taylor
5//
6// Identity hook family — IdentityResolve.
7//
8// Mirrors the cmf/ module layout: the hook marker + handler trait
9// machinery (provided by cpex-core's generic hooks layer) plus the
10// hook-specific payload + result types. Token-delegation lives in
11// its own sibling module (slice 3); the two hook families share
12// nothing in terms of payloads so they get separate `HookTypeDef`
13// markers.
14//
15// Sub-step A scope: data shapes only — no executor wiring, no
16// framework merge-into-Extensions logic, no APL integration. Those
17// land in sub-steps B / C / D.
18
19pub mod hook;
20pub mod payload;
21pub mod route_config;
22
23pub use hook::{IdentityHook, HOOK_IDENTITY_RESOLVE};
24pub use payload::{IdentityPayload, TokenSource};
25pub use route_config::{RouteIdentityConfig, RouteIdentityStep};