From 8e50e09dfdfe339c8d5a8fe6621f80fde36a9aaf Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 3 Aug 2023 13:01:57 +0200 Subject: [PATCH] Remove remaining experimental classes --- .../Security/AccessToken/OidcTokenHandlerFactory.php | 2 -- .../Security/AccessToken/OidcUserInfoTokenHandlerFactory.php | 2 -- .../Security/AccessToken/ServiceTokenHandlerFactory.php | 2 -- .../Security/AccessToken/TokenHandlerFactoryInterface.php | 2 -- .../Security/Factory/SignatureAlgorithmFactory.php | 2 -- .../Security/Core/User/AttributesBasedUserProviderInterface.php | 2 -- src/Symfony/Component/Security/Core/User/OidcUser.php | 2 -- .../AccessToken/Oidc/Exception/InvalidSignatureException.php | 2 -- .../Http/AccessToken/Oidc/Exception/MissingClaimException.php | 2 -- .../Security/Http/AccessToken/Oidc/OidcTokenHandler.php | 2 -- .../Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php | 2 -- 11 files changed, 22 deletions(-) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php index cc51398069cdf..49909fcc650a2 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php @@ -21,8 +21,6 @@ /** * Configures a token handler for decoding and validating an OIDC token. - * - * @experimental */ class OidcTokenHandlerFactory implements TokenHandlerFactoryInterface { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcUserInfoTokenHandlerFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcUserInfoTokenHandlerFactory.php index 59cde0d1b995a..3e30acabaf5dd 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcUserInfoTokenHandlerFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcUserInfoTokenHandlerFactory.php @@ -20,8 +20,6 @@ /** * Configures a token handler for an OIDC server. - * - * @experimental */ class OidcUserInfoTokenHandlerFactory implements TokenHandlerFactoryInterface { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/ServiceTokenHandlerFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/ServiceTokenHandlerFactory.php index f38a70db99417..77789db6c2513 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/ServiceTokenHandlerFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/ServiceTokenHandlerFactory.php @@ -19,8 +19,6 @@ * Configures a token handler from a service id. * * @see \Symfony\Bundle\SecurityBundle\Tests\DependencyInjection\Security\Factory\AccessTokenFactoryTest - * - * @experimental */ class ServiceTokenHandlerFactory implements TokenHandlerFactoryInterface { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/TokenHandlerFactoryInterface.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/TokenHandlerFactoryInterface.php index bfa9535e7544e..ccb6e09f37dc6 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/TokenHandlerFactoryInterface.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/TokenHandlerFactoryInterface.php @@ -16,8 +16,6 @@ /** * Allows creating configurable token handlers. - * - * @experimental */ interface TokenHandlerFactoryInterface { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SignatureAlgorithmFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SignatureAlgorithmFactory.php index e6dc8b3010d68..feb63c26350be 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SignatureAlgorithmFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SignatureAlgorithmFactory.php @@ -20,8 +20,6 @@ * Creates a signature algorithm for {@see OidcTokenHandler}. * * @internal - * - * @experimental */ final class SignatureAlgorithmFactory { diff --git a/src/Symfony/Component/Security/Core/User/AttributesBasedUserProviderInterface.php b/src/Symfony/Component/Security/Core/User/AttributesBasedUserProviderInterface.php index 201f6bc79c379..9d79422aa4065 100644 --- a/src/Symfony/Component/Security/Core/User/AttributesBasedUserProviderInterface.php +++ b/src/Symfony/Component/Security/Core/User/AttributesBasedUserProviderInterface.php @@ -17,8 +17,6 @@ * Overrides UserProviderInterface to add an "attributes" argument on loadUserByIdentifier. * This is particularly useful with self-contained access tokens. * - * @experimental - * * @template-covariant TUser of UserInterface * * @template-extends UserProviderInterface diff --git a/src/Symfony/Component/Security/Core/User/OidcUser.php b/src/Symfony/Component/Security/Core/User/OidcUser.php index c88d34b772390..490a3ec2ac23e 100644 --- a/src/Symfony/Component/Security/Core/User/OidcUser.php +++ b/src/Symfony/Component/Security/Core/User/OidcUser.php @@ -13,8 +13,6 @@ /** * UserInterface implementation used by the access-token security workflow with an OIDC server. - * - * @experimental */ class OidcUser implements UserInterface { diff --git a/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/InvalidSignatureException.php b/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/InvalidSignatureException.php index 4eaf52ca7ba43..56f362ed43fb2 100644 --- a/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/InvalidSignatureException.php +++ b/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/InvalidSignatureException.php @@ -15,8 +15,6 @@ /** * This exception is thrown when the token signature is invalid. - * - * @experimental */ class InvalidSignatureException extends AuthenticationException { diff --git a/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/MissingClaimException.php b/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/MissingClaimException.php index eed0b9d1c2896..e178f2b49cf87 100644 --- a/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/MissingClaimException.php +++ b/src/Symfony/Component/Security/Http/AccessToken/Oidc/Exception/MissingClaimException.php @@ -15,8 +15,6 @@ /** * This exception is thrown when the user is invalid on the OIDC server (e.g.: "email" property is not in the scope). - * - * @experimental */ class MissingClaimException extends AuthenticationException { diff --git a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php index d595bfa88d4c9..e2b41bdf5c210 100644 --- a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php +++ b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php @@ -31,8 +31,6 @@ /** * The token handler decodes and validates the token, and retrieves the user identifier from it. - * - * @experimental */ final class OidcTokenHandler implements AccessTokenHandlerInterface { diff --git a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php index 26279ebf19e68..b7a8581cc133c 100644 --- a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php +++ b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php @@ -20,8 +20,6 @@ /** * The token handler validates the token on the OIDC server and retrieves the user identifier. - * - * @experimental */ final class OidcUserInfoTokenHandler implements AccessTokenHandlerInterface {