From d7b5f8b7775a7c623d4bcfa7015476f835aabfa2 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Thu, 6 Aug 2020 23:28:30 +0200 Subject: server: start of ids4 impl --- src/server/Models/Constants.cs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'src/server/Models/Constants.cs') 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 -- cgit v1.3