This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extracted server config from verifier, unit tested all the things
- Loading branch information
Showing
30 changed files
with
1,308 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:37:"PHPUnit\Runner\DefaultTestResultCache":5498:{a:2:{s:7:"defects";a:19:{s:56:"Test\Unit\Discovery\OauthTest::sets_well_known_correctly";i:4;s:75:"Test\Unit\JwtVerifierBuilderTest::discovery_defaults_to_oauth_when_building";i:4;s:88:"Test\Unit\JwtVerifierBuilderTest::building_the_verifier_returns_instance_of_jwt_verifier";i:4;s:58:"Test\Unit\JwtVerifierTest::can_get_issuer_from_constructor";i:4;s:61:"Test\Unit\JwtVerifierTest::can_get_discovery_from_constructor";i:4;s:72:"Test\Unit\JwtVerifierTest::will_get_meta_data_from_issuer_and_well_known";i:4;s:74:"Test\Unit\JwtVerifierBuilderTest::build_throws_exception_if_issuer_not_set";i:3;s:114:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "integer"";i:3;s:111:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "null"";i:3;s:112:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "array"";i:3;s:113:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "object"";i:3;s:65:"Test\Unit\Server\DefaultServerTest::will_get_jwks_from_well_known";i:3;s:52:"Test\Unit\JwtVerifierTest::defaults_to_oauth_adaptor";i:3;s:49:"Test\Unit\JwtVerifierTest::can_verify_empty_token";i:3;s:43:"Test\Unit\JwtVerifierTest::can_verify_nonce";i:4;s:46:"Test\Unit\JwtVerifierTest::can_verify_audience";i:3;s:51:"Test\Unit\Adaptor\FirebasePhpJwtTest::can_parse_key";i:5;s:52:"Test\Unit\Adaptor\FirebasePhpJwtTest::can_parse_keys";i:3;s:48:"Test\Unit\Adaptor\FirebasePhpJwtTest::can_decode";i:4;}s:5:"times";a:44:{s:73:"Test\Unit\Discovery\DefaultDiscoveryMethodTest::sets_well_known_correctly";d:0.002;s:56:"Test\Unit\Discovery\OauthTest::sets_well_known_correctly";d:0;s:55:"Test\Unit\Discovery\OidcTest::sets_well_known_correctly";d:0;s:70:"Test\Unit\JwtVerifierBuilderTest::when_setting_issuer_self_is_returned";d:0;s:73:"Test\Unit\JwtVerifierBuilderTest::when_setting_discovery_self_is_returned";d:0.004;s:94:"Test\Unit\JwtVerifierBuilderTest::building_the_jwt_verifier_throws_exception_if_issuer_not_set";d:0;s:75:"Test\Unit\JwtVerifierBuilderTest::discovery_defaults_to_oauth_when_building";d:0;s:88:"Test\Unit\JwtVerifierBuilderTest::building_the_verifier_returns_instance_of_jwt_verifier";d:0.006;s:58:"Test\Unit\JwtVerifierTest::can_get_issuer_from_constructor";d:0.002;s:61:"Test\Unit\JwtVerifierTest::can_get_discovery_from_constructor";d:0;s:72:"Test\Unit\JwtVerifierTest::will_get_meta_data_from_issuer_and_well_known";d:0.003;s:56:"Test\Unit\RequestTest::makes_request_to_correct_location";d:0.004;s:67:"Test\Unit\RequestTest::makes_request_to_correct_location_with_query";d:0.001;s:74:"Test\Unit\JwtVerifierBuilderTest::build_throws_exception_if_issuer_not_set";d:0.001;s:92:"Test\Unit\JwtVerifierBuilderTest::build_throws_exception_if_issuer_does_not_start_with_https";d:0;s:87:"Test\Unit\JwtVerifierBuilderTest::build_throws_exception_if_issuer_contains_replacement";d:0;s:90:"Test\Unit\JwtVerifierBuilderTest::build_throws_exception_if_client_id_contains_replacement";d:0;s:71:"Test\Unit\JwtVerifierBuilderTest::trailing_slash_is_trimmed_from_issuer";d:0.008;s:71:"Test\Unit\JwtVerifierBuilderTest::when_setting_adaptor_self_is_returned";d:0.001;s:72:"Test\Unit\JwtVerifierBuilderTest::when_setting_audience_self_is_returned";d:0;s:73:"Test\Unit\JwtVerifierBuilderTest::when_setting_client_id_self_is_returned";d:0;s:72:"Test\Unit\JwtVerifierBuilderTest::when_setting_nonce_id_self_is_returned";d:0;s:77:"Test\Unit\JwtVerifierBuilderTest::build_throws_exception_if_client_id_not_set";d:0;s:81:"Test\Unit\Server\DefaultServerTest::will_get_meta_data_from_issuer_and_well_known";d:0.003;s:114:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "integer"";d:0.001;s:111:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "null"";d:0.002;s:112:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "array"";d:0.001;s:113:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "object"";d:0.002;s:65:"Test\Unit\Server\DefaultServerTest::will_get_jwks_from_well_known";d:0.002;s:58:"Test\Unit\JwtVerifierTest::can_get_server_from_constructor";d:0.004;s:67:"Test\Unit\Server\DefaultServerTest::can_get_issuer_from_constructor";d:0.001;s:70:"Test\Unit\Server\DefaultServerTest::can_get_discovery_from_constructor";d:0;s:119:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "invalid json"";d:0.001;s:124:"Test\Unit\Server\DefaultServerTest::will_throw_exception_when_meta_data_is_not_json_string with data set "not a json object"";d:0.001;s:52:"Test\Unit\JwtVerifierTest::defaults_to_oauth_adaptor";d:0.013;s:55:"Test\Unit\JwtVerifierTest::defaults_to_firebase_adaptor";d:0.012;s:49:"Test\Unit\JwtVerifierTest::can_verify_empty_token";d:0.015;s:72:"Test\Unit\JwtVerifierTest::can_verify_empty_token_with_claims_registered";d:0.016;s:43:"Test\Unit\JwtVerifierTest::can_verify_nonce";d:0.014;s:46:"Test\Unit\JwtVerifierTest::can_verify_audience";d:0.019;s:47:"Test\Unit\JwtVerifierTest::can_verify_client_id";d:0.014;s:51:"Test\Unit\Adaptor\FirebasePhpJwtTest::can_parse_key";d:8.857;s:52:"Test\Unit\Adaptor\FirebasePhpJwtTest::can_parse_keys";d:2.472;s:48:"Test\Unit\Adaptor\FirebasePhpJwtTest::can_decode";d:0.004;}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.