15 lines
378 B
C#
15 lines
378 B
C#
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";
|
|
}
|
|
}
|
|
|