feat(auth): Add OAuth2 authentication

This commit is contained in:
Björn Benouarets
2026-01-27 16:35:46 +01:00
commit 50c85e9b7f
36 changed files with 1599 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
class Session:
def __init__(self, session: str) -> None:
self.session = session
def __str__(self) -> str:
return self.session
def __eq__(self, other: object) -> bool:
if not isinstance(other, Session):
return False
return self.session == other.session