|
| 1 | +<?php |
| 2 | + |
| 3 | +namespace Pdsinterop\Solid\Auth\Enum\OpenId; |
| 4 | + |
| 5 | +use Pdsinterop\Solid\Auth\Enum\AbstractEnumTest as TestCase; |
| 6 | + |
| 7 | +class OpenIdConnectMetadataTest extends TestCase |
| 8 | +{ |
| 9 | + final public function getEnum() : OpenIdConnectMetadata |
| 10 | + { |
| 11 | + return new OpenIdConnectMetadata(); |
| 12 | + } |
| 13 | + |
| 14 | + final public function getExpectedValues() : array |
| 15 | + { |
| 16 | + return [ |
| 17 | + 'acr_values_supported', |
| 18 | + 'authorization_endpoint', |
| 19 | + 'claim_types_supported', |
| 20 | + 'claims_locales_supported', |
| 21 | + 'claims_parameter_supported', |
| 22 | + 'claims_supported', |
| 23 | + 'display_values_supported', |
| 24 | + 'grant_types_supported', |
| 25 | + 'id_token_encryption_alg_values_supported', |
| 26 | + 'id_token_encryption_enc_values_supported', |
| 27 | + 'id_token_signing_alg_values_supported', |
| 28 | + 'issuer', |
| 29 | + 'jwks_uri', |
| 30 | + 'op_policy_uri', |
| 31 | + 'op_tos_uri', |
| 32 | + 'registration_endpoint', |
| 33 | + 'request_object_encryption_alg_values_supported', |
| 34 | + 'request_object_encryption_enc_values_supported', |
| 35 | + 'request_object_signing_alg_values_supported', |
| 36 | + 'request_parameter_supported', |
| 37 | + 'request_uri_parameter_supported', |
| 38 | + 'require_request_uri_registration', |
| 39 | + 'response_modes_supported', |
| 40 | + 'response_types_supported', |
| 41 | + 'scopes_supported', |
| 42 | + 'service_documentation', |
| 43 | + 'subject_types_supported', |
| 44 | + 'token_endpoint', |
| 45 | + 'token_endpoint_auth_methods_supported', |
| 46 | + 'token_endpoint_auth_signing_alg_values_supported', |
| 47 | + 'ui_locales_supported', |
| 48 | + 'userinfo_encryption_alg_values_supported', |
| 49 | + 'userinfo_encryption_enc_values_supported', |
| 50 | + 'userinfo_endpoint', |
| 51 | + 'userinfo_signing_alg_values_supported', |
| 52 | + ]; |
| 53 | + } |
| 54 | + |
| 55 | + final public function getTestValue() : string |
| 56 | + { |
| 57 | + return OpenIdConnectMetadata::AUTHORIZATION_ENDPOINT; |
| 58 | + } |
| 59 | +} |
0 commit comments