Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication and Role-Based Access Control (RBAC)

Comprehensive security system for AetherShell:

  • Token-based authentication (JWT, API keys)
  • Role-based access control with permissions
  • Session management
  • Audit logging
  • Multi-factor authentication support

Structs§

ApiKey
API Key for programmatic access
AuditEntry
Audit log entry
AuthManager
Authentication Manager
AuthResult
Authentication result
AuthToken
Authentication token
Permission
Permission definition
RbacManager
Role-Based Access Control Manager
Role
Role definition
Session
User session
User
User identity

Enums§

AuditEventType
Audit event type
AuditResult
Credential
Credential type for authentication
TokenType
Token type enumeration

Functions§

create_auth_builtins
Create auth builtins for AetherShell