diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2020-08-10 21:35:58 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2020-08-10 21:35:58 +0200 |
| commit | 2cfee78597971b2e3e7e612eb9d7e8805e1aef85 (patch) | |
| tree | b939d48347c7fff48d2a51761cb546c3b9ac6ec0 /src/server/Models/Constants.cs | |
| parent | 8614d18522441543e08c37c68121fed1fa8d6ae7 (diff) | |
| download | dough-2cfee78597971b2e3e7e612eb9d7e8805e1aef85.tar.xz dough-2cfee78597971b2e3e7e612eb9d7e8805e1aef85.zip | |
add signing credentials
Diffstat (limited to 'src/server/Models/Constants.cs')
| -rw-r--r-- | src/server/Models/Constants.cs | 9 |
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 |
