Remove experimental flag from the authenticator system 🚀
This commit is contained in:
parent
cc29772236
commit
a2f5693c5e
@ -4,6 +4,7 @@ CHANGELOG
|
|||||||
5.3
|
5.3
|
||||||
---
|
---
|
||||||
|
|
||||||
|
* The authenticator system is no longer experimental
|
||||||
* Login Link functionality is no longer experimental
|
* Login Link functionality is no longer experimental
|
||||||
* Add `required_badges` firewall config option
|
* Add `required_badges` firewall config option
|
||||||
* [BC break] Add `login_throttling.lock_factory` setting defaulting to `null` (instead of `lock.factory`)
|
* [BC break] Add `login_throttling.lock_factory` setting defaulting to `null` (instead of `lock.factory`)
|
||||||
|
@ -15,8 +15,6 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface AuthenticatorFactoryInterface
|
interface AuthenticatorFactoryInterface
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,6 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class CustomAuthenticatorFactory implements AuthenticatorFactoryInterface, SecurityFactoryInterface
|
class CustomAuthenticatorFactory implements AuthenticatorFactoryInterface, SecurityFactoryInterface
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,6 @@ use Symfony\Component\Security\Http\RememberMe\RememberMeHandlerInterface;
|
|||||||
* Decorates {@see RememberMeHandlerInterface} for the current firewall.
|
* Decorates {@see RememberMeHandlerInterface} for the current firewall.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
final class FirewallAwareRememberMeHandler implements RememberMeHandlerInterface
|
final class FirewallAwareRememberMeHandler implements RememberMeHandlerInterface
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,6 @@ use Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class UserAuthenticator implements UserAuthenticatorInterface
|
class UserAuthenticator implements UserAuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -4,6 +4,7 @@ CHANGELOG
|
|||||||
5.3
|
5.3
|
||||||
---
|
---
|
||||||
|
|
||||||
|
* The authenticator system is no longer experimental
|
||||||
* Added caseSensitive option for attribute keys in the Entry class.
|
* Added caseSensitive option for attribute keys in the Entry class.
|
||||||
|
|
||||||
5.1.0
|
5.1.0
|
||||||
|
@ -28,7 +28,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.1
|
|
||||||
*/
|
*/
|
||||||
class LdapAuthenticator implements AuthenticatorInterface
|
class LdapAuthenticator implements AuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.1
|
|
||||||
*/
|
*/
|
||||||
class LdapBadge implements BadgeInterface
|
class LdapBadge implements BadgeInterface
|
||||||
{
|
{
|
||||||
|
@ -6,6 +6,7 @@ The CHANGELOG for version 5.4 and newer can be found in the security sub-package
|
|||||||
5.3
|
5.3
|
||||||
---
|
---
|
||||||
|
|
||||||
|
* The authenticator system is no longer experimental
|
||||||
* Login Link functionality is no longer experimental
|
* Login Link functionality is no longer experimental
|
||||||
* Add `RememberMeConditionsListener` to check if remember me is requested and supported, and set priority of `RememberMeListener` to -63
|
* Add `RememberMeConditionsListener` to check if remember me is requested and supported, and set priority of `RememberMeListener` to -63
|
||||||
* Add `RememberMeHandlerInterface` and implementations, used as a replacement of `RememberMeServicesInterface` when using the AuthenticatorManager
|
* Add `RememberMeHandlerInterface` and implementations, used as a replacement of `RememberMeServicesInterface` when using the AuthenticatorManager
|
||||||
|
@ -16,8 +16,6 @@ use Psr\Cache\CacheItemPoolInterface;
|
|||||||
/**
|
/**
|
||||||
* @author Ryan Weaver <ryan@symfonycasts.com>
|
* @author Ryan Weaver <ryan@symfonycasts.com>
|
||||||
*
|
*
|
||||||
* @experimental in 5.2
|
|
||||||
*
|
|
||||||
* @final
|
* @final
|
||||||
*/
|
*/
|
||||||
final class ExpiredSignatureStorage
|
final class ExpiredSignatureStorage
|
||||||
|
@ -39,8 +39,6 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
* @author Ryan Weaver <ryan@symfonycasts.com>
|
* @author Ryan Weaver <ryan@symfonycasts.com>
|
||||||
* @author Amaury Leroux de Lens <amaury@lerouxdelens.com>
|
* @author Amaury Leroux de Lens <amaury@lerouxdelens.com>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class AuthenticatorManager implements AuthenticatorManagerInterface, UserAuthenticatorInterface
|
class AuthenticatorManager implements AuthenticatorManagerInterface, UserAuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -18,8 +18,6 @@ use Symfony\Component\Security\Http\Firewall\FirewallListenerInterface;
|
|||||||
/**
|
/**
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
* @author Ryan Weaver <ryan@symfonycasts.com>
|
* @author Ryan Weaver <ryan@symfonycasts.com>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface AuthenticatorManagerInterface
|
interface AuthenticatorManagerInterface
|
||||||
{
|
{
|
||||||
|
@ -19,8 +19,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface UserAuthenticatorInterface
|
interface UserAuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -21,8 +21,6 @@ use Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken;
|
|||||||
* An optional base class that creates the necessary tokens for you.
|
* An optional base class that creates the necessary tokens for you.
|
||||||
*
|
*
|
||||||
* @author Ryan Weaver <ryan@symfonycasts.com>
|
* @author Ryan Weaver <ryan@symfonycasts.com>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
abstract class AbstractAuthenticator implements AuthenticatorInterface
|
abstract class AbstractAuthenticator implements AuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -22,8 +22,6 @@ use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface
|
|||||||
* A base class to make form login authentication easier!
|
* A base class to make form login authentication easier!
|
||||||
*
|
*
|
||||||
* @author Ryan Weaver <ryan@symfonycasts.com>
|
* @author Ryan Weaver <ryan@symfonycasts.com>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
abstract class AbstractLoginFormAuthenticator extends AbstractAuthenticator implements AuthenticationEntryPointInterface, InteractiveAuthenticatorInterface
|
abstract class AbstractLoginFormAuthenticator extends AbstractAuthenticator implements AuthenticationEntryPointInterface, InteractiveAuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPasspor
|
|||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
abstract class AbstractPreAuthenticatedAuthenticator implements InteractiveAuthenticatorInterface
|
abstract class AbstractPreAuthenticatedAuthenticator implements InteractiveAuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface;
|
|||||||
* @author Ryan Weaver <ryan@symfonycasts.com>
|
* @author Ryan Weaver <ryan@symfonycasts.com>
|
||||||
* @author Amaury Leroux de Lens <amaury@lerouxdelens.com>
|
* @author Amaury Leroux de Lens <amaury@lerouxdelens.com>
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface AuthenticatorInterface
|
interface AuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -18,11 +18,9 @@ use Symfony\Component\HttpKernel\HttpKernelInterface;
|
|||||||
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
|
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
|
||||||
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
||||||
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
|
|
||||||
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
|
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
|
||||||
use Symfony\Component\Security\Core\Security;
|
use Symfony\Component\Security\Core\Security;
|
||||||
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
|
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
|
||||||
use Symfony\Component\Security\Core\User\UserInterface;
|
|
||||||
use Symfony\Component\Security\Core\User\UserProviderInterface;
|
use Symfony\Component\Security\Core\User\UserProviderInterface;
|
||||||
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
|
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
|
||||||
use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
|
use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
|
||||||
@ -41,7 +39,6 @@ use Symfony\Component\Security\Http\ParameterBagUtils;
|
|||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class FormLoginAuthenticator extends AbstractLoginFormAuthenticator
|
class FormLoginAuthenticator extends AbstractLoginFormAuthenticator
|
||||||
{
|
{
|
||||||
|
@ -17,9 +17,7 @@ use Symfony\Component\HttpFoundation\Response;
|
|||||||
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
|
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
|
||||||
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
||||||
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
|
|
||||||
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
|
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
|
||||||
use Symfony\Component\Security\Core\User\UserInterface;
|
|
||||||
use Symfony\Component\Security\Core\User\UserProviderInterface;
|
use Symfony\Component\Security\Core\User\UserProviderInterface;
|
||||||
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge;
|
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge;
|
||||||
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
|
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
|
||||||
@ -33,7 +31,6 @@ use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface
|
|||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEntryPointInterface
|
class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEntryPointInterface
|
||||||
{
|
{
|
||||||
|
@ -21,11 +21,9 @@ use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
|
|||||||
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
|
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
|
||||||
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
||||||
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
|
|
||||||
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
|
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
|
||||||
use Symfony\Component\Security\Core\Security;
|
use Symfony\Component\Security\Core\Security;
|
||||||
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
|
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
|
||||||
use Symfony\Component\Security\Core\User\UserInterface;
|
|
||||||
use Symfony\Component\Security\Core\User\UserProviderInterface;
|
use Symfony\Component\Security\Core\User\UserProviderInterface;
|
||||||
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
|
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
|
||||||
use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
|
use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
|
||||||
@ -45,7 +43,6 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class JsonLoginAuthenticator implements InteractiveAuthenticatorInterface
|
class JsonLoginAuthenticator implements InteractiveAuthenticatorInterface
|
||||||
{
|
{
|
||||||
|
@ -15,8 +15,6 @@ namespace Symfony\Component\Security\Http\Authenticator\Passport\Badge;
|
|||||||
* Passport badges allow to add more information to a passport (e.g. a CSRF token).
|
* Passport badges allow to add more information to a passport (e.g. a CSRF token).
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface BadgeInterface
|
interface BadgeInterface
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,6 @@ use Symfony\Component\Security\Http\EventListener\CsrfProtectionListener;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class CsrfTokenBadge implements BadgeInterface
|
class CsrfTokenBadge implements BadgeInterface
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@ use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class PasswordUpgradeBadge implements BadgeInterface
|
class PasswordUpgradeBadge implements BadgeInterface
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,6 @@ use Symfony\Component\Security\Http\Authenticator\AbstractPreAuthenticatedAuthen
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class PreAuthenticatedUserBadge implements BadgeInterface
|
class PreAuthenticatedUserBadge implements BadgeInterface
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,6 @@ namespace Symfony\Component\Security\Http\Authenticator\Passport\Badge;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class RememberMeBadge implements BadgeInterface
|
class RememberMeBadge implements BadgeInterface
|
||||||
{
|
{
|
||||||
|
@ -22,8 +22,6 @@ use Symfony\Component\Security\Http\EventListener\UserProviderListener;
|
|||||||
* "user loader" to load the related User object.
|
* "user loader" to load the related User object.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class UserBadge implements BadgeInterface
|
class UserBadge implements BadgeInterface
|
||||||
{
|
{
|
||||||
@ -67,7 +65,7 @@ class UserBadge implements BadgeInterface
|
|||||||
|
|
||||||
$this->user = ($this->userLoader)($this->userIdentifier);
|
$this->user = ($this->userLoader)($this->userIdentifier);
|
||||||
if (!$this->user instanceof UserInterface) {
|
if (!$this->user instanceof UserInterface) {
|
||||||
throw new AuthenticationServiceException(sprintf('The user provider must return a UserInterface object, "%s" given.', \get_debug_type($this->user)));
|
throw new AuthenticationServiceException(sprintf('The user provider must return a UserInterface object, "%s" given.', get_debug_type($this->user)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface;
|
|||||||
* credential check of an authenticator.
|
* credential check of an authenticator.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface CredentialsInterface extends BadgeInterface
|
interface CredentialsInterface extends BadgeInterface
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,6 @@ use Symfony\Component\Security\Core\User\UserInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class CustomCredentials implements CredentialsInterface
|
class CustomCredentials implements CredentialsInterface
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@ use Symfony\Component\Security\Core\Exception\LogicException;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class PasswordCredentials implements CredentialsInterface
|
class PasswordCredentials implements CredentialsInterface
|
||||||
{
|
{
|
||||||
|
@ -20,8 +20,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Credentials\Credentia
|
|||||||
* The default implementation for passports.
|
* The default implementation for passports.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class Passport implements UserPassportInterface
|
class Passport implements UserPassportInterface
|
||||||
{
|
{
|
||||||
|
@ -21,8 +21,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface;
|
|||||||
* passport.
|
* passport.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface PassportInterface
|
interface PassportInterface
|
||||||
{
|
{
|
||||||
|
@ -15,8 +15,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
trait PassportTrait
|
trait PassportTrait
|
||||||
{
|
{
|
||||||
|
@ -19,8 +19,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
|
|||||||
* API token authentication).
|
* API token authentication).
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class SelfValidatingPassport extends Passport
|
class SelfValidatingPassport extends Passport
|
||||||
{
|
{
|
||||||
|
@ -18,8 +18,6 @@ use Symfony\Component\Security\Core\User\UserInterface;
|
|||||||
* Represents a passport for a Security User.
|
* Represents a passport for a Security User.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface UserPassportInterface extends PassportInterface
|
interface UserPassportInterface extends PassportInterface
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface;
|
|||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class X509Authenticator extends AbstractPreAuthenticatedAuthenticator
|
class X509Authenticator extends AbstractPreAuthenticatedAuthenticator
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent;
|
|||||||
* @author Wouter de Jong <wouter@driveamber.com>
|
* @author Wouter de Jong <wouter@driveamber.com>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class CheckCredentialsListener implements EventSubscriberInterface
|
class CheckCredentialsListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,6 @@ use Symfony\Component\Security\Http\RememberMe\RememberMeHandlerInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class CheckRememberMeConditionsListener implements EventSubscriberInterface
|
class CheckRememberMeConditionsListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class CsrfProtectionListener implements EventSubscriberInterface
|
class CsrfProtectionListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
|
@ -21,8 +21,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
final class LoginThrottlingListener implements EventSubscriberInterface
|
final class LoginThrottlingListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,6 @@ use Symfony\Component\Security\Http\Event\LoginSuccessEvent;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class PasswordMigratingListener implements EventSubscriberInterface
|
class PasswordMigratingListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,6 @@ use Symfony\Component\Security\Http\RememberMe\RememberMeHandlerInterface;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class RememberMeListener implements EventSubscriberInterface
|
class RememberMeListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class UserCheckerListener implements EventSubscriberInterface
|
class UserCheckerListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent;
|
|||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
*
|
||||||
* @final
|
* @final
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class UserProviderListener
|
class UserProviderListener
|
||||||
{
|
{
|
||||||
|
@ -19,8 +19,6 @@ use Symfony\Component\Security\Http\Authentication\AuthenticatorManagerInterface
|
|||||||
* Firewall authentication listener that delegates to the authenticator system.
|
* Firewall authentication listener that delegates to the authenticator system.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class AuthenticatorManagerListener extends AbstractListener
|
class AuthenticatorManagerListener extends AbstractListener
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,6 @@ use Symfony\Component\Security\Core\Security;
|
|||||||
* a limit on username+IP and a (higher) limit on IP.
|
* a limit on username+IP and a (higher) limit on IP.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
final class DefaultLoginRateLimiter extends AbstractRequestRateLimiter
|
final class DefaultLoginRateLimiter extends AbstractRequestRateLimiter
|
||||||
{
|
{
|
||||||
|
@ -20,8 +20,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
abstract class AbstractRememberMeHandler implements RememberMeHandlerInterface
|
abstract class AbstractRememberMeHandler implements RememberMeHandlerInterface
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface;
|
|||||||
* {@see SignatureRememberMeHandler} if you don't want to use a database.
|
* {@see SignatureRememberMeHandler} if you don't want to use a database.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
final class PersistentRememberMeHandler extends AbstractRememberMeHandler
|
final class PersistentRememberMeHandler extends AbstractRememberMeHandler
|
||||||
{
|
{
|
||||||
|
@ -16,8 +16,6 @@ use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
class RememberMeDetails
|
class RememberMeDetails
|
||||||
{
|
{
|
||||||
|
@ -21,8 +21,6 @@ use Symfony\Component\Security\Core\User\UserInterface;
|
|||||||
* {@see AbstractRememberMeHandler} instead.
|
* {@see AbstractRememberMeHandler} instead.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
interface RememberMeHandlerInterface
|
interface RememberMeHandlerInterface
|
||||||
{
|
{
|
||||||
|
@ -29,8 +29,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface;
|
|||||||
* if you need this.
|
* if you need this.
|
||||||
*
|
*
|
||||||
* @author Wouter de Jong <wouter@wouterj.nl>
|
* @author Wouter de Jong <wouter@wouterj.nl>
|
||||||
*
|
|
||||||
* @experimental in 5.3
|
|
||||||
*/
|
*/
|
||||||
final class SignatureRememberMeHandler extends AbstractRememberMeHandler
|
final class SignatureRememberMeHandler extends AbstractRememberMeHandler
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user