SignedHttpRequestUtilities.CreateJwkClaim(JsonWebKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a "jwk" claim from a JsonWebKey representation of an asymmetric public key.
public static string CreateJwkClaim (Microsoft.IdentityModel.Tokens.JsonWebKey jsonWebKey);
static member CreateJwkClaim : Microsoft.IdentityModel.Tokens.JsonWebKey -> string
Public Function CreateJwkClaim (jsonWebKey As JsonWebKey) As String
Parameters
- jsonWebKey
- JsonWebKey
JsonWebKey representation of an asymmetric public key.
Returns
A "jwk" claim as a JSON string.
Remarks
https://datatracker.ietf.org/doc/html/rfc7800#section-3.2