Partilhar via


OpenIdConnectConfiguration.Create(String) Method

Definition

Deserializes the json string into an OpenIdConnectConfiguration object.

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

Parameters

json
String

json string representing the configuration.

Returns

OpenIdConnectConfiguration object representing the configuration.

Exceptions

Thrown if json is null or empty.

Thrown if json fails to deserialize.

Applies to