DoorFile
door.json: the endpoint, the token and the identity of the door that runs (trove-parts §TPD-2).
| Group | localdoor |
In the namespace octomy::localdoor. Declared in src/libs/liblocaldoor/localdoor/DoorFile.hpp.
Detailed description
The door host writes it before it accepts the first call and removes it at shutdown. The token is new at each start. A client reads the file to find the door, and the file's mode and its 0700 folder are the authentication.
See also octomy::localdoor::StandaloneFile, octomy::localdoor::DoorServer.