CodeLiturgy.Dashboard/BlueWest.Api/Session/SessionConstants.cs

15 lines
378 B
C#
Raw Normal View History

2022-09-18 04:00:24 +03:00
using System;
namespace BlueWest.WebApi
{
internal static class SessionConstants
{
2022-09-19 05:50:15 +03:00
public static TimeSpan DefaultSessionMaxAge = TimeSpan.FromHours(24);
2022-09-18 04:00:24 +03:00
public const string ApiNamePolicy = "ApiUser";
2022-09-19 05:50:15 +03:00
public const string SessionTokenHeaderName = "x-bw2-auth";
public const string CookieDomain = "http://localhost:5173";
2022-09-18 04:00:24 +03:00
}
}