Skip to main content

Module security

Module security 

Source
Expand description

Authentication security module

Provides comprehensive security features for authentication:

  • Brute force protection with account lockout
  • Password strength validation (length, complexity, entropy)
  • Audit logging for authentication events
  • Rate limiting on authentication attempts per IP
  • Configurable lockout policies

Structs§

AuditLogEntry
Authentication audit log entry
AuditLogger
Audit logger for authentication events
AuthSecurity
Main authentication security manager
AuthSecurityBuilder
Builder for AuthSecurity with fluent API
BruteForceConfig
Configuration for brute force protection
BruteForceProtector
Brute force protector with account lockout
PasswordStrengthConfig
Configuration for password strength validation
PasswordStrengthResult
Password strength validation result
PasswordStrengthValidator
Password strength validator
RateLimitConfig
Configuration for rate limiting
RateLimiter
Rate limiter for authentication attempts
SecurityConfig
Overall security configuration

Enums§

AuthEvent
Authentication event type