Mark new core authenticators as experimental

This commit is contained in:
Wouter de Jong 2020-01-26 15:51:46 +01:00
parent 4c06236933
commit 873b949cf9
12 changed files with 36 additions and 0 deletions

View File

@ -15,6 +15,8 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
/** /**
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
*
* @experimental in 5.1
*/ */
interface EntryPointFactoryInterface interface EntryPointFactoryInterface
{ {

View File

@ -15,6 +15,8 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
/** /**
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
*
* @experimental in 5.1
*/ */
interface GuardFactoryInterface interface GuardFactoryInterface
{ {

View File

@ -20,6 +20,8 @@ use Symfony\Component\Security\Http\Firewall\GuardManagerListener;
/** /**
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
*
* @experimental in 5.1
*/ */
class LazyGuardManagerListener extends GuardManagerListener class LazyGuardManagerListener extends GuardManagerListener
{ {

View File

@ -19,6 +19,8 @@ use Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken;
* 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@knpuniversity.com> * @author Ryan Weaver <ryan@knpuniversity.com>
*
* @experimental in 5.1
*/ */
abstract class AbstractAuthenticator implements AuthenticatorInterface abstract class AbstractAuthenticator implements AuthenticatorInterface
{ {

View File

@ -22,6 +22,8 @@ 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@knpuniversity.com> * @author Ryan Weaver <ryan@knpuniversity.com>
*
* @experimental in 5.1
*/ */
abstract class AbstractFormLoginAuthenticator extends AbstractAuthenticator implements AuthenticationEntryPointInterface abstract class AbstractFormLoginAuthenticator extends AbstractAuthenticator implements AuthenticationEntryPointInterface
{ {

View File

@ -22,6 +22,10 @@ use Symfony\Component\Security\Core\User\UserInterface;
/** /**
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
* @author Fabien Potencier <fabien@symfony.com>
*
* @final
* @experimental in 5.1
*/ */
class AnonymousAuthenticator implements AuthenticatorInterface class AnonymousAuthenticator implements AuthenticatorInterface
{ {

View File

@ -23,6 +23,8 @@ use Symfony\Component\Security\Core\User\UserInterface;
* @author Ryan Weaver <ryan@knpuniversity.com> * @author Ryan Weaver <ryan@knpuniversity.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.1
*/ */
interface AuthenticatorInterface interface AuthenticatorInterface
{ {

View File

@ -29,6 +29,10 @@ use Symfony\Component\Security\Http\Util\TargetPathTrait;
/** /**
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
* @author Fabien Potencier <fabien@symfony.com>
*
* @final
* @experimental in 5.1
*/ */
class FormLoginAuthenticator extends AbstractFormLoginAuthenticator class FormLoginAuthenticator extends AbstractFormLoginAuthenticator
{ {

View File

@ -23,6 +23,10 @@ use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface
/** /**
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
* @author Fabien Potencier <fabien@symfony.com>
*
* @final
* @experimental in 5.1
*/ */
class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEntryPointInterface class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEntryPointInterface
{ {

View File

@ -21,6 +21,8 @@ use Symfony\Component\Security\Core\User\UserInterface;
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
* *
* @property EncoderFactoryInterface $encoderFactory * @property EncoderFactoryInterface $encoderFactory
*
* @experimental in 5.1
*/ */
trait UsernamePasswordTrait trait UsernamePasswordTrait
{ {

View File

@ -25,6 +25,12 @@ use Symfony\Component\Security\Guard\Token\GuardTokenInterface;
use Symfony\Component\Security\Guard\Token\PreAuthenticationGuardToken; use Symfony\Component\Security\Guard\Token\PreAuthenticationGuardToken;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/**
* @author Wouter de Jong <wouter@wouterj.nl>
* @author Ryan Weaver <ryan@knpuniversity.com>
*
* @experimental in 5.1
*/
class GuardAuthenticationManager implements AuthenticationManagerInterface class GuardAuthenticationManager implements AuthenticationManagerInterface
{ {
use GuardAuthenticationProviderTrait; use GuardAuthenticationProviderTrait;

View File

@ -20,6 +20,10 @@ use Symfony\Component\Security\Guard\GuardAuthenticatorHandler;
/** /**
* @author Wouter de Jong <wouter@wouterj.nl> * @author Wouter de Jong <wouter@wouterj.nl>
* @author Ryan Weaver <ryan@knpuniversity.com>
* @author Amaury Leroux de Lens <amaury@lerouxdelens.com>
*
* @experimental in 5.1
*/ */
class GuardManagerListener class GuardManagerListener
{ {