GetAuthCookie

Read the RPC authentication cookie from disk

Synopsis

Declared in <rpc/request.h>

AuthCookieResult
GetAuthCookie(std::string& cookie_out);

Return Value

Whether the cookie was read, disabled, or failed.

Parameters

NameDescription
cookie_outOutput filled with the cookie contents on success.