@synonymdev/pubky
    Preparing search index...

    Class SessionInfo

    Static snapshot of session metadata.

    Index
    capabilities: string[]

    Effective capabilities granted to this session.

    Normalized capability entries (e.g. "/pub/app/:rw").

    publicKey: PublicKey

    The user’s public key for this session.

    Use .toString() on the returned PublicKey to get the pubky<z32> identifier. Call .z32() when you specifically need the raw z-base32 value (e.g. hostnames).

    const who = sessionInfo.publicKey.toString();
    
    • Returns void

    • Returns void