Skip to content

Add support for .NET 9 to access token management #124

Add support for .NET 9 to access token management

Add support for .NET 9 to access token management #124

GitHub Actions / Test Report - IdentityModel.OidcClient.Tests succeeded Nov 15, 2024 in 1s

46 passed, 0 failed and 0 skipped

Tests passed successfully

✅ identity-model-oidc-client/test/IdentityModel.OidcClient.Tests/TestResults/Tests.trx

46 tests were completed in 12s with 46 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Duende.IdentityModel.OidcClient.AuthorizeRequestTests 3✅ 133ms
Duende.IdentityModel.OidcClient.CodeFlowResponseTestsWithNoValidation 15✅ 144ms
Duende.IdentityModel.OidcClient.CommonResponseTests 3✅ 7ms
Duende.IdentityModel.OidcClient.ConfigurationTests 10✅ 123ms
Duende.IdentityModel.OidcClient.CryptoHelperTests 3✅ 22ms
Duende.IdentityModel.OidcClient.DPoP.DPoPTest 4✅ 7s
Duende.IdentityModel.OidcClient.EndSessionUrlTests 4✅ 22ms
Duende.IdentityModel.OidcClient.LogSerializerTests 1✅ 39ms
Duende.IdentityModel.OidcClient.OidcClientTests 1✅ 168ms
Duende.IdentityModel.OidcClient.RefreshTokenDelegatingHandlerTests 2✅ 270ms

✅ Duende.IdentityModel.OidcClient.AuthorizeRequestTests

✅ Browser_error_is_surfaced_in_authorize_response
✅ Default_parameters_should_be_used_for_authorize_request
✅ Missing_default_parameters_can_be_set_by_extra_parameters

✅ Duende.IdentityModel.OidcClient.CodeFlowResponseTestsWithNoValidation

✅ Authorize_should_push_parameters_when_PAR_is_enabled
✅ Error_redeeming_code_should_fail
✅ Extra_parameters_on_backchannel_should_be_sent
✅ Malformed_identity_token_on_token_response_should_fail
✅ Missing_access_token_on_token_response_should_fail
✅ Multi_tenant_token_issuer_name_should_succeed_by_policy_option
✅ No_identity_token_on_token_response_and_no_profile_loading_should_succeed
✅ No_identity_token_on_token_response_with_profile_loading_should_succeed
✅ No_identity_token_validator_should_fail
✅ Par_request_should_include_client_assertion_in_body
✅ Sending_authorization_header_should_succeed
✅ Sending_client_credentials_in_body_should_succeed
✅ Valid_response_with_id_token_should_succeed
✅ Valid_response_with_profile_should_succeed
✅ Valid_response_without_id_token_should_succeed

✅ Duende.IdentityModel.OidcClient.CommonResponseTests

✅ Invalid_state_should_be_rejected
✅ Missing_code_should_be_rejected
✅ Missing_state_should_be_rejected

✅ Duende.IdentityModel.OidcClient.ConfigurationTests

✅ Error401_while_loading_discovery_document_should_throw
✅ Exception_while_loading_discovery_document_should_throw
✅ GetClientAssertionAsync_should_return_statically_configured_client_assertion_by_default
✅ Missing_authorize_endpoint_should_throw
✅ Missing_issuer_should_throw
✅ Missing_keyset_should_throw
✅ Missing_token_endpoint_should_throw
✅ No_authority_and_no_static_config_should_throw_exception
✅ Null_options_should_throw_exception
✅ Providing_required_provider_information_should_not_throw

✅ Duende.IdentityModel.OidcClient.CryptoHelperTests

✅ ComputeHash_should_compute_correct_hashes_for_all_signature_algorithms(data: "asdf", algorithmName: "RS256")
✅ ComputeHash_should_compute_correct_hashes_for_all_signature_algorithms(data: "asdf", algorithmName: "RS384")
✅ ComputeHash_should_compute_correct_hashes_for_all_signature_algorithms(data: "asdf", algorithmName: "RS512")

✅ Duende.IdentityModel.OidcClient.DPoP.DPoPTest

✅ dpop_tokens_should_be_passed_to_api
✅ dpop_tokens_should_be_passed_to_token_endpoint
✅ when_nonce_required_nonce_should_be_used_for_api_endpoint
✅ when_nonce_required_nonce_should_be_used_for_token_endpoint

✅ Duende.IdentityModel.OidcClient.EndSessionUrlTests

✅ Default_parameters_should_create_expected_end_session_url
✅ Id_token_hint_should_create_expected_end_session_url
✅ Post_logout_redirect_parameter_and_id_token_hint_should_create_expected_end_session_url
✅ Post_logout_redirect_parameter_should_create_expected_end_session_url

✅ Duende.IdentityModel.OidcClient.LogSerializerTests

✅ LogSerializer_should_serialize_arbitrary_types

✅ Duende.IdentityModel.OidcClient.OidcClientTests

✅ RefreshTokenAsync_with_scope_should_set_http_request_scope_parameter

✅ Duende.IdentityModel.OidcClient.RefreshTokenDelegatingHandlerTests

✅ Can_refresh_access_tokens_in_parallel
✅ Can_refresh_access_tokens_with_sliding_refresh_tokens