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