summaryrefslogtreecommitdiffstats
path: root/source/Janrain.OpenId/Server/UntrustedReturnUrl.cs
blob: 77bf93e9e72a9e9957f2bf8f0895aca35c49bec0 (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
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Text;

namespace Janrain.OpenId.Server
{
    public class UntrustedReturnUrl : ProtocolException
    {

        #region Private Members

        private Uri _return_to;
        private string _trust_root;

        #endregion

        #region Constructor(s)

        public UntrustedReturnUrl(NameValueCollection query, Uri return_to, string trust_root)
            : base(query, "return_to " + return_to.AbsoluteUri + " not under trust_root " + trust_root)
        {
            _return_to = return_to;
            _trust_root = trust_root;
        }

        #endregion

    }
}