Log in
Model

Quantity

Magento\Security\Model\SecurityChecker\Quantity

What it does

This security checker validates that password reset requests don't exceed configured quantity limits within a specific time period.

It tracks requests by security event type, account reference, and IP address, throwing a SecurityViolationException when the maximum number of allowed attempts is reached.

Developers use this to protect against brute force attacks and abuse of password reset functionality.

Public Methods

  • check()