using System;
using System.Collections.Generic;
using Nancy.Security;

namespace RaceLapTimer
{
    public class NancyUser : IUserIdentity
    {
        public NancyUser(string username)
        {
            UserName = username;
        }

        public string UserName { get; }
        public string Email { get; set; }
        public string Password { get; set; }
        public int SignInCount { get; set; }
        public bool AccountLocked { get; set; }
        public DateTime LockedAt { get; set; }
        public IEnumerable<string> Claims { get; }
    }
}