This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Security/Core/Security.php

26 lines
617 B
PHP
Raw Normal View History

<?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;
/**
2014-09-29 08:09:34 +01:00
* This class holds security information.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
2014-09-29 08:09:34 +01:00
final class Security
{
2014-11-04 14:29:39 +00:00
const ACCESS_DENIED_ERROR = '_security.403_error';
const AUTHENTICATION_ERROR = '_security.last_error';
2014-11-04 14:29:39 +00:00
const LAST_USERNAME = '_security.last_username';
const MAX_USERNAME_LENGTH = 4096;
}