Skip to content

Commit bd23b6c

Browse files
iNinjaCopilot
andcommitted
Update RepresentAsAsymmetricPublicJwk doc to note AKP alg requirement
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2334da7 commit bd23b6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Microsoft.IdentityModel.Tokens/JsonWebKey.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ internal JsonObject RepresentAsAsymmetricPublicJwkForDpop()
560560

561561
/// <summary>
562562
/// Creates a JsonWebKey representation of an asymmetric public key.
563+
/// For AKP keys, the 'alg' parameter is included as it is required by the key type specification.
563564
/// </summary>
564565
/// <returns>JsonWebKey representation of an asymmetric public key.</returns>
565566
/// <remarks>https://datatracker.ietf.org/doc/html/rfc7800#section-3.2</remarks>

0 commit comments

Comments
 (0)