Add token validation

This commit is contained in:
2025-08-21 00:49:18 +02:00
parent 626e6b6aee
commit c855fda3dc
4 changed files with 34 additions and 12 deletions

View File

@@ -2,6 +2,7 @@ class Credential:
def __init__(self, username: str, password: str):
self.username = username
self.password = password
self.sessionid = None
def to_dict(self) -> dict:
return {"username": self.username, "password": self.password}