{ 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.
How the client authenticates. Exactly one form:
{ username, password }: HTTP Basic credentials (rpcuser/rpcpasswordor anrpcauthentry). Sent over HTTPS, or over HTTP to a loopback host.{ cookieFile }: qbitd's.cookiefile. Only for a loopback endpoint; the file is read again for every request, so qbitd can restart and rotate it without restarting your service.