summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs
Commit message (Collapse)AuthorAgeFilesLines
* First pass at dividing DotNetOpenAuth features into separate assemblies.Andrew Arnott2011-07-011-410/+0
| | | | Nothing compiles at this point.
* FxCop fixes.Andrew Arnott2011-05-281-3/+3
|
* Merge branch 'v3.4' into oauth2Andrew Arnott2011-05-061-0/+4
|\ | | | | | | | | | | | | | | | | Conflicts: samples/OAuthServiceProvider/Code/Global.cs src/DotNetOpenAuth/Configuration/DotNetOpenAuth.xsd src/DotNetOpenAuth/DotNetOpenAuth.csproj src/DotNetOpenAuth/Messaging/Channel.cs src/version.txt
| * Removed the explicit namespaces from all the SuppressMessageAttribute ↵Andrew Arnott2011-04-301-3/+4
| | | | | | | | references.
| * FxCop fixes and suppressions.Andrew Arnott2011-04-291-0/+3
| | | | | | | | The "CodeAnalysis" configuration now runs clean.
* | Merge branch 'v3.4' into oauth2Andrew Arnott2011-04-061-12/+30
|\ \ | |/ | | | | | | | | | | Conflicts: projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs samples/DotNetOpenAuth.ApplicationBlock/DotNetOpenAuth.ApplicationBlock.csproj samples/OAuthResourceServer/Code/OAuthAuthorizationManager.cs
| * Fixed build breaks and StyleCop messages from prior commit.Andrew Arnott2011-04-061-2/+3
| |
| * The OAuth MaximumRequestTokenTimeToLive setting is now configurable ↵Andrew Arnott2011-03-311-11/+28
| | | | | | | | | | | | programmatically (as well as the web.config way that was already available). Closes #18
| * Merge branch 'v3.3' into v3.4Andrew Arnott2010-07-191-0/+2
| |\ | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | * Merge branch 'v3.2' into v3.3Andrew Arnott2010-07-191-0/+2
| | |\
| | | * Merge branch 'v3.0' into v3.1Andrew Arnott2010-07-191-0/+2
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | | | * Fixes OAuth 1.0(a) base signature string construction to omit the realm ↵Andrew Arnott2010-06-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameter when included in the HTTP Authorization header. Fixes Trac #207
* | | | | Fixes OAuth 1.0(a) base signature string construction to omit the realm ↵Andrew Arnott2010-06-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameter when included in the HTTP Authorization header. Fixes Trac #207
* | | | | Moved authorization header creation and parsing into the MessagingUtilities ↵Andrew Arnott2010-05-291-37/+3
|/ / / / | | | | | | | | | | | | class to avoid redundant code.
* | | | Merge branch 'v3.3' into v3.4Andrew Arnott2010-03-171-1/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | Conflicts: samples/OpenIdRelyingPartyMvc/Views/User/LoginPopup.aspx src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionsInteropHelperRPRequestTests.cs
| * | | Fix for OAuthChannel.ReadFromRequestCore throwing an unhandled ↵Andrew Arnott2010-03-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | ArgumentNullException when a POST entity contains an unexpected null key in a key=value format entity. Fixes Trac #183
* | | | Merge branch 'v3.3' into v3.4Andrew Arnott2010-02-131-3/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | Conflicts: lib/DotNetOpenAuth.BuildTasks.dll lib/DotNetOpenAuth.BuildTasks.pdb
| * | | Fixed parsing the Content-Type header in a couple places.Andrew Arnott2010-02-021-3/+7
| | | | | | | | | | | | | | | | Fixed a few failing unit tests.
* | | | Merge branch 'v3.3' into v3.4Andrew Arnott2010-01-141-1/+11
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Conflicts: lib/DotNetOpenAuth.BuildTasks.dll lib/DotNetOpenAuth.BuildTasks.pdb src/DotNetOpenAuth.vsmdi
| * | | OAuth now supports HEAD HTTP method, and won't throw unhandled exception on ↵Andrew Arnott2010-01-121-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | unrecognized HTTP methods any more. Fixes Trac #169
* | | | FxCop fixesAndrew Arnott2010-01-121-1/+1
| | | |
* | | | Fixed some bugs in the way multipart messages were handled or even allowed ↵Andrew Arnott2010-01-111-8/+7
| | | | | | | | | | | | | | | | in OAuth.
* | | | Added support for binary "extra data" in messages.Andrew Arnott2010-01-111-5/+19
|/ / /
* | | More contracts work.Andrew Arnott2009-09-061-6/+3
| | |
* | | Merge branch 'master' into contractsAndrew Arnott2009-09-011-3/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs src/DotNetOpenAuth.Test/OpenId/Provider/OpenIdProviderTests.cs src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/DotNetOpenAuth.csproj src/DotNetOpenAuth/Messaging/MessageReceivingEndpoint.cs src/DotNetOpenAuth/OAuth/ChannelElements/OAuthServiceProviderMessageFactory.cs src/DotNetOpenAuth/OAuth/Protocol.cs src/DotNetOpenAuth/OAuth/ServiceProvider.cs src/DotNetOpenAuth/OpenId/Association.cs src/DotNetOpenAuth/OpenId/Behaviors/PpidGeneration.cs src/DotNetOpenAuth/OpenId/NoDiscoveryIdentifier.cs src/DotNetOpenAuth/OpenId/Provider/HostProcessedRequest.cs src/DotNetOpenAuth/OpenId/Provider/IDirectedIdentityIdentifierProvider.cs src/DotNetOpenAuth/OpenId/Provider/PrivatePersonalIdentifierProviderBase.cs src/DotNetOpenAuth/OpenId/Realm.cs src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs src/DotNetOpenAuth/OpenId/RelyingParty/PositiveAuthenticationResponseSnapshot.cs src/DotNetOpenAuth/OpenId/UriIdentifier.cs src/DotNetOpenAuth/OpenId/XriIdentifier.cs src/DotNetOpenAuth/Util.cs
| * \ \ Merge branch 'v3.2'Andrew Arnott2009-08-311-1/+5
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OpenId/Identifier.cs
| | * | Merge branch 'v3.0' into v3.1Andrew Arnott2009-08-311-1/+5
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OpenId/OpenIdStrings.Designer.cs src/DotNetOpenAuth/OpenId/OpenIdStrings.resx
| | | * Fixed unhandled exception in OAuth that was thrown for URLs that have query ↵Andrew Arnott2009-08-111-1/+5
| | | | | | | | | | | | | | | | strings that are in the '?WSDL' (non name=value) style.
| * | | Added capability to send PUT and DELETE HTTP requests using OAuth.Andrew Arnott2009-08-181-1/+5
| |/ /
| * | Merge branch 'v3.0' into v3.1Andrew Arnott2009-07-271-1/+0
| |\ \ | | |/ | | | | | | | | | Conflicts: src/version.txt
| | * Cleaned up all StyleCop and FxCop messages.Andrew Arnott2009-07-271-1/+0
| | |
* | | Merge branch 'master' into contractsAndrew Arnott2009-06-251-7/+32
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/Configuration/TypeConfigurationCollection.cs src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs src/DotNetOpenAuth/DotNetOpenAuth.csproj src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs src/DotNetOpenAuth/Messaging/Reflection/MessagePart.cs src/DotNetOpenAuth/Messaging/Reflection/ValueMapping.cs src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs src/DotNetOpenAuth/OAuth/ConsumerBase.cs src/DotNetOpenAuth/OAuth/Messages/MessageBase.cs src/DotNetOpenAuth/OAuth/Messages/UnauthorizedTokenResponse.cs src/DotNetOpenAuth/OAuth/ServiceProvider.cs src/DotNetOpenAuth/OpenId/Protocol.cs src/DotNetOpenAuth/OpenId/Provider/AutoResponsiveRequest.cs src/DotNetOpenAuth/OpenId/Provider/HostProcessedRequest.cs src/DotNetOpenAuth/OpenId/Provider/IHostProcessedRequest.cs src/DotNetOpenAuth/OpenId/Provider/Request.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs src/DotNetOpenAuth/OpenId/RelyingParty/ServiceEndpoint.cs
| * | Merge branch 'v3.0' into v3.1Andrew Arnott2009-06-191-6/+31
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.sln src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/DotNetOpenAuth.csproj src/DotNetOpenAuth/OAuth/ConsumerBase.cs src/DotNetOpenAuth/OAuth/OAuthStrings.Designer.cs src/DotNetOpenAuth/OAuth/OAuthStrings.resx src/DotNetOpenAuth/Yadis/Yadis.cs
| | * Refactored OAuth service provider interfaces to better suite token and ↵Andrew Arnott2009-06-081-1/+1
| | | | | | | | | | | | consumer queries.
| | * Refactored where token manager integration occurs.Andrew Arnott2009-06-061-1/+1
| | |
| | * Initial change to comply with OAuth 1.0a.Andrew Arnott2009-06-051-3/+26
| | | | | | | | | | | | | | | | | | Still need to come up with a plan to handle Consumers without callback, including mobile and set-top devices with limited keyboards. No tests yet. Limited thought given so far to interoperability with 1.0 vs. 1.0a.
| | * OAuth messages now only scrape the FORM data for ↵Andrew Arnott2009-05-291-2/+4
| | | | | | | | | | | | | | | | | | application/x-www-form-urlencoded HTTP requests. This fixes sending multipart POST messages (including images, for example).
| * | Cleaned up distinction between public and rewritten request URLs.Andrew Arnott2009-06-181-1/+1
| |/
* | Switched almost entirely over to Code Contracts across the entire library.Andrew Arnott2009-05-231-15/+5
|/ | | | But some unit tests still fail, and there are other issues.
* Fixes OpenID and OAuth URL data string encoding to follow RFC 3986 instead ↵Andrew Arnott2009-05-111-4/+4
| | | | | | of RFC 2396. While this probably won't fix any interop issues with OpenID, it IS anticipated to fix interop issues with OAuth since the generated signature base string will be different if any of these symbols show up in the string: !*'()
* Fixed bug where Authorization header POST requests would fail because of a ↵Andrew Arnott2009-05-041-4/+10
| | | | missing Content-Length HTTP header.
* StyleCop fixes.Andrew Arnott2009-04-301-1/+1
|
* Revised OAuth channel to better support different combinations of HTTP methods.Andrew Arnott2009-04-301-11/+51
|
* Revert "Fixed OAuth authorization header handler to use POST requests where ↵Andrew Arnott2009-04-301-4/+0
| | | | | | | | necessary." This reverts commit 0a3e7432b58f52072159356576a905c2217c55a0. The solution I had checked in before was an incomplete solution to the problem.
* Fixed OAuth authorization header handler to use POST requests where necessary.Andrew Arnott2009-04-291-0/+4
|
* Split up ITokenManager into two derived interfaces to better fit Consumer ↵Andrew Arnott2009-04-081-10/+35
| | | | and Service Provider scenarios.
* Cleaned up logging.Andrew Arnott2009-03-151-1/+1
|
* Renamed a couple of methods:Andrew Arnott2009-03-151-1/+1
| | | | | PrepareMessageForSending -> ProcessOutgoingMessage VerifyMessageAfterReceiving -> ProcessIncomingMessage
* Renamed some methods on the Channel class to be more consistent.Andrew Arnott2009-03-151-1/+1
|
* Renamed UserAgentResponse to OutgoingWebResponse, and DirectWebResponse to ↵Andrew Arnott2009-03-151-3/+3
| | | | IncomingWebResponse.
* Refactored MessageDescription to be per-Channel instead of appdomain static.Andrew Arnott2009-03-141-5/+5
| | | | This allows for special scenarios (like OSIS tests) where individual tests might need to contrive special message serialization rules.
* Renamed all the Channel virtual methods that end with Internal to end with Core.Andrew Arnott2009-03-101-3/+3
|
* OpenID error direct response messages are now sent with HTTP status codes of ↵Andrew Arnott2009-01-291-0/+6
| | | | 400.
* Fixed the DirectWebResponse bug that broke the OAuth sample.Andrew Arnott2009-01-121-1/+2
|
* Organized unit tests in the .vsmdi file.Andrew Arnott2009-01-091-35/+11
| | | | Rewrote many argument checks.
* Lots of work toward extensions.Andrew Arnott2008-12-191-1/+1
|
* A touch of refactoring and C# warning resolution.Andrew Arnott2008-11-241-2/+2
|
* Added YADIS and other discovery, XRDS, untrusted web requests.Andrew Arnott2008-11-231-1/+1
| | | | Hundreds of StyleCop messages and some FxCop as well. Some refactoring definitely went into the new files from their DotNetOpenId origins, but there is much more to do.
* Reworked the way messages are instantiated and deserialized.Andrew Arnott2008-11-201-3/+3
| | | | This was a whole lot of work to just get multi-version capability added to message types so that OpenID could handle its few versions.
* Added association messages.Andrew Arnott2008-11-111-3/+4
| | | | | Diffie-Hellman associations seem to be working according to the test. But lots of refactoring is probably in order.
* Added very basic OpenID message passing scenario test.Andrew Arnott2008-11-091-5/+5
| | | | Lots of refactoring to eliminate IOAuthDirectedMessage which was redundant with other types and to better enable testing of OpenID scenarios.
* Renamed a couple of methods in OAuthChannel to be more clear.Andrew Arnott2008-11-081-23/+23
|
* Moved some common message transmission methods from OAuth to the parent Channel.Andrew Arnott2008-11-071-43/+0
|
* Refactored the Channel extensibility to better suit OpenID.Andrew Arnott2008-11-071-82/+44
|
* Moved OAuth-specific string resources into the OAuth directory.Andrew Arnott2008-11-061-2/+2
|
* Changed namepace and project names in preparation for merge with DotNetOpenId.Andrew Arnott2008-11-041-0/+397