Table of Contents

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 = 0

CSP 1.0. No frame-ancestors and no hash sources.

Two = 1

CSP Level 2. frame-ancestors and sha256- 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.