Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models.Integrations Inheritance: System.Object

Syntax

Mintlify.Core.Models.Integrations.CookiesConfig

Summary

Represents the configuration for cookie settings.

Remarks

This configuration defines a cookie that can be set on documentation pages, allowing for custom cookie-based functionality such as user preferences or integration with external services.

Constructors

.ctor

Syntax

public CookiesConfig()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Key

Gets or sets the cookie key.

Syntax

public string Key { get; set; }

Property Value

Type: string?

Remarks

Specifies the name of the cookie. This key is used to identify the cookie in the browser and should be a unique, descriptive string following standard cookie naming conventions.

Value

Gets or sets the cookie value.

Syntax

public string Value { get; set; }

Property Value

Type: string?

Remarks

Specifies the value to be stored in the cookie. The value should be appropriately encoded and should not contain sensitive information as cookies are stored in the user’s browser.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?