Share via


JsonWebKeySet.Create(String) Method

Definition

Returns a new instance of JsonWebKeySet.

public static Microsoft.IdentityModel.Tokens.JsonWebKeySet Create (string json);
static member Create : string -> Microsoft.IdentityModel.Tokens.JsonWebKeySet
Public Shared Function Create (json As String) As JsonWebKeySet

Parameters

json
String

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

Returns

JsonWebKeySet

Exceptions

If 'json' is null or empty.

If 'json' fails to deserialize.

Applies to