blob: 41f695a6417e88adb503ebf3d36e447e3c23238d (
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
28
29
30
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TwoStepsAuthenticator.TestWebsite.Users
{
public class WebsiteUser
{
public WebsiteUser(string login, string password, string key)
{
Login = login;
Password = password;
DoubleAuthKey = key;
}
public string Login { get; set; }
public string Password { get; set; }
public string DoubleAuthKey { get; set; }
public bool DoubleAuthActivated
{
get { return !String.IsNullOrEmpty(DoubleAuthKey); }
}
}
}
|