mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Add authentication docs.
This commit is contained in:
parent
a604e9d679
commit
a2db3151bc
1 changed files with 11 additions and 0 deletions
11
docs/authentication.md
Normal file
11
docs/authentication.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Authentication
|
||||||
|
Once the connection is setup, the client can authenticate with the AP. For this, it sends an
|
||||||
|
`ClientResponseEncrypted` message, using packet type `0xab`.
|
||||||
|
|
||||||
|
A few different authentication methods are available, athough only one has really been tried, the
|
||||||
|
traditional user / password based authentication.
|
||||||
|
|
||||||
|
The AP will then reply with either a `APWelcome` message using packet type `0xac` if authentication
|
||||||
|
is successful, or an `APLoginFailed` with packet type `0xad` otherwise.
|
||||||
|
|
||||||
|
TODO: investigate other authentication methods (Zeroconf, facebook, stored credentials)
|
Loading…
Reference in a new issue