add scope to id

This commit is contained in:
2025-10-24 20:05:56 -03:00
parent c68aa98fc9
commit c4509f5072
18 changed files with 173 additions and 58 deletions

View File

@@ -1,5 +1,5 @@
import time
from dataclasses import dataclass
from dataclasses import dataclass, field
from authlib.oauth2.rfc6749 import (
AuthorizationCodeMixin,
@@ -15,6 +15,7 @@ class User:
name: str
email: str
email_verified: bool = False
scope: list[str] | None = None
def get_user_id(self):
return self.id