Class CookieThemeServiceOptions
Options for the CookieThemeService.
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class CookieThemeServiceOptions
Constructors
CookieThemeServiceOptions()
Options for the CookieThemeService.
Declaration
public CookieThemeServiceOptions()
Properties
Duration
Gets or sets the cookie duration.
Declaration
public TimeSpan Duration { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
IsSecure
Gets or sets a value indicating whether to use secure cookies.
Declaration
public bool IsSecure { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets or sets the cookie name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SameSite
Gets or sets the SameSite attribute for the cookie.
Declaration
public CookieSameSiteMode? SameSite { get; set; }
Property Value
Type | Description |
---|---|
CookieSameSiteMode? |