api/symfony/Bundle/SecurityBundle/Tests/SecurityTest.yaml

178 lines
5.5 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: SecurityTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: ContainerInterface
type: class
source: Psr\Container\ContainerInterface
- name: Security
type: class
source: Symfony\Bundle\SecurityBundle\Security
- name: FirewallConfig
type: class
source: Symfony\Bundle\SecurityBundle\Security\FirewallConfig
- name: FirewallMap
type: class
source: Symfony\Bundle\SecurityBundle\Security\FirewallMap
- name: Container
type: class
source: Symfony\Component\DependencyInjection\Container
- name: ServiceLocator
type: class
source: Symfony\Component\DependencyInjection\ServiceLocator
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: RequestStack
type: class
source: Symfony\Component\HttpFoundation\RequestStack
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: TokenStorageInterface
type: class
source: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
- name: TokenInterface
type: class
source: Symfony\Component\Security\Core\Authentication\Token\TokenInterface
- name: UsernamePasswordToken
type: class
source: Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
- name: AuthorizationCheckerInterface
type: class
source: Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
- name: LogicException
type: class
source: Symfony\Component\Security\Core\Exception\LogicException
- name: InMemoryUser
type: class
source: Symfony\Component\Security\Core\User\InMemoryUser
- name: UserCheckerInterface
type: class
source: Symfony\Component\Security\Core\User\UserCheckerInterface
- name: UserInterface
type: class
source: Symfony\Component\Security\Core\User\UserInterface
- name: CsrfToken
type: class
source: Symfony\Component\Security\Csrf\CsrfToken
- name: CsrfTokenManagerInterface
type: class
source: Symfony\Component\Security\Csrf\CsrfTokenManagerInterface
- name: UserAuthenticatorInterface
type: class
source: Symfony\Component\Security\Http\Authentication\UserAuthenticatorInterface
- name: AuthenticatorInterface
type: class
source: Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface
- name: LogoutEvent
type: class
source: Symfony\Component\Security\Http\Event\LogoutEvent
- name: EventDispatcherInterface
type: class
source: Symfony\Contracts\EventDispatcher\EventDispatcherInterface
- name: ServiceProviderInterface
type: class
source: Symfony\Contracts\Service\ServiceProviderInterface
properties: []
methods:
- name: testGetToken
visibility: public
parameters: []
comment: null
- name: testGetUser
visibility: public
parameters:
- name: userInToken
- name: expectedUser
comment: '# * @dataProvider getUserTests'
- name: getUserTests
visibility: public
parameters: []
comment: null
- name: testIsGranted
visibility: public
parameters: []
comment: null
- name: testGetFirewallConfig
visibility: public
parameters:
- name: request
- name: expectedFirewallConfig
comment: '# * @dataProvider getFirewallConfigTests'
- name: getFirewallConfigTests
visibility: public
parameters: []
comment: null
- name: testLogin
visibility: public
parameters: []
comment: null
- name: testLoginReturnsAuthenticatorResponse
visibility: public
parameters: []
comment: null
- name: testLoginWithoutAuthenticatorThrows
visibility: public
parameters: []
comment: null
- name: testLoginWithoutRequestContext
visibility: public
parameters: []
comment: null
- name: testLogout
visibility: public
parameters: []
comment: null
- name: testLogoutWithoutFirewall
visibility: public
parameters: []
comment: null
- name: testLogoutWithResponse
visibility: public
parameters: []
comment: null
- name: testLogoutWithValidCsrf
visibility: public
parameters: []
comment: null
- name: testLogoutWithoutRequestContext
visibility: public
parameters: []
comment: null
- name: createContainer
visibility: private
parameters:
- name: serviceId
- name: serviceObject
comment: null
traits:
- PHPUnit\Framework\TestCase
- Psr\Container\ContainerInterface
- Symfony\Bundle\SecurityBundle\Security
- Symfony\Bundle\SecurityBundle\Security\FirewallConfig
- Symfony\Bundle\SecurityBundle\Security\FirewallMap
- Symfony\Component\DependencyInjection\Container
- Symfony\Component\DependencyInjection\ServiceLocator
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\RequestStack
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
- Symfony\Component\Security\Core\Authentication\Token\TokenInterface
- Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
- Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
- Symfony\Component\Security\Core\Exception\LogicException
- Symfony\Component\Security\Core\User\InMemoryUser
- Symfony\Component\Security\Core\User\UserCheckerInterface
- Symfony\Component\Security\Core\User\UserInterface
- Symfony\Component\Security\Csrf\CsrfToken
- Symfony\Component\Security\Csrf\CsrfTokenManagerInterface
- Symfony\Component\Security\Http\Authentication\UserAuthenticatorInterface
- Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface
- Symfony\Component\Security\Http\Event\LogoutEvent
- Symfony\Contracts\EventDispatcher\EventDispatcherInterface
- Symfony\Contracts\Service\ServiceProviderInterface
interfaces: []