Submit
Path:
~
/
/
opt
/
cloudlinux
/
alt-php53
/
root
/
usr
/
share
/
pear
/
Symfony
/
Component
/
Security
/
Core
/
Exception
/
File Content:
AuthenticationException.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Core\Exception; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; /** * AuthenticationException is the base class for all authentication exceptions. * * @author Fabien Potencier <fabien@symfony.com> * @author Alexander <iam.asm89@gmail.com> */ class AuthenticationException extends \RuntimeException implements \Serializable { private $token; /** * Get the token. * * @return TokenInterface */ public function getToken() { return $this->token; } /** * Set the token. * * @param TokenInterface $token */ public function setToken(TokenInterface $token) { $this->token = $token; } public function serialize() { return serialize(array( $this->token, $this->code, $this->message, $this->file, $this->line, )); } public function unserialize($str) { list( $this->token, $this->code, $this->message, $this->file, $this->line ) = unserialize($str); } /** * Message key to be used by the translation component. * * @return string */ public function getMessageKey() { return 'An authentication exception occurred.'; } /** * Message data to be used by the translation component. * * @return array */ public function getMessageData() { return array(); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
AccessDeniedException.php
645 bytes
0644
AccountExpiredException.php
656 bytes
0644
AccountStatusException.php
1345 bytes
0644
AuthenticationCredentialsNotFoundException.php
755 bytes
0644
AuthenticationException.php
1810 bytes
0644
AuthenticationServiceException.php
765 bytes
0644
BadCredentialsException.php
661 bytes
0644
CookieTheftException.php
757 bytes
0644
CredentialsExpiredException.php
682 bytes
0644
DisabledException.php
644 bytes
0644
ExceptionInterface.php
442 bytes
0644
InsufficientAuthenticationException.php
820 bytes
0644
InvalidArgumentException.php
514 bytes
0644
InvalidCsrfTokenException.php
651 bytes
0644
LockedException.php
634 bytes
0644
LogoutException.php
627 bytes
0644
NonceExpiredException.php
699 bytes
0644
ProviderNotFoundException.php
761 bytes
0644
RuntimeException.php
490 bytes
0644
SessionUnavailableException.php
904 bytes
0644
TokenNotFoundException.php
657 bytes
0644
UnsupportedUserException.php
572 bytes
0644
UsernameNotFoundException.php
1405 bytes
0644
N4ST4R_ID | Naxtarrr