blob: c562be1bc65240b06187000eed1d23c8ca8e7b1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System;
using System.Collections.Generic;
using System.Text;
namespace DotNetOpenId.RelyingParty {
internal class IndirectMessageRequest : IEncodable {
public IndirectMessageRequest(Uri receivingUrl, IDictionary<string, string> fields) {
if (receivingUrl == null) throw new ArgumentNullException("receivingUrl");
if (fields == null) throw new ArgumentNullException("fields");
RedirectUrl = receivingUrl;
EncodedFields = fields;
}
#region IEncodable Members
public EncodingType EncodingType { get { return EncodingType.IndirectMessage ; } }
public IDictionary<string, string> EncodedFields { get; private set; }
public Uri RedirectUrl { get; private set; }
#endregion
}
}
|