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
BadState.php
20 lines
| 1 | <?php |
| 2 | namespace Dropbox; |
| 3 | |
| 4 | /** |
| 5 | * Thrown if all the parameters are correct, but there's no CSRF token in the session. This |
| 6 | * probably means that the session expired. |
| 7 | * |
| 8 | * The recommended action is to redirect the user's browser to try the approval process again. |
| 9 | */ |
| 10 | class WebAuthException_BadState extends \Exception |
| 11 | { |
| 12 | /** |
| 13 | * @internal |
| 14 | */ |
| 15 | function __construct() |
| 16 | { |
| 17 | parent::__construct("Missing CSRF token in session."); |
| 18 | } |
| 19 | } |
| 20 |