[#GetAuthCookie]
= GetAuthCookie
:mrdocs:

Read the RPC authentication cookie from disk

== Synopsis

Declared in `&lt;rpc&sol;request&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:AuthCookieResult.adoc[AuthCookieResult]
GetAuthCookie(std::string& cookie&lowbar;out);
----

== Return Value

Whether the cookie was read, disabled, or failed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cookie&lowbar;out*
| Output filled with the cookie contents on success&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
