diff options
author | Guillaume <guillaumelacasa@hotmail.com> | 2013-06-12 22:12:40 +0200 |
---|---|---|
committer | Guillaume <guillaumelacasa@hotmail.com> | 2013-06-12 22:12:40 +0200 |
commit | b06c0faaf8881f9447f3fd682feffcf3ddae1990 (patch) | |
tree | 5e1b02b441e672171d2438e09880484131991a2f /TwoStepsAuthenticator.TestWebsite/Users/WebsiteUser.cs | |
parent | 9cfb653f0b1ddcdc221a3abcb9e16769e0ab1d71 (diff) | |
download | TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.zip TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.gz TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.bz2 |
Test site ok
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 |