summaryrefslogtreecommitdiff
path: root/VPNAuth.Server/Database/UserInformation.cs
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-04-19 12:16:15 +0200
committerTim <contact@bytim.eu>2025-04-19 12:16:15 +0200
commitff9b1e112ed14746ed74dfff1fb4c19efd5502d4 (patch)
tree5ab9831c7be0c0ff344feb06e049115d6a58287a /VPNAuth.Server/Database/UserInformation.cs
parent4b2ad030fa381662f4b0c2464e97b0d2c5f6a716 (diff)
downloadVPNAuth-ff9b1e112ed14746ed74dfff1fb4c19efd5502d4.tar.xz
VPNAuth-ff9b1e112ed14746ed74dfff1fb4c19efd5502d4.zip
Add user information settings
Diffstat (limited to 'VPNAuth.Server/Database/UserInformation.cs')
-rw-r--r--VPNAuth.Server/Database/UserInformation.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/VPNAuth.Server/Database/UserInformation.cs b/VPNAuth.Server/Database/UserInformation.cs
new file mode 100644
index 0000000..fc6926d
--- /dev/null
+++ b/VPNAuth.Server/Database/UserInformation.cs
@@ -0,0 +1,13 @@
+namespace VPNAuth.Server.Database;
+
+public class UserInformation
+{
+ public int Id { get; set; }
+ public string? Sub { get; set; } // username in config.json
+ public string? Name { get; set; }
+ public string? GivenName { get; set; }
+ public string? FamilyName { get; set; }
+ public string? PreferredUsername { get; set; }
+ public string? Email { get; set; }
+ public string? Picture { get; set; }
+}