diff options
Diffstat (limited to 'src/server/Models')
| -rw-r--r-- | src/server/Models/Constants.cs | 21 | ||||
| -rw-r--r-- | src/server/Models/Database/User.cs | 1 |
2 files changed, 20 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 diff --git a/src/server/Models/Database/User.cs b/src/server/Models/Database/User.cs index 479c15c..7d8bf1c 100644 --- a/src/server/Models/Database/User.cs +++ b/src/server/Models/Database/User.cs @@ -1,4 +1,5 @@ using System; +using Microsoft.AspNetCore.Identity; namespace Dough.Models.Database { |
