@synonymdev/pubky
    Preparing search index...

    Class GrantManager

    Account-level grant management for a signed-in user.

    Index
    • Returns void

    • Returns void

    • List all active grants for this user.

      Requires a root-capability session. Non-root sessions surface the homeserver 403 as the standard request error.

      Returns Promise<GrantInfo[]>

    • Revoke a specific grant by id.

      Requires a root-capability session. Malformed ids throw InvalidInput.

      Parameters

      • grant_id: string

      Returns Promise<void>