public function HttpblResponseInterface::challengeFailureBlacklisted in http:BL 8
Build a response to a white-list challenge failure.
This is the response sent when local blacklisting is possible with storage enabled.
Parameters
string $ip: The IP address to evaluate.
string $return_date: A date formatted as time hence.
Return value
object $failureResponse A PRECONDITION FAILED (412) response.
1 method overrides HttpblResponseInterface::challengeFailureBlacklisted()
- HttpblResponse::challengeFailureBlacklisted in src/
HttpblResponse.php - Build a response to a white-list challenge failure.
File
- src/
HttpblResponseInterface.php, line 48
Class
- HttpblResponseInterface
- Provides an interface defining the HttpblResponse manager.
Namespace
Drupal\httpblCode
public function challengeFailureBlacklisted($ip, $return_date);