[#AuthCookieResult]
= AuthCookieResult
:mrdocs:

Outcome of generating or reading the RPC authentication cookie&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class AuthCookieResult : uint8&lowbar;t;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `Disabled` 
| Cookie authentication is disabled (&hyphen;norpccookiefile)&period;
| `Error` 
| An error occurred reading or writing the cookie&period;
| `Ok` 
| The cookie was generated or read successfully&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:GenerateAuthCookie.adoc[`GenerateAuthCookie`]
| Generate a new RPC authentication cookie and write it to disk
| xref:GetAuthCookie.adoc[`GetAuthCookie`]
| Read the RPC authentication cookie from disk
|===


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