Expand description
security_core — Shared types, traits, and abstractions for the SunLit Security Libraries.
Every downstream crate depends on this crate for shared identity types, data classification, security severity levels, correlation context, time abstraction, redaction, and identity resolution. This crate contains only types and traits — no business logic, no I/O.
Modules§
- classification
- Data classification levels.
- context
- Correlation context and request-scoped metadata.
- identity
- Identity abstraction — open trait for identity-agnostic authorization.
- redact
- Redaction trait and display wrapper for sensitive values.
- severity
- Security event severity levels.
- time
- Time-source abstraction for testable time-dependent logic.
- types
- Newtype ID wrappers for domain identifiers.