@synonymdev/pubky
    Preparing search index...

    Class CookieSession

    Cookie-only view over a cookie-backed Session.

    New applications should use session.grant and GrantSession.

    Use GrantSession instead.

    Index
    • Returns void

    • Export session metadata for legacy cookie restore.

      The returned string contains no secrets; the browser cookie jar must still hold the HTTP-only cookie.

      Returns string

      Use GrantSession.exportLocalSecret() instead.

    • Export the cookie secret needed to restore this cookie session.

      This is available when the SDK captured the cookie secret, such as in Node.js. Browser sessions cannot read HTTP-only Set-Cookie values.

      Returns Promise<string>

      Use GrantSession.exportLocalSecret() instead.

    • Returns void