summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/Code/RequestScopedTokenMessage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthServiceProvider/Code/RequestScopedTokenMessage.cs')
-rw-r--r--samples/OAuthServiceProvider/Code/RequestScopedTokenMessage.cs25
1 files changed, 0 insertions, 25 deletions
diff --git a/samples/OAuthServiceProvider/Code/RequestScopedTokenMessage.cs b/samples/OAuthServiceProvider/Code/RequestScopedTokenMessage.cs
deleted file mode 100644
index 984d683..0000000
--- a/samples/OAuthServiceProvider/Code/RequestScopedTokenMessage.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-namespace OAuthServiceProvider.Code {
- using System;
- using DotNetOpenAuth.Messaging;
- using DotNetOpenAuth.OAuth.Messages;
-
- /// <summary>
- /// A custom web app version of the message sent to request an unauthorized token.
- /// </summary>
- public class RequestScopedTokenMessage : UnauthorizedTokenRequest {
- /// <summary>
- /// Initializes a new instance of the <see cref="RequestScopedTokenMessage"/> class.
- /// </summary>
- /// <param name="endpoint">The endpoint that will receive the message.</param>
- /// <param name="version">The OAuth version.</param>
- public RequestScopedTokenMessage(MessageReceivingEndpoint endpoint, Version version)
- : base(endpoint, version) {
- }
-
- /// <summary>
- /// Gets or sets the scope of the access being requested.
- /// </summary>
- [MessagePart("scope", IsRequired = true)]
- public string Scope { get; set; }
- }
-} \ No newline at end of file