systemprompt-security 0.1.21

Security module for systemprompt.io - authentication, authorization, JWT, and token extraction
Documentation
1
2
3
4
5
6
7
8
use systemprompt_models::auth::UserType;

#[derive(Debug, Clone)]
pub struct ValidatedSessionClaims {
    pub user_id: String,
    pub session_id: String,
    pub user_type: UserType,
}