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

15 lines
378 B
C#
Raw Normal View History

2022-09-26 04:40:18 +03:00
using System;
namespace BlueWest.WebApi
{
internal static class SessionConstants
{
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";
}
}