Share via


JsonWebKey Constructors

Definition

Overloads

JsonWebKey()

Initializes an new instance of JsonWebKey.

JsonWebKey(String)

Initializes an new instance of JsonWebKey from a json string.

JsonWebKey()

Initializes an new instance of JsonWebKey.

public JsonWebKey ();
Public Sub New ()

Applies to

JsonWebKey(String)

Initializes an new instance of JsonWebKey from a json string.

public JsonWebKey (string json);
new Microsoft.IdentityModel.Tokens.JsonWebKey : string -> Microsoft.IdentityModel.Tokens.JsonWebKey
Public Sub New (json As String)

Parameters

json
String

A string that contains JSON Web Key parameters in JSON format.

Exceptions

If 'json' is null or empty.

If 'json' fails to deserialize.

Applies to