aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/Models/Constants.cs
blob: 1e493239b8c833e65f6d3697881bebeba95128c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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",
        };
    }
}