BadRequest.php
5 years ago
BadState.php
5 years ago
Csrf.php
5 years ago
NotApproved.php
5 years ago
Provider.php
5 years ago
Csrf.php
22 lines
| 1 | <?php |
| 2 | namespace Dropbox; |
| 3 | |
| 4 | /** |
| 5 | * Thrown if the given 'state' parameter doesn't contain the CSRF token from the user's session. |
| 6 | * This is blocked to prevent CSRF attacks. |
| 7 | * |
| 8 | * The recommended action is to respond with an HTTP 403 error page. |
| 9 | */ |
| 10 | class WebAuthException_Csrf extends \Exception |
| 11 | { |
| 12 | /** |
| 13 | * @param string $message |
| 14 | * |
| 15 | * @internal |
| 16 | */ |
| 17 | function __construct($message) |
| 18 | { |
| 19 | parent::__construct($message); |
| 20 | } |
| 21 | } |
| 22 |