platform/api/symfony/Bundle/SecurityBundle/Tests/Functional/CsrfFormLoginTest.yaml

58 lines
1.6 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: CsrfFormLoginTest
class_comment: null
dependencies:
- name: KernelBrowser
type: class
source: Symfony\Bundle\FrameworkBundle\KernelBrowser
- name: EventDispatcherInterface
type: class
source: Symfony\Component\EventDispatcher\EventDispatcherInterface
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: RequestEvent
type: class
source: Symfony\Component\HttpKernel\Event\RequestEvent
- name: KernelEvents
type: class
source: Symfony\Component\HttpKernel\KernelEvents
properties: []
methods:
- name: testFormLoginAndLogoutWithCsrfTokens
visibility: public
parameters:
- name: options
comment: '# * @dataProvider provideClientOptions'
- name: testFormLoginWithInvalidCsrfToken
visibility: public
parameters:
- name: options
comment: '# * @dataProvider provideClientOptions'
- name: testFormLoginWithCustomTargetPath
visibility: public
parameters:
- name: options
comment: '# * @dataProvider provideClientOptions'
- name: testFormLoginRedirectsToProtectedResourceAfterLogin
visibility: public
parameters:
- name: options
comment: '# * @dataProvider provideClientOptions'
- name: provideClientOptions
visibility: public
parameters: []
comment: null
- name: callInRequestContext
visibility: private
parameters:
- name: client
- name: callable
comment: null
traits:
- Symfony\Bundle\FrameworkBundle\KernelBrowser
- Symfony\Component\EventDispatcher\EventDispatcherInterface
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpKernel\Event\RequestEvent
- Symfony\Component\HttpKernel\KernelEvents
interfaces: []