Class: OpenLoam::AuthAttempt
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- OpenLoam::AuthAttempt
- Includes:
- GeneratedKey
- Defined in:
- app/models/open_loam/auth_attempt.rb
Overview
A single failed authentication attempt, for rate-limiting/lockout (OpenLoam::AuthThrottle). Deliberately NOT tenant-scoped — authentication happens BEFORE a tenant is chosen (login), so this is a global auth-layer table keyed by the submitted identifier (the same reason OpenLoam::MfaCredential is global). Allowlisted in the guardrails tenancy lint.