CookieThemeServiceOptions Class

Options for the CookieThemeService.

Inheritance

Object

CookieThemeServiceOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class CookieThemeServiceOptions

Constructors

CookieThemeServiceOptionslink

Options for the CookieThemeService.

Declaration
public CookieThemeServiceOptions()

Properties

Durationlink

Gets or sets the cookie duration.

Declaration
public TimeSpan Duration { get; set; }
Property Value
Type Description
TimeSpanGets or sets the cookie duration.

IsSecurelink

Gets or sets a value indicating whether to use secure cookies.

Declaration
public bool IsSecure { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether to use secure cookies.

Namelink

Gets or sets the cookie name.

Declaration
public string Name { get; set; }
Property Value
Type Description
stringGets or sets the cookie name.

SameSitelink

Gets or sets the SameSite attribute for the cookie.

Declaration
public CookieSameSiteMode? SameSite { get; set; }
Property Value
Type Description
CookieSameSiteMode?Gets or sets the SameSite attribute for the cookie.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙