(20241205) Accepting many token ids to list mails.

This commit is contained in:
2024-12-05 15:07:07 +05:30
parent 9b154a6cce
commit 2c053fa6f2
7 changed files with 19 additions and 11 deletions
+4
View File
@@ -118,6 +118,10 @@ class GoogleAuthTokens(BaseModel):
# ┣┛┛ ┗┛┣┛┗ ┛ ┗┗┗ ┛
# ┛
@property
def client_user_id(self):
return {"email": self.email}
@property
def expired(self):
return True if date_time.get_current_utc_date_time() >= self.expiresAt else False