<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.14.0" />

Microsoft.IdentityModel.Tokens.JsonWebKeySet

public class JsonWebKeySet
Contains a collection of JsonWebKey that can be populated from a json string.

Default value for the flag that controls whether unresolved JsonWebKeys will be included in the resulting collection of GetSigningKeys method.

public IDictionary<string, object> AdditionalData { get; }

When deserializing from JSON any properties that are not defined will be placed here.

public string JsonData { get; set; }

The original string used to create this instance if a string was provided.

public IList<JsonWebKey> Keys { get; }

Gets the IList<T>.

public bool SkipUnresolvedJsonWebKeys { get; set; }

Flag that controls whether unresolved JsonWebKeys will be included in the resulting collection of GetSigningKeys method.

public JsonWebKeySet()

Initializes an new instance of JsonWebKeySet.

public JsonWebKeySet(string json)

Initializes an new instance of JsonWebKeySet from a json string.

public static JsonWebKeySet Create(string json)

Returns a new instance of JsonWebKeySet.

Returns the JsonWebKeys as a IList<T>.