Table of Contents

Class CookieOptions

Namespace
ComponentSpace.Saml2.Bindings
Assembly
ComponentSpace.Saml2.dll

Cookie options.

public class CookieOptions
Inheritance
CookieOptions
Inherited Members

Properties

Domain

Gets or sets the cookie domain.

public string Domain { get; set; }

Property Value

string

The cookie domain.

Expires

Gets or sets the expiration date and time.

public DateTimeOffset? Expires { get; set; }

Property Value

DateTimeOffset?

The expiration date and time.

HttpOnly

Gets or sets the flag indicating whether the cookie is accessible by client-side script.

public bool HttpOnly { get; set; }

Property Value

bool

The flag indicating whether the cookie is accessible by client-side script.

IsEssential

Gets or sets the flag indicating whether the cookie is essential for the application to run.

public bool IsEssential { get; set; }

Property Value

bool

The flag indicating whether the cookie is essential for the application to run.

MaxAge

Gets or sets the maximum age.

public TimeSpan? MaxAge { get; set; }

Property Value

TimeSpan?

The maximum age.

Path

Gets or sets the cookie path.

public string Path { get; set; }

Property Value

string

The cookie path.

SameSite

Gets or sets the SameSite mode.

public CookieOptions.SameSiteMode SameSite { get; set; }

Property Value

CookieOptions.SameSiteMode

The SameSite mode.

Secure

Gets or sets the flag indicating whether the cookie is transmitted over HTTPS only.

public bool Secure { get; set; }

Property Value

bool

The flag indicating whether the cookie is transmitted over HTTPS only.