blob: a95001d4346db9a1f87b0f86a11ba63dcbe081fb (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//-----------------------------------------------------------------------
// <copyright file="ITamperResistantOAuthMessage.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OAuth.ChannelElements {
using System;
using System.Collections.Generic;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.Messaging.Bindings;
/// <summary>
/// An interface that OAuth messages implement to support signing.
/// </summary>
public interface ITamperResistantOAuthMessage : IDirectedProtocolMessage, ITamperResistantProtocolMessage, IMessageOriginalPayload {
/// <summary>
/// Gets or sets the method used to sign the message.
/// </summary>
string SignatureMethod { get; set; }
/// <summary>
/// Gets or sets the Token Secret used to sign the message.
/// </summary>
string TokenSecret { get; set; }
/// <summary>
/// Gets or sets the Consumer key.
/// </summary>
string ConsumerKey { get; set; }
/// <summary>
/// Gets or sets the Consumer Secret used to sign the message.
/// </summary>
string ConsumerSecret { get; set; }
/// <summary>
/// Gets or sets the HTTP method that will be used to transmit the message.
/// </summary>
string HttpMethod { get; set; }
/// <summary>
/// Gets or sets the URL of the intended receiver of this message.
/// </summary>
new Uri Recipient { get; set; }
}
}
|