summaryrefslogtreecommitdiffstats
path: root/samples/OAuthAuthorizationServer/Models/AccountModels.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-06-06 16:23:01 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-06-06 16:23:01 -0700
commit299fd439688e9e4a220c862b92ec82e82bdf0ab0 (patch)
tree52489fda9952d9aa7ccd59fab795e6862e24753b /samples/OAuthAuthorizationServer/Models/AccountModels.cs
parente76823bc716477d3d5e26d17d0df7a2314bc2d82 (diff)
parentdbbc823b7580d4e7d5251539a8dcace730df2e3f (diff)
downloadDotNetOpenAuth-299fd439688e9e4a220c862b92ec82e82bdf0ab0.zip
DotNetOpenAuth-299fd439688e9e4a220c862b92ec82e82bdf0ab0.tar.gz
DotNetOpenAuth-299fd439688e9e4a220c862b92ec82e82bdf0ab0.tar.bz2
Merging OAuth 2.0 work into what will become DotNetOpenAuth 4.0.
Diffstat (limited to 'samples/OAuthAuthorizationServer/Models/AccountModels.cs')
-rw-r--r--samples/OAuthAuthorizationServer/Models/AccountModels.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/samples/OAuthAuthorizationServer/Models/AccountModels.cs b/samples/OAuthAuthorizationServer/Models/AccountModels.cs
new file mode 100644
index 0000000..32deb0b
--- /dev/null
+++ b/samples/OAuthAuthorizationServer/Models/AccountModels.cs
@@ -0,0 +1,13 @@
+namespace OAuthAuthorizationServer.Models {
+ using System.ComponentModel;
+ using System.ComponentModel.DataAnnotations;
+
+ public class LogOnModel {
+ [Required]
+ [DisplayName("OpenID")]
+ public string UserSuppliedIdentifier { get; set; }
+
+ [DisplayName("Remember me?")]
+ public bool RememberMe { get; set; }
+ }
+}