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

Name

Description

cookie_out

Output filled with the cookie contents on success.

Created with MrDocs