OptionaldomainRestricts the retrieved cookies to those whose domains match or are subdomains of this one.
OptionalfirstRestricts 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.
OptionalnameFilters the cookies by name.
OptionalpartitionSelects 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.
OptionalpathRestricts the retrieved cookies to those whose path exactly matches this string.
OptionalsecureFilters the cookies by their Secure property.
OptionalsessionFilters out session vs. persistent cookies.
OptionalstoreThe cookie store to retrieve cookies from. If omitted, the current execution context's cookie store will be used.
OptionalurlRestricts the retrieved cookies to those that would match the given URL.
Information to filter the cookies being retrieved.