Udostępnij za pośrednictwem


SignedHttpRequestUtilities.CreateJwkClaim(JsonWebKey) Method

Definition

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

Applies to