Skip to main content

OidcConstants Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Constants

OidcConstants Class

Shared identifiers the HTTP transport adapters (MVC, Minimal API) agree on. The core declares them so both adapters reference one value rather than each carrying its own copy.

public static class OidcConstants

Inheritance System.Object → OidcConstants

Fields

OidcConstants.CorsPolicyName Field

The name of the CORS policy applied to the cross-origin OIDC endpoints. The host registers a policy under this name (and calls UseCors); both transport adapters apply the same name so a host can share one policy.

public const string CorsPolicyName = "OidcCorsPolicy";

Field Value

System.String