|
| | init () |
| |
| | done () |
| |
| | getSession () |
| |
| | publish ($property, $visibility=self::READABLE) |
| | Publish a property (or hide it again). More...
|
| |
| | alias ($alias, $property, $object=null) |
| | Define an alias for a property (of another object). More...
|
| |
| | configure ($config) |
| | Configure the object. More...
|
| |
| | _get ($key) |
| | Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
| |
| | _set ($key, $value) |
| | Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
| |
| | $_fred = null |
| |
| | $_config = null |
| |
| | $_name = null |
| |
| | $_components = [] |
| | Local components (key = component name, value = component). More...
|
| |
| | $_session = null |
| |
| | $_published = [] |
| | Published properties (key = name of property, value = visibility). More...
|
| |
| | $_aliases = [] |
| | Alias properties (key = alias, value = [object,property]). More...
|
| |
Definition at line 5 of file Check.php.
◆ check()
| check |
( |
|
$expected = false | ) |
|
|
abstract |
Perform the check.
- Parameters
-
| bool | $expected | True if this is an expected call. |
- Returns
- bool True if everything is fine. False if something is wrong. Null if something is wrong, but it is not significant enough to add a ban for it (e.g. repeated error).
Reimplemented in Throttle, Polling, Honeypot, Csrf, UserAgent, and Path.
◆ clientConfig()
Public configuration.
- Returns
- array Public configuration for this component in key => value pairs.
Reimplemented from Component.
Reimplemented in Csrf.
Definition at line 17 of file Check.php.
◆ unBan()
Unban a client's IP address.
- Parameters
-
- Returns
- bool True if the ban was successful deleted.
Reimplemented in Polling, and Throttle.
Definition at line 25 of file Check.php.
◆ $delay
Time (seconds) a ban stays in the registry (empty = use default).
Definition at line 7 of file Check.php.
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Security/Check.php