Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​IdentityModel.​Tokens.​JsonWebKeySet

Assembly: Microsoft.IdentityModel.Tokens

Inheritance: object → JsonWebKeySet

Contains a collection of <see cref="T:Microsoft.IdentityModel.Tokens.JsonWebKey" /> that can be populated from a json string.

Remarks

provides support for https://datatracker.ietf.org/doc/html/rfc7517.

Fields and Constants

public static bool
DefaultSkipUnresolvedJsonWebKeys
Default value for the flag that controls whether unresolved JsonWebKeys will be included in the resulting collection of <see cref="M:Microsoft.IdentityModel.Tokens.JsonWebKeySet.GetSigningKeys" /> method.

Properties

AdditionalData
When deserializing from JSON any properties that are not defined will be placed here.
Gets the <see cref="T:System.Collections.Generic.IList`1" /> .
public bool
SkipUnresolvedJsonWebKeys
Flag that controls whether unresolved JsonWebKeys will be included in the resulting collection of <see cref="M:Microsoft.IdentityModel.Tokens.JsonWebKeySet.GetSigningKeys" /> method.

Methods

public static JsonWebKeySet
Create​(string json)
Returns a new instance of <see cref="T:Microsoft.IdentityModel.Tokens.JsonWebKeySet" /> .
Returns <see cref="T:Microsoft.IdentityModel.Tokens.JsonWebKeySet" />
json a string that contains JSON Web Key parameters in JSON format.
GetSigningKeys​()
Returns the JsonWebKeys as a <see cref="T:System.Collections.Generic.IList`1" /> .
Remarks To include unresolved JsonWebKeys in the resulting <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /> collection, set <see cref="P:Microsoft.IdentityModel.Tokens.JsonWebKeySet.SkipUnresolvedJsonWebKeys" /> to <c>false</c> .
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object