Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication surface.

Covers the /auth/* REST endpoints: current-user info, logout, token refresh, password validation, API key management (CRUD), user management (admin), and the phase15 admin endpoints: key rotation, scoped key creation, token introspection, and audit-log query.

All write operations that require Role::Admin are marked in their doc comments. Calling them without the right role will return a VectorizerError wrapping the server’s 403 response.