aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/Models/Constants.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Models/Constants.cs')
-rw-r--r--src/server/Models/Constants.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/server/Models/Constants.cs b/src/server/Models/Constants.cs
index 04e8a2b..1e49323 100644
--- a/src/server/Models/Constants.cs
+++ b/src/server/Models/Constants.cs
@@ -1,24 +1,31 @@
using System.Collections.Generic;
+using System.Security.Claims;
namespace Dough.Models
{
public static class Constants
{
+ public static class ClaimNames
+ {
+ public static string Id = "sub";
+ }
+
public static readonly string[] BrowserAppUrls =
{
"http://localhost:8080",
"http://localhost:3000",
};
+
public static readonly string[] BrowserAppLoginRedirectUrls =
{
"http://localhost:8080/oidc-callback",
"http://localhost:3000/oidc-callback",
};
+
public static readonly string[] BrowserAppLogoutRedirectUrls =
{
"http://localhost:8080",
"http://localhost:3000",
};
-
}
} \ No newline at end of file