Class SAMLCookieOptions
The SAML cookie options.
Inheritance
Inherited Members
Namespace: ComponentSpace.SAML2.Data
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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Boolean | 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 |
---|---|
System.String | The SAML cookie name. |
Path
Gets or sets the cookie path.
Declaration
public static string Path { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Boolean | 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 |
---|---|
System.Web.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 |
---|---|
System.Boolean | The the flag to secure (ie HTTPS only) the SAML cookie. |