aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authentication/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authentication/users.py')
-rw-r--r--gn_auth/auth/authentication/users.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn_auth/auth/authentication/users.py b/gn_auth/auth/authentication/users.py
index cb6a68e..1f364b8 100644
--- a/gn_auth/auth/authentication/users.py
+++ b/gn_auth/auth/authentication/users.py
@@ -17,6 +17,10 @@ class User:
email: str
name: str
+ def get_user_id(self):
+ """Get the user's ID."""
+ return self.user_id
+
DUMMY_USER = User(user_id=UUID("a391cf60-e8b7-4294-bd22-ddbbda4b3530"),
email="gn3@dummy.user",