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

namespace DotNetOAuth.Test.Mocks {
	using System.Runtime.Serialization;
	using DotNetOAuth.Messaging;
	using DotNetOAuth.Messaging.Bindings;
	using DotNetOAuth.Messaging.Reflection;

	[DataContract(Namespace = Protocol.DataContractNamespaceV10)]
	internal class TestReplayProtectedMessage : TestExpiringMessage, IReplayProtectedProtocolMessage {
		internal TestReplayProtectedMessage() { }

		internal TestReplayProtectedMessage(MessageTransport transport)
			: base(transport) {
		}

		#region IReplayProtectedProtocolMessage Members

		[MessagePart(Name = "Nonce")]
		string IReplayProtectedProtocolMessage.Nonce {
			get;
			set;
		}

		#endregion
	}
}