diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-05-26 23:15:21 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2008-05-26 23:15:21 -0700 |
commit | 24bcd4604eef4e77c0db3408df65ea3f7ff33e0e (patch) | |
tree | 2c7fddddd0351473966ecaa27cef9ec1836ab072 /src/DotNetOpenId/OpenIdException.cs | |
parent | ea26f06c67848867d693c178335dad579e987154 (diff) | |
download | DotNetOpenAuth-24bcd4604eef4e77c0db3408df65ea3f7ff33e0e.zip DotNetOpenAuth-24bcd4604eef4e77c0db3408df65ea3f7ff33e0e.tar.gz DotNetOpenAuth-24bcd4604eef4e77c0db3408df65ea3f7ff33e0e.tar.bz2 |
Breaking changes! OpenID indirect messages larger than 2KB are now sent via form POST instead of GET.
Refactored public API to allow for form POST responses.
This scenario is not being tested.
Diffstat (limited to 'src/DotNetOpenId/OpenIdException.cs')
-rw-r--r-- | src/DotNetOpenId/OpenIdException.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenId/OpenIdException.cs b/src/DotNetOpenId/OpenIdException.cs index b2647bb..b523cff 100644 --- a/src/DotNetOpenId/OpenIdException.cs +++ b/src/DotNetOpenId/OpenIdException.cs @@ -83,14 +83,14 @@ namespace DotNetOpenId { get {
Debug.Assert(Query != null, "An OpenId exception should always be provided with the query if it is to be encoded for transmittal to the RP.");
if (HasReturnTo)
- return EncodingType.RedirectBrowserUrl;
+ return EncodingType.IndirectMessage;
if (Query != null) {
string mode = Util.GetOptionalArg(Query, Protocol.openid.mode);
if (mode != null)
if (mode != Protocol.Args.Mode.checkid_setup &&
mode != Protocol.Args.Mode.checkid_immediate)
- return EncodingType.ResponseBody;
+ return EncodingType.DirectResponse;
}
// Notes from the original port
|