From ff9b1e112ed14746ed74dfff1fb4c19efd5502d4 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 19 Apr 2025 12:16:15 +0200 Subject: Add user information settings --- VPNAuth.Server/Database/UserInformation.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 VPNAuth.Server/Database/UserInformation.cs (limited to 'VPNAuth.Server/Database/UserInformation.cs') 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; } +} -- cgit v1.2.3