Model
AllowedIps
Magento\Developer\Model\Config\Backend\AllowedIps
What it does
This backend model validates IP addresses entered in the Developer Client Restrictions configuration before saving them to the database.
It filters out invalid IP addresses, displays a notice message for any invalid entries, and only saves the valid ones.
Developers would use this class when implementing IP-based access restrictions for developer tools in Magento 2.
Public Methods
- beforeSave()