Example #1
0
        public bool Login(LitentityUsers SB)
        {
            var sb = new SessionBase(SB);
            var p  = SessionS.Add(sb);

            LitentityService.SetPrivateResponseCredentails(p.Item2);
            return(p.Item1);
        }
Example #2
0
 internal SessionBase(LitentityUsers user)
 {
     User     = user;
     LastSeen = DateTime.Now;
     Sessions = new Dictionary <string, object>();
 }