aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.BL/CacheEntities/CachedLoginResponse.cs
blob: cc5a1de80bd0f1aa79f16a55a0605367e8ea10b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using LiteDB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.FSE.Web.Messages;

namespace Tango.FSE.BL.CacheEntities
{
    /// <summary>
    /// Represents a cached authentication login response.
    /// </summary>
    public class CachedLoginResponse
    {
        [BsonId]
        public String ID
        {
            get { return Email + "_" + "Env_" + EnvironmentId; }
        }

        public String EnvironmentId { get; set; }
        public LoginResponse Response { get; set; }
        public String Email { get; set; }
        public String Password { get; set; }
    }
}