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

15 lines
379 B
C#

using System;
namespace BlueWest.Data.Auth
{
public 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";
}
}