LoginThrottleInterface
interface LoginThrottleInterface (View source)
Records login attempts and reports lockouts; the Application layer owns the storage and thresholds.
Stage identifiers are the {\Poweradmin\Domain\Port\LoginAttemptStage} values.
Methods
void
recordAttempt(string $username, string $ipAddress, bool $successful, string $attemptType = 'password', int|null $userId = null)
No description
bool
isAccountLocked(string $username, string $ipAddress, string $attemptType = 'password', int|null $userId = null)
No description
Details
void
recordAttempt(string $username, string $ipAddress, bool $successful, string $attemptType = 'password', int|null $userId = null)
No description
bool
isAccountLocked(string $username, string $ipAddress, string $attemptType = 'password', int|null $userId = null)
No description