nythos-core 0.2.1

Infrastructure-free Rust core library for Nythos authentication and authorization.
Documentation
//! Pure trait contracts required by `nythos-core`.
//!
//! Implementations of these ports live outside the core crate.

pub mod external_identity;
pub mod role;
pub mod security;
pub mod session;
pub mod tenant_oauth;
pub mod tenant_policy;
pub mod user;

pub use external_identity::ExternalIdentityRepository;
pub use role::{RoleAssignmentInput, RoleRepository};
pub use security::{PasswordHasher, RevocationChecker, TokenSigner};
pub use session::{RefreshTokenRotation, SessionRecord, SessionStore};
pub use tenant_oauth::TenantOAuthProviderConfigPort;
pub use tenant_policy::TenantPolicyPort;
pub use user::{NewUser, UserCredentials, UserRepository};