Documentation
    Preparing search index...

    Interface AuthAdapter

    Auth adapter — user identity and signing.

    interface AuthAdapter {
        getSigner(windowId?: string): Signer | null;
        getUserPubkey(): string | null;
    }
    Index

    Methods

    • Get the signer, or null if unavailable.

      Runtimes may use windowId to bind signer policy to the requesting napplet. Implementations that do not need caller context may ignore it.

      Parameters

      • OptionalwindowId: string

        Originating napplet window, when the request is window-scoped

      Returns Signer | null