Documentation
    Preparing search index...

    Interface AuthHooks

    Hook for auth state and signing.

    interface AuthHooks {
        getSigner(windowId?: string): any;
        getUserPubkey(): string | null;
    }
    Index

    Methods

    • Get the NIP-07 compatible signer, or null if unavailable.

      The optional window ID lets a shell bind its own signer policy to the requesting napplet without imposing that policy in Kehto.

      Parameters

      • OptionalwindowId: string

        Originating napplet window, when available

      Returns any