mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
9966c6094a
This PR implements a clear-text, token-based transport protocol seen on RV30 Plus (#937). - Client sends `{"username": "email@example.com", "password": md5(password)}` and gets back a token in the response - Rest of the communications are done with POST at `/app?token=<token>` --------- Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
19 lines
492 B
Python
19 lines
492 B
Python
"""Package containing all supported transports."""
|
|
|
|
from .aestransport import AesEncyptionSession, AesTransport
|
|
from .basetransport import BaseTransport
|
|
from .klaptransport import KlapTransport, KlapTransportV2
|
|
from .ssltransport import SslTransport
|
|
from .xortransport import XorEncryption, XorTransport
|
|
|
|
__all__ = [
|
|
"AesTransport",
|
|
"AesEncyptionSession",
|
|
"SslTransport",
|
|
"BaseTransport",
|
|
"KlapTransport",
|
|
"KlapTransportV2",
|
|
"XorTransport",
|
|
"XorEncryption",
|
|
]
|