Expand description
A tiny UTF8 file format consisting of the lowercase hex-string representation of an auth token followed by a newline followed optionally by user identity string content
Structs§
Enums§
Constants§
- REFLECTOR_
AUTH_ TOKEN_ DEFAULT_ FILE_ NAME - A UTF8 file. The first line contains the auth token hex string representation and a line break. All (optional) subsequent content represents the authorizing user identity
- USER_
AUTH_ TOKEN_ FILE_ NAME - A UTF8 file. The first line contains the auth token hex string representation and a line break. All (optional) subsequent content represents the user identity
Functions§
- read_
user_ auth_ token_ file - Expects a UTF8 file. The first line contains the auth token hex string representation followed by a line break. If present, all subsequent content represents the user identity
- write_
user_ auth_ token_ file