api/symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.yaml

350 lines
10 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: SecurityExtensionTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: AuthenticatorFactoryInterface
type: class
source: Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\AuthenticatorFactoryInterface
- name: FirewallListenerFactoryInterface
type: class
source: Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\FirewallListenerFactoryInterface
- name: SecurityExtension
type: class
source: Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension
- name: SecurityBundle
type: class
source: Symfony\Bundle\SecurityBundle\SecurityBundle
- name: DummyProvider
type: class
source: Symfony\Bundle\SecurityBundle\Tests\DependencyInjection\Fixtures\UserProvider\DummyProvider
- name: NodeDefinition
type: class
source: Symfony\Component\Config\Definition\Builder\NodeDefinition
- name: InvalidConfigurationException
type: class
source: Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
- name: IteratorArgument
type: class
source: Symfony\Component\DependencyInjection\Argument\IteratorArgument
- name: ResolveChildDefinitionsPass
type: class
source: Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass
- name: ContainerBuilder
type: class
source: Symfony\Component\DependencyInjection\ContainerBuilder
- name: Reference
type: class
source: Symfony\Component\DependencyInjection\Reference
- name: Expression
type: class
source: Symfony\Component\ExpressionLanguage\Expression
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: PathRequestMatcher
type: class
source: Symfony\Component\HttpFoundation\RequestMatcher\PathRequestMatcher
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: TokenInterface
type: class
source: Symfony\Component\Security\Core\Authentication\Token\TokenInterface
- name: AuthenticationException
type: class
source: Symfony\Component\Security\Core\Exception\AuthenticationException
- name: InMemoryUserChecker
type: class
source: Symfony\Component\Security\Core\User\InMemoryUserChecker
- name: UserCheckerInterface
type: class
source: Symfony\Component\Security\Core\User\UserCheckerInterface
- name: UserInterface
type: class
source: Symfony\Component\Security\Core\User\UserInterface
- name: UserProviderInterface
type: class
source: Symfony\Component\Security\Core\User\UserProviderInterface
- name: AuthenticatorInterface
type: class
source: Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface
- name: HttpBasicAuthenticator
type: class
source: Symfony\Component\Security\Http\Authenticator\HttpBasicAuthenticator
- name: Passport
type: class
source: Symfony\Component\Security\Http\Authenticator\Passport\Passport
properties: []
methods:
- name: testInvalidCheckPath
visibility: public
parameters: []
comment: null
- name: testFirewallWithInvalidUserProvider
visibility: public
parameters: []
comment: null
- name: testDisableRoleHierarchyVoter
visibility: public
parameters: []
comment: null
- name: testSwitchUserNotStatelessOnStatelessFirewall
visibility: public
parameters: []
comment: null
- name: testPerListenerProvider
visibility: public
parameters: []
comment: null
- name: testMissingProviderForListener
visibility: public
parameters: []
comment: null
- name: testPerListenerProviderWithRememberMeAndAnonymous
visibility: public
parameters: []
comment: null
- name: testRegisterRequestMatchersWithAllowIfExpression
visibility: public
parameters: []
comment: null
- name: testRegisterAccessControlWithSpecifiedRequestMatcherService
visibility: public
parameters: []
comment: null
- name: testRegisterAccessControlWithRequestMatcherAndAdditionalOptionsThrowsInvalidException
visibility: public
parameters:
- name: additionalConstraints
comment: '# @dataProvider provideAdditionalRequestMatcherConstraints'
- name: provideAdditionalRequestMatcherConstraints
visibility: public
parameters: []
comment: null
- name: testRegisterAccessControlWithSpecifiedAttributes
visibility: public
parameters: []
comment: null
- name: testRegisterAccessControlWithSpecifiedRoute
visibility: public
parameters: []
comment: null
- name: testRegisterAccessControlWithSpecifiedAttributesThrowsException
visibility: public
parameters: []
comment: null
- name: testRemovesExpressionCacheWarmerDefinitionIfNoExpressions
visibility: public
parameters: []
comment: null
- name: testRegisterTheUserProviderAlias
visibility: public
parameters: []
comment: null
- name: testDoNotRegisterTheUserProviderAliasWithMultipleProviders
visibility: public
parameters: []
comment: null
- name: testAcceptableAccessControlIps
visibility: public
parameters:
- name: ips
comment: '# * @dataProvider acceptableIpsProvider'
- name: testCustomRememberMeHandler
visibility: public
parameters: []
comment: null
- name: testSecretRememberMeHasher
visibility: public
parameters: []
comment: null
- name: sessionConfigurationProvider
visibility: public
parameters: []
comment: null
- name: acceptableIpsProvider
visibility: public
parameters: []
comment: null
- name: testSwitchUserWithSeveralDefinedProvidersButNoFirewallRootProviderConfigured
visibility: public
parameters: []
comment: null
- name: testInvalidAccessControlWithEmptyRow
visibility: public
parameters: []
comment: null
- name: testValidAccessControlWithEmptyRow
visibility: public
parameters: []
comment: null
- name: provideEntryPointFirewalls
visibility: public
parameters: []
comment: null
- name: testEntryPointRequired
visibility: public
parameters:
- name: firewall
- name: messageRegex
comment: '# * @dataProvider provideEntryPointRequiredData'
- name: provideEntryPointRequiredData
visibility: public
parameters: []
comment: null
- name: testConfigureCustomAuthenticator
visibility: public
parameters:
- name: firewall
- name: expectedAuthenticators
comment: '# * @dataProvider provideConfigureCustomAuthenticatorData'
- name: provideConfigureCustomAuthenticatorData
visibility: public
parameters: []
comment: null
- name: testCompilesWithoutSessionListenerWithStatelessFirewallWithAuthenticatorManager
visibility: public
parameters: []
comment: null
- name: testCompilesWithSessionListenerWithStatefulllFirewallWithAuthenticatorManager
visibility: public
parameters: []
comment: null
- name: testUserCheckerWithAuthenticatorManager
visibility: public
parameters:
- name: config
- name: expectedUserCheckerClass
comment: '# * @dataProvider provideUserCheckerConfig'
- name: provideUserCheckerConfig
visibility: public
parameters: []
comment: null
- name: testConfigureCustomFirewallListener
visibility: public
parameters: []
comment: null
- name: testClearSiteDataLogoutListenerEnabled
visibility: public
parameters: []
comment: null
- name: testClearSiteDataLogoutListenerDisabled
visibility: public
parameters: []
comment: null
- name: testNothingDoneWithEmptyConfiguration
visibility: public
parameters: []
comment: null
- name: testCustomHasherWithMigrateFrom
visibility: public
parameters: []
comment: null
- name: getRawContainer
visibility: protected
parameters: []
comment: null
- name: getContainer
visibility: protected
parameters: []
comment: null
- name: supports
visibility: public
parameters:
- name: request
comment: null
- name: authenticate
visibility: public
parameters:
- name: request
comment: null
- name: createToken
visibility: public
parameters:
- name: passport
- name: firewallName
comment: null
- name: onAuthenticationSuccess
visibility: public
parameters:
- name: request
- name: token
- name: firewallName
comment: null
- name: onAuthenticationFailure
visibility: public
parameters:
- name: request
- name: exception
comment: null
- name: checkPreAuth
visibility: public
parameters:
- name: user
comment: null
- name: checkPostAuth
visibility: public
parameters:
- name: user
comment: null
- name: createListeners
visibility: public
parameters:
- name: container
- name: firewallName
- name: config
comment: null
- name: createAuthenticator
visibility: public
parameters:
- name: container
- name: firewallName
- name: config
- name: userProviderId
comment: null
- name: getPriority
visibility: public
parameters: []
comment: null
- name: getKey
visibility: public
parameters: []
comment: null
- name: addConfiguration
visibility: public
parameters:
- name: builder
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\AuthenticatorFactoryInterface
- Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\FirewallListenerFactoryInterface
- Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension
- Symfony\Bundle\SecurityBundle\SecurityBundle
- Symfony\Bundle\SecurityBundle\Tests\DependencyInjection\Fixtures\UserProvider\DummyProvider
- Symfony\Component\Config\Definition\Builder\NodeDefinition
- Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
- Symfony\Component\DependencyInjection\Argument\IteratorArgument
- Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass
- Symfony\Component\DependencyInjection\ContainerBuilder
- Symfony\Component\DependencyInjection\Reference
- Symfony\Component\ExpressionLanguage\Expression
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\RequestMatcher\PathRequestMatcher
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\Security\Core\Authentication\Token\TokenInterface
- Symfony\Component\Security\Core\Exception\AuthenticationException
- Symfony\Component\Security\Core\User\InMemoryUserChecker
- Symfony\Component\Security\Core\User\UserCheckerInterface
- Symfony\Component\Security\Core\User\UserInterface
- Symfony\Component\Security\Core\User\UserProviderInterface
- Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface
- Symfony\Component\Security\Http\Authenticator\HttpBasicAuthenticator
- Symfony\Component\Security\Http\Authenticator\Passport\Passport
interfaces:
- AuthenticatorInterface
- UserCheckerInterface
- AuthenticatorFactoryInterface