blob: 5cbbdceb340ccdf605561a46b9db4fac98dff745 (
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
|
//-----------------------------------------------------------------------
// <copyright file="IProtocolMessage.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Messaging {
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// The interface that classes must implement to be serialized/deserialized
/// as protocol messages.
/// </summary>
public interface IProtocolMessage : IMessage {
/// <summary>
/// Gets the level of protection this message requires.
/// </summary>
MessageProtections RequiredProtection { get; }
/// <summary>
/// Gets a value indicating whether this is a direct or indirect message.
/// </summary>
MessageTransport Transport { get; }
}
}
|