Table of Contents

Class OpenIddictConfiguration

Namespace
OpenIddict.Abstractions
Assembly
OpenIddict.Abstractions.dll

Represents the configuration of an authorization server.

public sealed class OpenIddictConfiguration
Inheritance
OpenIddictConfiguration
Inherited Members

Remarks

Note: depending on the stack used to produce this instance, only a few select properties may be available.

Constructors

OpenIddictConfiguration()

public OpenIddictConfiguration()

Properties

AuthorizationEndpoint

Gets or sets the URI of the authorization endpoint.

public Uri? AuthorizationEndpoint { get; set; }

Property Value

Uri

AuthorizationResponseIssParameterSupported

Gets or sets a boolean indicating whether the "iss" parameter is returned in authorization responses.

public bool? AuthorizationResponseIssParameterSupported { get; set; }

Property Value

bool?

CodeChallengeMethodsSupported

Gets the code challenge methods supported by the server.

public HashSet<string> CodeChallengeMethodsSupported { get; }

Property Value

HashSet<string>

DeviceAuthorizationEndpoint

Gets or sets the URI of the device authorization endpoint.

public Uri? DeviceAuthorizationEndpoint { get; set; }

Property Value

Uri

DeviceAuthorizationEndpointAuthMethodsSupported

Gets the client authentication methods supported by the device authorization endpoint.

public HashSet<string> DeviceAuthorizationEndpointAuthMethodsSupported { get; }

Property Value

HashSet<string>

EndSessionEndpoint

Gets or sets the URI of the end session endpoint.

public Uri? EndSessionEndpoint { get; set; }

Property Value

Uri

GrantTypesSupported

Gets the grant types supported by the server.

public HashSet<string> GrantTypesSupported { get; }

Property Value

HashSet<string>

IntrospectionEndpoint

Gets or sets the URI of the introspection endpoint.

public Uri? IntrospectionEndpoint { get; set; }

Property Value

Uri

IntrospectionEndpointAuthMethodsSupported

Gets the client authentication methods supported by the introspection endpoint.

public HashSet<string> IntrospectionEndpointAuthMethodsSupported { get; }

Property Value

HashSet<string>

Issuer

Gets or sets the URI of the issuer.

public Uri? Issuer { get; set; }

Property Value

Uri

JsonWebKeySet

Gets or sets the JSON Web Key set containing the keys exposed by the server.

public JsonWebKeySet? JsonWebKeySet { get; set; }

Property Value

JsonWebKeySet

JwksUri

Gets or sets the URI of the JWKS endpoint.

public Uri? JwksUri { get; set; }

Property Value

Uri

Properties

Gets the additional properties.

public Dictionary<string, object?> Properties { get; }

Property Value

Dictionary<string, object>

ResponseModesSupported

Gets the response mode supported by the server.

public HashSet<string> ResponseModesSupported { get; }

Property Value

HashSet<string>

ResponseTypesSupported

Gets the response types supported by the server.

public HashSet<string> ResponseTypesSupported { get; }

Property Value

HashSet<string>

RevocationEndpoint

Gets or sets the URI of the revocation endpoint.

public Uri? RevocationEndpoint { get; set; }

Property Value

Uri

RevocationEndpointAuthMethodsSupported

Gets the client authentication methods supported by the revocation endpoint.

public HashSet<string> RevocationEndpointAuthMethodsSupported { get; }

Property Value

HashSet<string>

ScopesSupported

Gets the scopes supported by the server.

public HashSet<string> ScopesSupported { get; }

Property Value

HashSet<string>

SigningKeys

Gets the signing keys extracted from the JSON Web Key set.

public List<SecurityKey> SigningKeys { get; }

Property Value

List<SecurityKey>

TokenEndpoint

Gets or sets the URI of the token endpoint.

public Uri? TokenEndpoint { get; set; }

Property Value

Uri

TokenEndpointAuthMethodsSupported

Gets the client authentication methods supported by the token endpoint.

public HashSet<string> TokenEndpointAuthMethodsSupported { get; }

Property Value

HashSet<string>

UserinfoEndpoint

Gets or sets the URI of the userinfo endpoint.

public Uri? UserinfoEndpoint { get; set; }

Property Value

Uri