Enum CspLevel
- Namespace
- Fdyay.IdentityServer.Configuration
- Assembly
- Fdyay.IdentityServer.Core.dll
Which version of Content-Security-Policy a browser is assumed to understand.
public enum CspLevel
Fields
One = 0CSP 1.0. No
frame-ancestorsand no hash sources.Two = 1CSP Level 2.
frame-ancestorsandsha256-sources are available.
Remarks
Duende 8.0.1's values, measured: 0 and 1. 1 and 2 until 0.165.0, so a level configured as a number reads differently from then; one configured by name does not.