using System; using System.Collections.Generic; using System.Text; namespace DotNetOpenId.RelyingParty { internal class IndirectMessageRequest : IEncodable { public IndirectMessageRequest(Uri receivingUrl, IDictionary 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 EncodedFields { get; private set; } public Uri RedirectUrl { get; private set; } public Protocol Protocol { get { throw new NotImplementedException(); } } #endregion } }