#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Common](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common 'Abblix\.Oidc\.Server\.Common')

## Cookie Class

Represents an HTTP cookie along with its options\.

```csharp
public record Cookie : System.IEquatable<Abblix.Oidc.Server.Common.Cookie>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → Cookie

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[Cookie](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Cookie 'Abblix\.Oidc\.Server\.Common\.Cookie')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Constructors

## Cookie\(string, CookieOptions\) Constructor {#Abblix.Oidc.Server.Common.Cookie.Cookie(string,Abblix.Oidc.Server.Common.CookieOptions)}

Represents an HTTP cookie along with its options\.

```csharp
public Cookie(string Name, Abblix.Oidc.Server.Common.CookieOptions Options);
```
#### Parameters

###### `Name` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Common.Cookie.Cookie(string,Abblix.Oidc.Server.Common.CookieOptions).Name}

<a id="Abblix.Oidc.Server.Common.Cookie.Cookie(string,Abblix.Oidc.Server.Common.CookieOptions).Options"></a>

`Options` [CookieOptions](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.CookieOptions 'Abblix\.Oidc\.Server\.Common\.CookieOptions')
