diff options
Diffstat (limited to 'Authentication/Token')
-rw-r--r-- | Authentication/Token/AnonymousToken.php | 10 | ||||
-rw-r--r-- | Authentication/Token/PreAuthenticatedToken.php | 4 | ||||
-rw-r--r-- | Authentication/Token/RememberMeToken.php | 9 | ||||
-rw-r--r-- | Authentication/Token/Token.php | 12 | ||||
-rw-r--r-- | Authentication/Token/TokenInterface.php | 8 | ||||
-rw-r--r-- | Authentication/Token/UsernamePasswordToken.php | 4 |
6 files changed, 28 insertions, 19 deletions
diff --git a/Authentication/Token/AnonymousToken.php b/Authentication/Token/AnonymousToken.php index c8fb1aa..68174ff 100644 --- a/Authentication/Token/AnonymousToken.php +++ b/Authentication/Token/AnonymousToken.php @@ -1,16 +1,16 @@ <?php -namespace Symfony\Component\Security\Authentication\Token; - /* - * This file is part of the Symfony framework. + * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Authentication\Token; + /** * AnonymousToken represents an anonymous token. * diff --git a/Authentication/Token/PreAuthenticatedToken.php b/Authentication/Token/PreAuthenticatedToken.php index 9532c53..8c6fc5f 100644 --- a/Authentication/Token/PreAuthenticatedToken.php +++ b/Authentication/Token/PreAuthenticatedToken.php @@ -1,7 +1,5 @@ <?php -namespace Symfony\Component\Security\Authentication\Token; - /* * This file is part of the Symfony package. * @@ -11,6 +9,8 @@ namespace Symfony\Component\Security\Authentication\Token; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Authentication\Token; + /** * PreAuthenticatedToken implements a pre-authenticated token. * diff --git a/Authentication/Token/RememberMeToken.php b/Authentication/Token/RememberMeToken.php index 587222d..50284aa 100644 --- a/Authentication/Token/RememberMeToken.php +++ b/Authentication/Token/RememberMeToken.php @@ -1,5 +1,14 @@ <?php +/* + * 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. + */ + namespace Symfony\Component\Security\Authentication\Token; use Symfony\Component\Security\Authentication\RememberMe\PersistentTokenInterface; diff --git a/Authentication/Token/Token.php b/Authentication/Token/Token.php index 8927c80..9e0d5a1 100644 --- a/Authentication/Token/Token.php +++ b/Authentication/Token/Token.php @@ -1,11 +1,5 @@ <?php -namespace Symfony\Component\Security\Authentication\Token; - -use Symfony\Component\Security\Role\RoleInterface; -use Symfony\Component\Security\Role\Role; -use Symfony\Component\Security\User\AccountInterface; - /* * This file is part of the Symfony package. * @@ -15,6 +9,12 @@ use Symfony\Component\Security\User\AccountInterface; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Authentication\Token; + +use Symfony\Component\Security\Role\RoleInterface; +use Symfony\Component\Security\Role\Role; +use Symfony\Component\Security\User\AccountInterface; + /** * Base class for Token instances. * diff --git a/Authentication/Token/TokenInterface.php b/Authentication/Token/TokenInterface.php index 2b50693..99aa7a1 100644 --- a/Authentication/Token/TokenInterface.php +++ b/Authentication/Token/TokenInterface.php @@ -1,9 +1,5 @@ <?php -namespace Symfony\Component\Security\Authentication\Token; - -use Symfony\Component\Security\User\AccountInterface; - /* * This file is part of the Symfony package. * @@ -13,6 +9,10 @@ use Symfony\Component\Security\User\AccountInterface; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Authentication\Token; + +use Symfony\Component\Security\User\AccountInterface; + /** * TokenInterface is the interface for the user authentication information. * diff --git a/Authentication/Token/UsernamePasswordToken.php b/Authentication/Token/UsernamePasswordToken.php index 021a90e..ed82ec8 100644 --- a/Authentication/Token/UsernamePasswordToken.php +++ b/Authentication/Token/UsernamePasswordToken.php @@ -1,7 +1,5 @@ <?php -namespace Symfony\Component\Security\Authentication\Token; - /* * This file is part of the Symfony package. * @@ -11,6 +9,8 @@ namespace Symfony\Component\Security\Authentication\Token; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Authentication\Token; + /** * UsernamePasswordToken implements a username and password token. * |