Module cookie

Source
Expand description

Authentication where both parties prove the ability to read a “cookie” file from disk.

For full documentation of the protocol, see rpc-cookie-sketch.md

Structs§

CookieAuthInProgress 🔒
An in-progress cookie authentication attempt.
CookieBegin 🔒
Begin authenticating on an RPC connection, using Cookie authentication.
CookieBeginReply 🔒
An RPC server’s response to an auth:cookie_begin request.
CookieContinue 🔒
Finish cookie authentication, returning a new RPC Session.

Functions§

cookie_begin 🔒
Invoke the auth:cookie_begin method on a connection.
cookie_continue 🔒
Invoke the auth:cookie_continue method on a CookieAuthInProgress