Table of Contents

Class CorsOptions

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

Options for CORS

public class CorsOptions
Inheritance
CorsOptions
Inherited Members

Constructors

CorsOptions()

public CorsOptions()

Properties

CorsPaths

Gets or sets the cors paths.

public ICollection<PathString> CorsPaths { get; set; }

Property Value

ICollection<PathString>

The cors paths.

CorsPolicyName

Gets or sets the name of the cors policy.

public string CorsPolicyName { get; set; }

Property Value

string

The name of the cors policy.

PreflightCacheDuration

The value to be used in the preflight Access-Control-Max-Age response header.

public TimeSpan? PreflightCacheDuration { get; set; }

Property Value

TimeSpan?