summaryrefslogtreecommitdiff
path: root/VPNAuth.Server/Database/UserInformation.cs
diff options
context:
space:
mode:
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; }
+}