qbit-rpc
    Preparing search index...

    Type Alias RpcAuth

    RpcAuth: { password: string; username: string } | { cookieFile: string }

    How the client authenticates. Exactly one form:

    • { username, password }: HTTP Basic credentials (rpcuser/rpcpassword or an rpcauth entry). Sent over HTTPS, or over HTTP to a loopback host.
    • { cookieFile }: qbitd's .cookie file. Only for a loopback endpoint; the file is read again for every request, so qbitd can restart and rotate it without restarting your service.

    Type Declaration

    • { password: string; username: string }
      • Readonlypassword: string

        The password. toJSON() and util.inspect never show it.

      • Readonlyusername: string

        The user name: rpcuser, or an rpcauth entry's.

    • { cookieFile: string }
      • ReadonlycookieFile: string

        The path of qbitd's .cookie file, on this host.