8000 feature #40814 Remove the experimental flag from the authenticator sy… · symfony/symfony@6e02d8b · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e02d8b

Browse files
committed
feature #40814 Remove the experimental flag from the authenticator system 🚀 (chalasr)
This PR was merged into the 5.3-dev branch. Discussion ---------- Remove the experimental flag from the authenticator system 🚀 | Q | A | ------------- | --- | Branch? | 5.x | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | todo Here we go. Commits ------- a2f5693 Remove experimental flag from the authenticator system 🚀
2 parents b2f269e + a2f5693 commit 6e02d8b

File tree

50 files changed

+4
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+4
-79
lines changed

src/Symfony/Bundle/SecurityBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AuthenticatorFactoryInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
/**
1717
* @author Wouter de Jong <wouter@wouterj.nl>
18-
*
19-
* @experimental in 5.3
2018
*/
2119
interface AuthenticatorFactoryInterface
2220
{

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
* @author Wouter de Jong <wouter@wouterj.nl>
2020
*
2121
* @internal
22-
* @experimental in 5.3
2322
*/
2423
class CustomAuthenticatorFactory implements AuthenticatorFactoryInterface, SecurityFactoryInterface
2524
{

src/Symfony/Bundle/SecurityBundle/RememberMe/FirewallAwareRememberMeHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
* Decorates {@see RememberMeHandlerInterface} for the current firewall.
2424
*
2525
* @author Wouter de Jong <wouter@wouterj.nl>
26-
*
27-
* @experimental in 5.3
2826
*/
2927
final class FirewallAwareRememberMeHandler implements RememberMeHandlerInterface
3028
{

src/Symfony/Bundle/SecurityBundle/Security/UserAuthenticator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
* @author Wouter de Jong <wouter@wouterj.nl>
2727
*
2828
* @final
29-
* @experimental in 5.3
3029
*/
3130
class UserAuthenticator implements UserAuthenticatorInterface
3231
{

src/Symfony/Component/Ldap/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

src/Symfony/Component/Ldap/Security/LdapAuthenticator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
* @author Wouter de Jong <wouter@wouterj.nl>
2929
*
3030
* @final
31-
* @experimental in 5.1
3231
*/
3332
class LdapAuthenticator implements AuthenticatorInterface
3433
{

src/Symfony/Component/Ldap/Security/LdapBadge.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* @author Wouter de Jong <wouter@wouterj.nl>
2222
*
2323
* @final
24-
* @experimental in 5.1
2524
*/
2625
class LdapBadge implements BadgeInterface
2726
{

src/Symfony/Component/Security/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

src/Symfony/Component/Security/Core/Signature/ExpiredSignatureStorage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* @author Ryan Weaver <ryan@symfonycasts.com>
1818
*
19-
* @experimental in 5.2
20-
*
2119
* @final
2220
*/
2321
final class ExpiredSignatureStorage

src/Symfony/Component/Security/Http/Authentication/AuthenticatorManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
* @author Wouter de Jong <wouter@wouterj.nl>
4040
* @author Ryan Weaver <ryan@symfonycasts.com>
4141
* @author Amaury Leroux de Lens <amaury@lerouxdelens.com>
42-
*
43-
* @experimental in 5.3
4442
*/
4543
class AuthenticatorManager implements AuthenticatorManagerInterface, UserAuthenticatorInterface
4644
{

src/Symfony/Component/Security/Http/Authentication/AuthenticatorManagerInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
/**
1919
* @author Wouter de Jong <wouter@wouterj.nl>
2020
* @author Ryan Weaver <ryan@symfonycasts.com>
21-
*
22-
* @experimental in 5.3
2321
*/
2422
interface AuthenticatorManagerInterface
2523
{

src/Symfony/Component/Security/Http/Authentication/UserAuthenticatorInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020
/**
2121
* @author Wouter de Jong <wouter@wouterj.nl>
22-
*
23-
* @experimental in 5.3
2422
*/
2523
interface UserAuthenticatorInterface
2624
{

src/Symfony/Component/Security/Http/Authenticator/AbstractAuthenticator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* An optional base class that creates the necessary tokens for you.
2222
*
2323
* @author Ryan Weaver <ryan@symfonycasts.com>
24-
*
25-
* @experimental in 5.3
2624
*/
2725
abstract class AbstractAuthenticator implements AuthenticatorInterface
2826
{

src/Symfony/Component/Security/Http/Authenticator/AbstractLoginFormAuthenticator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* A base class to make form login authentication easier!
2323
*
2424
* @author Ryan Weaver <ryan@symfonycasts.com>
25-
*
26-
* @experimental in 5.3
2725
*/
2826
abstract class AbstractLoginFormAuthenticator extends AbstractAuthenticator implements AuthenticationEntryPointInterface, InteractiveAuthenticatorInterface
2927
{

src/Symfony/Component/Security/Http/Authenticator/AbstractPreAuthenticatedAuthenticator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
* @author Fabien Potencier <fabien@symfony.com>
3434
*
3535
* @internal
36-
* @experimental in 5.3
3736
*/
3837
abstract class AbstractPreAuthenticatedAuthenticator implements InteractiveAuthenticatorInterface
3938
{

src/Symfony/Component/Security/Http/Authenticator/AuthenticatorInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
* @author Ryan Weaver <ryan@symfonycasts.com>
2424
* @author Amaury Leroux de Lens <amaury@lerouxdelens.com>
2525
* @author Wouter de Jong <wouter@wouterj.nl>
26-
*
27-
* @experimental in 5.3
2826
*/
2927
interface AuthenticatorInterface
3028
{

src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1919
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
2020
use Symfony\Component\Security\Core\Exception\AuthenticationException;
21-
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
2221
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
2322
use Symfony\Component\Security\Core\Security;
2423
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
25-
use Symfony\Component\Security\Core\User\UserInterface;
2624
use Symfony\Component\Security\Core\User\UserProviderInterface;
2725
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
2826
use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
@@ -41,7 +39,6 @@
4139
* @author Fabien Potencier <fabien@symfony.com>
4240
*
4341
* @final
44-
* @experimental in 5.3
4542
*/
4643
class FormLoginAuthenticator extends AbstractLoginFormAuthenticator
4744
{

src/Symfony/Component/Security/Http/Authenticator/HttpBasicAuthenticator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1818
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
1919
use Symfony\Component\Security\Core\Exception\AuthenticationException;
20-
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
2120
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
22-
use Symfony\Component\Security\Core\User\UserInterface;
2321
use Symfony\Component\Security\Core\User\UserProviderInterface;
2422
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge;
2523
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
@@ -33,7 +31,6 @@
3331
* @author Fabien Potencier <fabien@symfony.com>
3432
*
3533
* @final
36-
* @experimental in 5.3
3734
*/
3835
class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEntryPointInterface
3936
{

src/Symfony/Component/Security/Http/Authenticator/JsonLoginAuthenticator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
2222
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
2323
use Symfony\Component\Security\Core\Exception\AuthenticationException;
24-
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
2524
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
2625
use Symfony\Component\Security\Core\Security;
2726
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
28-
use Symfony\Component\Security\Core\User\UserInterface;
2927
use Symfony\Component\Security\Core\User\UserProviderInterface;
3028
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
3129
use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
@@ -45,7 +43,6 @@
4543
* @author Wouter de Jong <wouter@wouterj.nl>
4644
*
4745
* @final
48-
* @experimental in 5.3
4946
*/
5047
class JsonLoginAuthenticator implements InteractiveAuthenticatorInterface
5148
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/BadgeInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* Passport badges allow to add more information to a passport (e.g. a CSRF token).
1616
*
1717
* @author Wouter de Jong <wouter@wouterj.nl>
18-
*
19-
* @experimental in 5.3
2018
*/
2119
interface BadgeInterface
2220
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/CsrfTokenBadge.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* @author Wouter de Jong <wouter@wouterj.nl>
2222
*
2323
* @final
24-
* @experimental in 5.3
2524
*/
2625
class CsrfTokenBadge implements BadgeInterface
2726
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PasswordUpgradeBadge.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
* @author Wouter de Jong <wouter@wouterj.nl>
2323
*
2424
* @final
25-
* @experimental in 5.3
2625
*/
2726
class PasswordUpgradeBadge implements BadgeInterface
2827
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PreAuthenticatedUserBadge.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* @author Wouter de Jong <wouter@wouterj.nl>
2424
*
2525
* @final
26-
* @experimental in 5.3
2726
*/
2827
class PreAuthenticatedUserBadge implements BadgeInterface
2928
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/RememberMeBadge.php

Lines changed: 0 additions & 1 deletion
F438
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* @author Wouter de Jong <wouter@wouterj.nl>
2222
*
2323
* @final
24-
* @experimental in 5.3
2524
*/
2625
class RememberMeBadge implements BadgeInterface
2726
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/UserBadge.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* "user loader" to load the related User object.
2323
*
2424
* @author Wouter de Jong <wouter@wouterj.nl>
25-
*
26-
* @experimental in 5.3
2725
*/
2826
class UserBadge implements BadgeInterface
2927
{
@@ -67,7 +65,7 @@ public function getUser(): UserInterface
6765

6866
$this->user = ($this->userLoader)($this->userIdentifier);
6967
if (!$this->user instanceof UserInterface) {
70-
throw new AuthenticationServiceException(sprintf('The user provider must return a UserInterface object, "%s" given.', \get_debug_type($this->user)));
68+
throw new AuthenticationServiceException(sprintf('The user provider must return a UserInterface object, "%s" given.', get_debug_type($this->user)));
7169
}
7270
}
7371

src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CredentialsInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* credential check of an authenticator.
1919
*
2020
* @author Wouter de Jong <wouter@wouterj.nl>
21-
*
22-
* @experimental in 5.3
2321
*/
2422
interface CredentialsInterface extends BadgeInterface
2523
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CustomCredentials.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
* @author Wouter de Jong <wouter@wouterj.nl>
2121
*
2222
* @final
23-
* @experimental in 5.3
2423
*/
2524
class CustomCredentials implements CredentialsInterface
2625
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/PasswordCredentials.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
* @author Wouter de Jong <wouter@wouterj.nl>
2323
*
2424
* @final
25-
* @experimental in 5.3
2625
*/
2726
class PasswordCredentials implements CredentialsInterface
2827
{

src/Symfony/Component/Security/Http/Authenticator/Passport/Passport.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
* The default implementation for passports.
2121
*
2222
* @author Wouter de Jong <wouter@wouterj.nl>
23-
*
24-
* @experimental in 5.3
2523
*/
2624
class Passport implements UserPassportInterface
2725
{

src/Symfony/Component/Security/Http/Authenticator/Passport/PassportInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* passport.
2222
*
2323
* @author Wouter de Jong <wouter@wouterj.nl>
24-
*
25-
* @experimental in 5.3
2624
*/
2725
interface PassportInterface
2826
{

src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
/**
1717
* @author Wouter de Jong <wouter@wouterj.nl>
18-
*
19-
* @experimental in 5.3
2018
*/
2119
trait PassportTrait
2220
{

src/Symfony/Component/Security/Http/Authenticator/Passport/SelfValidatingPassport.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* API token authentication).
2020
*
2121
* @author Wouter de Jong <wouter@wouterj.nl>
22-
*
23-
* @experimental in 5.3
2422
*/
2523
class SelfValidatingPassport extends Passport
2624
{

src/Symfony/Component/Security/Http/Authenticator/Passport/UserPassportInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* Represents a passport for a Security User.
1919
*
2020
* @author Wouter de Jong <wouter@wouterj.nl>
21-
*
22-
* @experimental in 5.3
2321
*/
2422
interface UserPassportInterface extends PassportInterface
2523
{

src/Symfony/Component/Security/Http/Authenticator/X509Authenticator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* @author Fabien Potencier <fabien@symfony.com>
2626
*
2727
* @final
28-
* @experimental in 5.3
2928
*/
3029
class X509Authenticator extends AbstractPreAuthenticatedAuthenticator
3130
{

src/Symfony/Component/Security/Http/EventListener/CheckCredentialsListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
* @author Wouter de Jong <wouter@driveamber.com>
3131
*
3232
* @final
33-
* @experimental in 5.3
3433
*/
3534
class CheckCredentialsListener implements EventSubscriberInterface
3635
{

src/Symfony/Component/Security/Http/EventListener/CheckRememberMeConditionsListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
* @author Wouter de Jong <wouter@wouterj.nl>
3737
*
3838
* @final
39-
* @experimental in 5.3
4039
*/
4140
class CheckRememberMeConditionsListener implements EventSubscriberInterface
4241
{

src/Symfony/Component/Security/Http/EventListener/CsrfProtectionListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
* @author Wouter de Jong <wouter@wouterj.nl>
2323
*
2424
* @final
25-
* @experimental in 5.3
2625
*/
2726
class CsrfProtectionListener implements EventSubscriberInterface
2827
{

src/Symfony/Component/Security/Http/EventListener/LoginThrottlingListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121

2222
/**
2323
* @author Wouter de Jong <wouter@wouterj.nl>
24-
*
25-
* @experimental in 5.3
2624
*/
2725
final class LoginThrottlingListener implements EventSubscriberInterface
2826
{

src/Symfony/Component/Security/Http/EventListener/PasswordMigratingListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* @author Wouter de Jong <wouter@wouterj.nl>
2626
*
2727
* @final
28-
* @experimental in 5.3
2928
*/
3029
class PasswordMigratingListener implements EventSubscriberInterface
3130
{

src/Symfony/Component/Security/Http/EventListener/RememberMeListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
* @author Wouter de Jong <wouter@wouterj.nl>
3333
*
3434
* @final
35-
* @experimental in 5.3
3635
*/
3736
class RememberMeListener implements EventSubscriberInterface
3837
{

src/Symfony/Component/Security/Http/EventListener/UserCheckerListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* @author Wouter de Jong <wouter@wouterj.nl>
2424
*
2525
* @final
26-
* @experimental in 5.3
2726
*/
2827
class UserCheckerListener implements EventSubscriberInterface
2928
{

0 commit comments

Comments
 (0)
0