Skip to content
Corex

WpLoginAttemptStore

Corex\Config\Security\LoginProtection\WpLoginAttemptStore · class · Config layer

WordPress persistence adapter for hashed login attempt and lockout evidence.

failures(string $identityHash, string $networkHash, DateTimeImmutable $since): array

Section titled “failures(string $identityHash, string $networkHash, DateTimeImmutable $since): array”

latestLockout(string $identityHash, string $networkHash, DateTimeImmutable $now): ?LoginAttemptRecord

Section titled “latestLockout(string $identityHash, string $networkHash, DateTimeImmutable $now): ?LoginAttemptRecord”

pruneExpired(DateTimeImmutable $now, int $limit): int

Section titled “pruneExpired(DateTimeImmutable $now, int $limit): int”

recentLockouts(DateTimeImmutable $now, int $limit): array

Section titled “recentLockouts(DateTimeImmutable $now, int $limit): array”

releaseActiveLockouts(DateTimeImmutable $now): int

Section titled “releaseActiveLockouts(DateTimeImmutable $now): int”