systemprompt-models 0.10.2

Foundation data models for systemprompt.io AI governance infrastructure. Shared DTOs, config, and domain types consumed by every layer of the MCP governance pipeline.
Documentation
//! Authentication and authorization value types.
//!
//! JWT and cloud claim shapes, the [`AuthenticatedUser`] request
//! identity, [`Permission`] parsing, base role definitions, and the
//! OAuth/PKCE enums (`GrantType`, `ResponseType`, `PkceMethod`).
//! Public functions return [`AuthError`].

pub mod claims;
pub mod cloud_claims;
pub mod enums;
pub mod permission;
pub mod roles;
pub mod types;

pub use claims::JwtClaims;
pub use cloud_claims::CloudAuthClaims;
pub use enums::*;
pub use permission::{Permission, parse_permissions, permissions_to_string};
pub use roles::{BaseRole, BaseRoles};
pub use types::{AuthError, AuthenticatedUser, BEARER_PREFIX, GrantType, PkceMethod, ResponseType};