CodeLiturgy.Dashboard/BlueWest.Data.Auth/Session/SessionConstants.cs

15 lines
379 B
C#
Raw Normal View History

2022-09-26 04:40:18 +03:00
using System;
2022-09-27 20:12:13 +03:00
namespace BlueWest.Data.Auth
2022-09-26 04:40:18 +03:00
{
2022-09-27 20:12:13 +03:00
public static class SessionConstants
2022-09-26 04:40:18 +03:00
{
public static TimeSpan DefaultSessionMaxAge = TimeSpan.FromHours(24);
public const string ApiNamePolicy = "ApiUser";
public const string SessionTokenHeaderName = "x-bw2-auth";
public const string CookieDomain = "http://localhost:5173";
}
}