#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Common\.Constants](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Constants '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\.

```csharp
public static class OidcConstants
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → OidcConstants
### Fields

## OidcConstants\.CorsPolicyName Field {#Abblix.Oidc.Server.Common.Constants.OidcConstants.CorsPolicyName}

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\.

```csharp
public const string CorsPolicyName = "OidcCorsPolicy";
```

#### Field Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
