# CookieThemeServiceOptions Class

Options for the [CookieThemeService](https://blazor.radzen.com/docs/api/Radzen.CookieThemeService.md).

Namespace: [Radzen](https://blazor.radzen.com/docs/api/Radzen.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- CookieThemeServiceOptions

## Syntax

```csharp
public class CookieThemeServiceOptions
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public CookieThemeServiceOptions()` | Options for the [CookieThemeService](https://blazor.radzen.com/docs/api/Radzen.CookieThemeService.md). |

## Properties

| Property | Type | Description |
|------|------|-------------|
| Duration | `TimeSpan` | Gets or sets the cookie duration. |
| IsSecure | `bool` | Gets or sets a value indicating whether to use secure cookies. |
| Name | `string` | Gets or sets the cookie name. |
| SameSite | `CookieSameSiteMode?` | Gets or sets the SameSite attribute for the cookie. |

