aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/Models/Constants.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2020-08-06 23:28:30 +0200
committerivarlovlie <git@ivarlovlie.no>2020-08-06 23:28:30 +0200
commitd7b5f8b7775a7c623d4bcfa7015476f835aabfa2 (patch)
tree72c1daf1a0b66765c16217c416173310dd73c214 /src/server/Models/Constants.cs
parent0cdb0b7ee3cd80ddb089344e80be2c4b46d75364 (diff)
downloaddough-d7b5f8b7775a7c623d4bcfa7015476f835aabfa2.tar.xz
dough-d7b5f8b7775a7c623d4bcfa7015476f835aabfa2.zip
server: start of ids4 impl
Diffstat (limited to 'src/server/Models/Constants.cs')
-rw-r--r--src/server/Models/Constants.cs21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/server/Models/Constants.cs b/src/server/Models/Constants.cs
index 759030a..3afaaad 100644
--- a/src/server/Models/Constants.cs
+++ b/src/server/Models/Constants.cs
@@ -1,7 +1,24 @@
+using System.Collections.Generic;
+
namespace Dough.Models
{
- public class Constants
+ public static class Constants
{
- public const string AuthenticationScheme = "Cookies";
+ public static readonly string[] BrowserAppUrls =
+ {
+ "http://localhost:8080",
+ "http://localhost:3000",
+ };
+ public static readonly string[] BrowserAppLoginRedirectUrls =
+ {
+ "http://localhost:8080/signin-oidc",
+ "http://localhost:3000/signin-oidc",
+ };
+ public static readonly string[] BrowserAppLogoutRedirectUrls =
+ {
+ "http://localhost:8080/signout-callback-oidc",
+ "http://localhost:3000/signout-callback-oidc",
+ };
+
}
} \ No newline at end of file