@synonymdev/pubky
    Preparing search index...

    Class GrantSession

    Grant-only view over a grant-backed Session.

    Cookie-backed sessions do not expose this view; use session.grant and check for undefined before calling grant-session methods.

    Index
    • Returns void

    • Export the portable local secret material needed to restore this grant session.

      Treat the returned string as bearer-equivalent secret material until the grant expires or is revoked.

      Returns Promise<string>

    • Returns void

    • Current grant id (jti) backing this session.

      Returns Promise<string>