CookieThemeServiceOptions Class

Options for the CookieThemeService.

Inheritance

Object

CookieThemeServiceOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class CookieThemeServiceOptions

Constructors

CookieThemeServiceOptionsLink to this section

Options for the CookieThemeService.

Declaration
public CookieThemeServiceOptions()

Properties

DurationLink to this section

Gets or sets the cookie duration.

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

IsSecureLink to this section

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 to this section

Gets or sets the cookie name.

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

SameSiteLink to this section

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 🗙