aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/Models/Constants.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2020-08-10 21:35:58 +0200
committerivarlovlie <git@ivarlovlie.no>2020-08-10 21:35:58 +0200
commit2cfee78597971b2e3e7e612eb9d7e8805e1aef85 (patch)
treeb939d48347c7fff48d2a51761cb546c3b9ac6ec0 /src/server/Models/Constants.cs
parent8614d18522441543e08c37c68121fed1fa8d6ae7 (diff)
downloaddough-2cfee78597971b2e3e7e612eb9d7e8805e1aef85.tar.xz
dough-2cfee78597971b2e3e7e612eb9d7e8805e1aef85.zip
add signing credentials
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