diff options
Diffstat (limited to 'TwoStepsAuthenticator.TestWebsite/Users/WebsiteUser.cs')
-rw-r--r-- | TwoStepsAuthenticator.TestWebsite/Users/WebsiteUser.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/TwoStepsAuthenticator.TestWebsite/Users/WebsiteUser.cs b/TwoStepsAuthenticator.TestWebsite/Users/WebsiteUser.cs new file mode 100644 index 0000000..2cc6cc9 --- /dev/null +++ b/TwoStepsAuthenticator.TestWebsite/Users/WebsiteUser.cs @@ -0,0 +1,29 @@ +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); } + } + + } +}
\ No newline at end of file |