From 2cfee78597971b2e3e7e612eb9d7e8805e1aef85 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 10 Aug 2020 21:35:58 +0200 Subject: add signing credentials --- src/server/Models/Constants.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/server/Models/Constants.cs') 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 -- cgit v1.3