blob: 8348374cbb58376ed859fe034192b0b22362fb95 (
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
|
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; }
public Protocol Protocol {
get { throw new NotImplementedException(); }
}
#endregion
}
}
|