123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- declare(strict_types=1);
- namespace OCP\Security\VerificationToken;
- class InvalidTokenException extends \Exception {
-
- public function __construct(int $code) {
- parent::__construct('', $code);
- }
-
- public const USER_UNKNOWN = 1;
-
- public const TOKEN_NOT_FOUND = 2;
-
- public const TOKEN_DECRYPTION_ERROR = 3;
-
- public const TOKEN_INVALID_FORMAT = 4;
-
- public const TOKEN_EXPIRED = 5;
-
- public const TOKEN_MISMATCH = 6;
- }
|