Skip to content

Commit 5b957e6

Browse files
committed
Pass test for TokenEndpointAuthenticationSigningAlgorithmsSupported
1 parent 7893932 commit 5b957e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

identity-model/src/IdentityModel/Client/Messages/DiscoveryDocumentResponse.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,7 @@ protected override Task InitializeAsync(object? initializationData = null)
258258
/// Gets the signing algorithms supported by the token endpoint for the signature on the JWT used to authenticate
259259
/// the client at the token endpoint for the "private_key_jwt" and "client_secret_jwt" authentication methods.
260260
/// </summary>
261-
public IEnumerable<string> TokenEndpointAuthenticationSigningAlgorithmsSupported => [];
262-
261+
public IEnumerable<string> TokenEndpointAuthenticationSigningAlgorithmsSupported => TryGetStringArray(OidcConstants.Discovery.TokenEndpointAuthSigningAlgorithmsSupported);
263262

264263
/// <summary>
265264
/// Gets the supported backchannel token delivery modes.

identity-model/test/IdentityModel.Tests/Verifications/PublicApiVerificationTests.VerifyPublicApi.verified.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ namespace Duende.IdentityModel.Client
835835
public System.Collections.Generic.IEnumerable<string> SubjectTypesSupported { get; }
836836
public string? TokenEndpoint { get; }
837837
public System.Collections.Generic.IEnumerable<string> TokenEndpointAuthenticationMethodsSupported { get; }
838+
public System.Collections.Generic.IEnumerable<string> TokenEndpointAuthenticationSigningAlgorithmsSupported { get; }
838839
public string? UserInfoEndpoint { get; }
839840
protected override System.Threading.Tasks.Task InitializeAsync(object? initializationData = null) { }
840841
public bool? TryGetBoolean(string name) { }
@@ -1445,4 +1446,4 @@ namespace Duende.IdentityModel.Validation
14451446
{
14461447
void Validate(string rawJwtResponse);
14471448
}
1448-
}
1449+
}

0 commit comments

Comments
 (0)