Table of Contents

Class CspOptions

Namespace
Duende.IdentityServer.Configuration
Assembly
Duende.IdentityServer.dll

Options for Content Security Policy

public class CspOptions
Inheritance
CspOptions
Inherited Members

Constructors

CspOptions()

public CspOptions()

Properties

AddDeprecatedHeader

Gets or sets a value indicating whether the deprecated X-Content-Security-Policy header should be added.

public bool AddDeprecatedHeader { get; set; }

Property Value

bool

Level

Gets or sets the minimum CSP level.

public CspLevel Level { get; set; }

Property Value

CspLevel