Show / Hide Table of Contents

Class SAMLCookieOptions

The SAML cookie options.

Inheritance
object
SAMLCookieOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Session
Assembly: ComponentSpace.Saml2.dll
Syntax
public static class SAMLCookieOptions

Properties

Domain

Gets or sets the cookie domain.

Declaration
public static string Domain { get; set; }
Property Value
Type Description
string

The cookie domain.

Expiry

Gets or sets the SAML cookie expiry. This is required if a permanent rather than session cookie is to be created.

Declaration
public static TimeSpan Expiry { get; set; }
Property Value
Type Description
TimeSpan

The SAML cookie expiry.

HttpOnly

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

Declaration
public static bool HttpOnly { get; set; }
Property Value
Type Description
bool

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

Name

Gets or sets the SAML cookie name.

Declaration
public static string Name { get; set; }
Property Value
Type Description
string

The SAML cookie name.

Path

Gets or sets the cookie path.

Declaration
public static string Path { get; set; }
Property Value
Type Description
string

The cookie path.

RefreshExpiry

Gets or sets the flag indicating whether the SAML cookie expiry should be refreshed.

Declaration
public static bool RefreshExpiry { get; set; }
Property Value
Type Description
bool

The flag indicating whether the SAML cookie expiry should be refreshed.

SameSite

Gets or sets the SameSite mode.

Declaration
public static SameSiteMode SameSite { get; set; }
Property Value
Type Description
SameSiteMode

The SameSite mode.

Secure

Gets or sets the flag to secure (ie HTTPS only) the SAML cookie.

Declaration
public static bool Secure { get; set; }
Property Value
Type Description
bool

The the flag to secure (ie HTTPS only) the SAML cookie.

In this article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2025. All rights reserved.