diff options
Diffstat (limited to 'Exception')
-rw-r--r-- | Exception/CookieTheftException.php | 22 | ||||
-rw-r--r-- | Exception/TokenNotFoundException.php | 20 |
2 files changed, 42 insertions, 0 deletions
diff --git a/Exception/CookieTheftException.php b/Exception/CookieTheftException.php new file mode 100644 index 0000000..a69ccdf --- /dev/null +++ b/Exception/CookieTheftException.php @@ -0,0 +1,22 @@ +<?php + +namespace Symfony\Component\Security\Exception; + +/* + * This file is part of the Symfony package. + * + * (c) Fabien Potencier <fabien.potencier@symfony-project.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * This exception is thrown when the RememberMeServices implementation + * detects that a presented cookie has already been used by someone else. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class CookieTheftException extends AuthenticationException +{ +}
\ No newline at end of file diff --git a/Exception/TokenNotFoundException.php b/Exception/TokenNotFoundException.php new file mode 100644 index 0000000..65d2d2a --- /dev/null +++ b/Exception/TokenNotFoundException.php @@ -0,0 +1,20 @@ +<?php +namespace Symfony\Component\Security\Exception; + +/* + * This file is part of the Symfony package. + * + * (c) Fabien Potencier <fabien.potencier@symfony-project.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * TokenNotFoundException is thrown if a Token cannot be found. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class TokenNotFoundException extends AuthenticationException +{ +} |