Module auth

Module auth 

Source
Expand description

Authentication and Authorization Module

Provides JWT-based authentication and role-based access control (RBAC) for the IPFRS HTTP API.

Structs§

ApiKey
API Key for long-lived authentication
ApiKeyStore
API Key store
AuthState
Authentication middleware state
Claims
JWT claims structure
JwtManager
JWT token manager
User
User information stored in the system
UserStore
User store (in-memory for now, should be persisted in production)

Enums§

AuthError
Authentication errors
Permission
Permissions that can be granted to users
Role
User roles in the system

Type Aliases§

AuthResult