@nextcloud/dialogs
    Preparing search index...

    Interface CookieStoreManager

    The CookieStoreManager interface of the Cookie Store API allows service workers to subscribe to cookie change events. Available only in secure contexts.

    MDN Reference

    interface CookieStoreManager {
        getSubscriptions(): Promise<CookieStoreGetOptions[]>;
        subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
        unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
    }
    Index
    • The getSubscriptions() method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.

      MDN Reference

      Returns Promise<CookieStoreGetOptions[]>

    • The subscribe() method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.

      MDN Reference

      Parameters

      Returns Promise<void>

    • The unsubscribe() method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.

      MDN Reference

      Parameters

      Returns Promise<void>