Functions§
- change_
password - Change user password
- constant_
time_ 🔒compare - Constant-time comparison to prevent timing attacks
- create_
auth_ 🔒token_ and_ session - Helper function to create a JWT token and session
- get_
current_ user - Get the current user’s profile
- get_
user_ profile - Get the current user’s complete profile including meta and PII data
- handle_
login - Login a user
- handle_
register - Register a new user
- invalidate_
user_ session - Invalidate a specific session
- is_
password_ 🔒valid - Validate password strength
- list_
user_ sessions - list all sessions for a user
- list_
users - List all users
- logout
- Logout the current user
- update_
profile - Update user profile information
- update_
user_ profile - Update user profile information - handles both PII and meta updates in a single endpoint