using System.Security.Claims; using System.Threading.Tasks; using BlueWest.Data.Application; namespace BlueWest.Data.Auth.Context.Users; public static class AuthConsts { /// /// Helper object to return a negative callback /// public static (bool, SessionTokenUnique, ClaimsIdentity) NegativeToken => (false, null, null); public static (bool, SessionTokenUnique, ClaimsIdentity) OkAuth(SessionTokenUnique sessionTokenUnique, ClaimsIdentity claimsIdentity, bool success = true) => (success, sessionTokenUnique, claimsIdentity); }