nythos-core 0.2.1

Infrastructure-free Rust core library for Nythos authentication and authorization.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Foundational domain types and identity models.
//!
//! This module is the home for shared primitives such as typed IDs,
//! value objects, and core identity entities.

pub mod identity;
pub mod ids;
pub mod oauth;
pub mod value_objects;

pub use identity::{Tenant, TenantAuthPolicy, TenantSettings, User, UserStatus};
pub use ids::{RoleId, SessionId, TenantId, UserId};
pub use oauth::{
    ExternalIdentity, OAuthProviderKind, TenantOAuthProviderConfig, VerifiedExternalProfile,
};
pub use value_objects::{DisplayName, Email, LoginIdentifier, Password, Username};