Add username/password to Hello message

This commit is contained in:
badaix 2025-02-06 21:11:38 +01:00
parent 3cb2b4dd93
commit 49d6d1c58f
6 changed files with 40 additions and 4 deletions

View file

@ -118,11 +118,15 @@ Sample JSON payload (whitespace added for readability):
"Instance": 1,
"MAC": "00:11:22:33:44:55",
"OS": "Arch Linux",
"Username": "Badaix",
"Password": "$ecret",
"SnapStreamProtocolVersion": 2,
"Version": "0.17.1"
}
```
The fields `Username` and `Password` are optional and only used if authentication and authorization is enabled on the server.
### Client Info
| Field | Type | Description |