190 lines
5.1 KiB
YAML
190 lines
5.1 KiB
YAML
name: AccessTokenTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: AlgorithmManager
|
|
type: class
|
|
source: Jose\Component\Core\AlgorithmManager
|
|
- name: JWK
|
|
type: class
|
|
source: Jose\Component\Core\JWK
|
|
- name: ES256
|
|
type: class
|
|
source: Jose\Component\Signature\Algorithm\ES256
|
|
- name: JWSBuilder
|
|
type: class
|
|
source: Jose\Component\Signature\JWSBuilder
|
|
- name: CompactSerializer
|
|
type: class
|
|
source: Jose\Component\Signature\Serializer\CompactSerializer
|
|
- name: InvalidConfigurationException
|
|
type: class
|
|
source: Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
|
|
- name: MockHttpClient
|
|
type: class
|
|
source: Symfony\Component\HttpClient\MockHttpClient
|
|
- name: MockResponse
|
|
type: class
|
|
source: Symfony\Component\HttpClient\Response\MockResponse
|
|
- name: Response
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Response
|
|
properties: []
|
|
methods:
|
|
- name: testNoTokenHandlerConfiguredShouldFail
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testNoTokenExtractorsConfiguredShouldFail
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAnonymousAccessIsGranted
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDefaultFormEncodedBodySuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDefaultFormEncodedBodyFailure
|
|
visibility: public
|
|
parameters:
|
|
- name: parameters
|
|
- name: headers
|
|
comment: '# * @dataProvider defaultFormEncodedBodyFailureData'
|
|
- name: testDefaultMissingFormEncodedBodyFail
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCustomFormEncodedBodySuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCustomFormEncodedBodyFailure
|
|
visibility: public
|
|
parameters:
|
|
- name: parameters
|
|
- name: headers
|
|
comment: '# * @dataProvider customFormEncodedBodyFailure'
|
|
- name: testCustomMissingFormEncodedBodyShouldFail
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: defaultFormEncodedBodyFailureData
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: customFormEncodedBodyFailure
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDefaultHeaderAccessTokenSuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testMultipleAccessTokenExtractorSuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDefaultHeaderAccessTokenFailure
|
|
visibility: public
|
|
parameters:
|
|
- name: headers
|
|
comment: '# * @dataProvider defaultHeaderAccessTokenFailureData'
|
|
- name: testDefaultMissingHeaderAccessTokenFail
|
|
visibility: public
|
|
parameters:
|
|
- name: headers
|
|
comment: '# * @dataProvider defaultMissingHeaderAccessTokenFailData'
|
|
- name: testCustomHeaderAccessTokenSuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCustomHeaderAccessTokenFailure
|
|
visibility: public
|
|
parameters:
|
|
- name: headers
|
|
- name: errorCode
|
|
comment: '# * @dataProvider customHeaderAccessTokenFailure'
|
|
- name: testCustomMissingHeaderAccessTokenShouldFail
|
|
visibility: public
|
|
parameters:
|
|
- name: headers
|
|
comment: '# * @dataProvider customMissingHeaderAccessTokenShouldFail'
|
|
- name: defaultHeaderAccessTokenFailureData
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: defaultMissingHeaderAccessTokenFailData
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: customHeaderAccessTokenFailure
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: customMissingHeaderAccessTokenShouldFail
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDefaultQueryAccessTokenSuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDefaultQueryAccessTokenFailure
|
|
visibility: public
|
|
parameters:
|
|
- name: query
|
|
comment: '# * @dataProvider defaultQueryAccessTokenFailureData'
|
|
- name: testDefaultMissingQueryAccessTokenFail
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCustomQueryAccessTokenSuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCustomQueryAccessTokenFailure
|
|
visibility: public
|
|
parameters:
|
|
- name: query
|
|
comment: '# * @dataProvider customQueryAccessTokenFailure'
|
|
- name: testCustomMissingQueryAccessTokenShouldFail
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: defaultQueryAccessTokenFailureData
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: customQueryAccessTokenFailure
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSelfContainedTokens
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCustomUserLoader
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testOidcSuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * @requires extension openssl'
|
|
- name: testCasSuccess
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Jose\Component\Core\AlgorithmManager
|
|
- Jose\Component\Core\JWK
|
|
- Jose\Component\Signature\Algorithm\ES256
|
|
- Jose\Component\Signature\JWSBuilder
|
|
- Jose\Component\Signature\Serializer\CompactSerializer
|
|
- Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
|
|
- Symfony\Component\HttpClient\MockHttpClient
|
|
- Symfony\Component\HttpClient\Response\MockResponse
|
|
- Symfony\Component\HttpFoundation\Response
|
|
interfaces: []
|