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

22 lines
548 B
C#

using System;
namespace BlueWest.Data.Auth
{
public static class SessionConstants
{
/// <summary>
/// Max age for the Session
/// </summary>
public static TimeSpan DefaultSessionMaxAge = TimeSpan.FromHours(24);
/// <summary>
/// API User policy Key
/// </summary>
public const string ApiNamePolicy = "ApiUser";
public const string SessionTokenHeaderName = "x-bw2-auth";
public const string CookieDomain = "https://localhost:7022";
}
}