slave 0.13.1

CLI for slave, a Laravel-inspired Rust framework for MCP-first apps: scaffold an MCP backend with auth, roles, teams and SurrealDB migrations, add server-rendered web apps, and route them by domain or path
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! The `auth` module: signing in and who is signed in.
//!
//! Users sign in with a code sent to their email (`auth_email_start`, then
//! `auth_email_verify`) or with a passkey they added, and get a session token
//! for `Authorization: Bearer <token>`. `slave_framework::auth` sends the
//! codes and keeps the sessions; [`AuthService`] creates the user on their
//! first sign-in. There are no passwords.

mod dto;
mod services;
mod tools;

pub use services::auth_service::AuthService;
pub use tools::tools;