summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Messages/UnauthorizedTokenRequest.cs
blob: cdac36fab5614f9cac025fbb2848d2371fb4b897 (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
//-----------------------------------------------------------------------
// <copyright file="UnauthorizedTokenRequest.cs" company="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOAuth.Messages {
	using System.Collections.Generic;
	using DotNetOAuth.Messaging;

	/// <summary>
	/// A direct message sent from Consumer to Service Provider to request a Request Token.
	/// </summary>
	public class UnauthorizedTokenRequest : SignedMessageBase {
		/// <summary>
		/// Initializes a new instance of the <see cref="UnauthorizedTokenRequest"/> class.
		/// </summary>
		/// <param name="serviceProvider">The URI of the Service Provider endpoint to send this message to.</param>
		protected internal UnauthorizedTokenRequest(MessageReceivingEndpoint serviceProvider)
			: base(MessageTransport.Direct, serviceProvider) {
		}

		/// <summary>
		/// Gets the extra, non-OAuth parameters that will be included in the message.
		/// </summary>
		public new IDictionary<string, string> ExtraData {
			get { return base.ExtraData; }
		}
	}
}