Information to filter the cookies being retrieved.

interface _GetAllDetails {
    domain?: string;
    firstPartyDomain?: string;
    name?: string;
    partitionKey?: PartitionKey;
    path?: string;
    secure?: boolean;
    session?: boolean;
    storeId?: string;
    url?: string;
}
Index
domain?: string

Restricts the retrieved cookies to those whose domains match or are subdomains of this one.

firstPartyDomain?: string

Restricts the retrieved cookies to those whose first-party domains match this one. This attribute is required if First-Party Isolation is enabled. To not filter by a specific first-party domain, use null or undefined.

name?: string

Filters the cookies by name.

partitionKey?: PartitionKey

Selects a specific storage partition to look up cookies. Defaults to null, in which case only non-partitioned cookies are retrieved. If an object iis passed, partitioned cookies are also included, and filtered based on the keys present in the given PartitionKey description. An empty object ({}) returns all cookies (partitioned + unpartitioned), a non-empty object (e.g. {topLevelSite: '...'}) only returns cookies whose partition match all given attributes.

path?: string

Restricts the retrieved cookies to those whose path exactly matches this string.

secure?: boolean

Filters the cookies by their Secure property.

session?: boolean

Filters out session vs. persistent cookies.

storeId?: string

The cookie store to retrieve cookies from. If omitted, the current execution context's cookie store will be used.

url?: string

Restricts the retrieved cookies to those that would match the given URL.