Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.Server.dll Namespace: CloudNimble.BlazorEssentials.Server.Middleware Inheritance: System.Object

Syntax

Summary

Configuration options for the CrossOriginIsolationMiddleware.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

CoepPolicy

Gets or sets the Cross-Origin-Embedder-Policy value. Default is “require-corp”.

Syntax

Property Value

Type: string

Remarks

Possible values:

CoopPolicy

Gets or sets the Cross-Origin-Opener-Policy value. Default is “same-origin”.

Syntax

Property Value

Type: string

Remarks

Possible values:

CorpPolicy

Gets or sets the Cross-Origin-Resource-Policy value. Default is “same-origin”.

Syntax

Property Value

Type: string

Remarks

Possible values:

ExcludePaths

Gets or sets a list of path prefixes to exclude from cross-origin isolation. Paths starting with these prefixes will not have the headers added.

Syntax

Property Value

Type: System.Collections.Generic.List<string>

Examples

IncludeCorpHeader

Gets or sets whether to include the Cross-Origin-Resource-Policy header. Default is true.

Syntax

Property Value

Type: bool

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?