summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Mocks
Commit message (Collapse)AuthorAgeFilesLines
* Fixes some OpenID redirect tests.Andrew Arnott2013-03-231-0/+13
|
* Fixes remaining build breaks.Andrew Arnott2013-03-221-25/+21
|
* Moves the rest of the static methods out.Andrew Arnott2013-03-211-18/+18
|
* Fixes the rest of the build breaks!Andrew Arnott2013-03-191-0/+28
|
* Lots more test build break fixes.Andrew Arnott2013-03-171-1/+13
|
* Many more unit test build fixes and product touch-ups.Andrew Arnott2013-03-075-240/+52
|
* Unit test build break fixes.Andrew Arnott2013-03-0614-940/+50
|
* Replaces IDirectWebRequestHandler with HttpClient in DNOA.Core.Andrew Arnott2012-12-291-116/+0
| | | | Build breaks are everywhere outside of just this one project as a result.
* Removes more remnants of Code Contracts.Andrew Arnott2012-12-269-12/+4
|
* Replaces DNOA's internal Requires class with Validation NuGet package.Andrew Arnott2012-12-268-0/+8
|
* StyleCop fixes.Andrew Arnott2012-12-262-0/+3
|
* Fixes timeout in unit tests.Andrew Arnott2012-12-263-12/+33
|
* Adds ability for OAuth 2 clients to accept deeper access token JSON responses.Andrew Arnott2012-12-241-0/+4
| | | | Fixes #168
* Adds ClientBase.CreateAuthorizingHandlerAndrew Arnott2012-09-261-0/+46
| | | | | | This method creates an HttpMessageHandler that automatically applies the OAuth 2 access token (bearer) to all outbound HTTP requests. Fixes #205
* Moved some JSON serialization logic to MessagingUtilities and added a unit test.Andrew Arnott2012-04-281-0/+18
|
* Fixes access denial errors from OAuth 2 resource servers so they include the ↵Andrew Arnott2012-04-221-0/+5
| | | | | | required parameters in their WWW-Authenticate headers. Fixes #124
* Fixed HTTP Basic authentication for OAuth 2 clients so that it actually ↵Andrew Arnott2012-04-191-0/+33
| | | | works in the sample.
* StyleCop cleanup, and reversal of some code changes that were no longer ↵Andrew Arnott2012-04-181-27/+0
| | | | necessary.
* We have HTTP Basic client authentication working now in OAuth 2.Andrew Arnott2012-04-183-9/+62
|
* Renamed IAuthorizationServer to IAuthorizationServerHost.Andrew Arnott2012-04-081-1/+1
| | | | To avoid confusion with the concrete class AuthorizationServer.
* Applied all the StyleCop fixes necessary by the StyleCop 4.7 upgrade.Andrew Arnott2012-03-103-5/+12
|
* Fixed StyleCop messages.Andrew Arnott2012-03-051-1/+1
|
* HttpRequestInfo ctors are now internal, and publicly we have staticAndrew Arnott2012-03-051-1/+1
| | | | factory methods that return HttpRequestBase instances.
* Replaced API requirements for HttpRequestInfo with HttpRequestBase (new in ↵Andrew Arnott2012-03-055-64/+97
| | | | | | .NET 3.5 SP1). This makes us more friendly to MVC as well as mock-based unit testing.
* Added scaffolding for OAuth2 unit tests and added the first test for client ↵Andrew Arnott2012-02-202-1/+29
| | | | authorization.
* Updated all copyright notices to reflect copyright assignment to Outercurve.Andrew Arnott2012-02-0527-54/+54
| | | | Fixes #66
* OpenID messages that are missing signed parameters now throws ↵Andrew Arnott2012-01-291-0/+15
| | | | | | ProtocolException instead of KeyNotFoundException. Fixes #45
* Fixed build warnings.Andrew Arnott2011-10-091-1/+1
|
* All product assemblies build without ccrewrite.exe now.Andrew Arnott2011-09-187-18/+18
|
* Fixed failing OAuth Appendix test.Andrew Arnott2011-09-021-6/+4
|
* StyleCop work.Andrew Arnott2011-08-072-30/+44
|
* The test project now builds, so the whole solution does.Andrew Arnott2011-08-022-24/+162
|
* Added OutgoingWebResponse.Respond method to replace its Send method, and ↵Andrew Arnott2011-06-231-0/+6
| | | | | | avoid the ThreadAbortException that is no longer the recommended approach. Fixes #40
* StyleCop fixes and functional touch-ups.Andrew Arnott2011-05-081-2/+2
|
* Merge branch 'v3.4' into oauth2Andrew Arnott2011-04-061-10/+10
|\ | | | | | | | | | | | | 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-10/+10
| |
| * Merge branch 'v3.3' into v3.4Andrew Arnott2010-07-191-0/+1
| |\ | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | * Merge branch 'v3.2' into v3.3Andrew Arnott2010-07-191-0/+1
| | |\
| | | * Merge branch 'v3.1' into v3.2Andrew Arnott2010-07-191-0/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | | | * Merge branch 'v3.0' into v3.1Andrew Arnott2010-07-191-0/+1
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | | | | * Fixed the namespace of several tests.Andrew Arnott2010-06-271-0/+1
| | | | | |
* | | | | | Merge branch 'v3.4' into oauth2Andrew Arnott2010-07-091-6/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: samples/OAuthConsumer/Web.config src/DotNetOpenAuth/Configuration/DotNetOpenAuth.xsd src/DotNetOpenAuth/DotNetOpenAuth.csproj
| * | | | | Removed dependency on publicize.exe, which crashes now in some branches due ↵Andrew Arnott2010-07-091-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | to bugs, and publicize.exe doesn't appear to be supported by Microsoft any more, so we might as well get off it.
* | | | | | Fixed the namespace of several tests.Andrew Arnott2010-06-271-0/+1
| | | | | |
* | | | | | A bunch of work on OAuth WRAP messages.Andrew Arnott2010-02-071-2/+10
|/ / / / /
* | | | | Merge branch 'master' into master-Dev10Andrew Arnott2010-01-171-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: build.proj lib/DotNetOpenAuth.BuildTasks.dll lib/DotNetOpenAuth.BuildTasks.pdb src/DotNetOpenAuth.Test/Messaging/MessagingUtilitiesTests.cs src/DotNetOpenAuth.Test/Messaging/MultiPartPostPartTests.cs src/DotNetOpenAuth.sln src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OAuth/OAuthStrings.Designer.cs
| * \ \ \ \ Merge branch 'v3.3' into v3.4Andrew Arnott2010-01-141-2/+2
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unrecognized HTTP methods any more. Fixes Trac #169
* | | | | | Converted all the rest of the tests over to NUnit.Andrew Arnott2010-01-063-4/+4
|/ / / / /
* | | | | Further refactoring of discovery results.Andrew Arnott2009-11-233-19/+16
| | | | |
* | | | | StyleCop fixes.Andrew Arnott2009-11-222-2/+2
| | | | |
* | | | | Some extensive refactoring around IIdentifierDiscoveryResult and ↵Andrew Arnott2009-11-223-16/+18
| | | | | | | | | | | | | | | | | | | | ServiceEndpoint.
* | | | | Updated tests to build with new extensible identifier discovery.Andrew Arnott2009-11-182-4/+52
|/ / / /
* | | | Merge branch 'v3.2'Andrew Arnott2009-11-031-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.Test/DotNetOpenAuth.Test.csproj src/DotNetOpenAuth.sln src/DotNetOpenAuth/OpenId/Provider/IProviderBehavior.cs src/DotNetOpenAuth/OpenId/RelyingParty/IRelyingPartyBehavior.cs
| * | | Preparing to allow for RP discovery to yield more than just return_to endpoints.Andrew Arnott2009-11-021-1/+1
| | | |
* | | | Merge branch 'master' into openiduxAndrew Arnott2009-11-018-20/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs src/DotNetOpenAuth/OAuth/ServiceProvider.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyControlBase.cs
| * | | | Finishing up contract work.Andrew Arnott2009-09-221-1/+3
| | | | |
| * | | | Merge branch 'master' into contractsAndrew Arnott2009-09-013-1/+47
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'master' into contractsAndrew Arnott2009-06-253-13/+66
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | Switched almost entirely over to Code Contracts across the entire library.Andrew Arnott2009-05-237-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | But some unit tests still fail, and there are other issues.
* | | | | | | Fixed build break introduced in 0f5556420674886b14723898890f3b492a3854a8.Andrew Arnott2009-10-291-2/+2
| |_|/ / / / |/| | | | |
* | | | | | Merge branch 'v3.2'Andrew Arnott2009-08-311-0/+42
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OpenId/Identifier.cs
| * | | | | Merge branch 'v3.1' into v3.2Andrew Arnott2009-08-311-0/+42
| |\ \ \ \ \ | | |_|/ / / | |/| | / / | | | |/ / | | |/| | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs
| | * | | Merge branch 'v3.0' into v3.1Andrew Arnott2009-08-311-0/+42
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OpenId/OpenIdStrings.Designer.cs src/DotNetOpenAuth/OpenId/OpenIdStrings.resx
| | | * | Added tests for unsolicited assertion sending and receiving, including ↵Andrew Arnott2009-08-301-0/+42
| | | | | | | | | | | | | | | | | | | | against the RP's whitelist.
* | | | | Merge branch 'rpControlBase'Andrew Arnott2009-08-251-1/+1
|\ \ \ \ \
| * | | | | OpenIdAjaxTextBox rewritten to derive from OpenIdRelyingPartyAjaxControlBase.Andrew Arnott2009-07-231-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | A great deal of refactoring went into this, but of C# and Javascript code. The upside to this is now we can write many more AJAX controls (auto-login, for example) with minimal code. Note that the OpenIdAjaxTextBox control is not yet back up to par with the prior one. Postbacks don't yet properly deserialize the 'authenticated' state of the page.
* | | | | Added IServiceProviderTokenManager.UpdateToken method.Andrew Arnott2009-08-191-0/+4
|/ / / / | | | | | | | | | | | | Fixes Trac #96.
* | | | Added IServiceProviderAccessToken and added a method to get it on the ↵Andrew Arnott2009-06-231-1/+11
| | | | | | | | | | | | | | | | IServiceProviderTokenManager interface.
* | | | Merge branch 'v3.1'Andrew Arnott2009-06-191-11/+54
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/Configuration/OpenIdElement.cs src/DotNetOpenAuth/Messaging/MessagingUtilities.cs src/DotNetOpenAuth/OpenId/Provider/ProviderEndpoint.cs
| * | | Merge branch 'v3.0' into v3.1Andrew Arnott2009-06-191-11/+54
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Added request token TTL checking.Andrew Arnott2009-06-151-0/+6
| | | | | | | | | | | | | | | | Resolves Trac ticket #54.
| | * | Refactored OAuth service provider interfaces to better suite token and ↵Andrew Arnott2009-06-081-35/+39
| | | | | | | | | | | | | | | | consumer queries.
| | * | OAuth SP now works with 1.0 Consumers correctly.Andrew Arnott2009-06-081-0/+9
| | | |
| | * | All unit tests pass.Andrew Arnott2009-06-061-8/+23
| | | |
| | * | Initial change to comply with OAuth 1.0a.Andrew Arnott2009-06-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'v3.1'Andrew Arnott2009-06-182-2/+2
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Cleaned up distinction between public and rewritten request URLs.Andrew Arnott2009-06-182-2/+2
| | |
* | | Merge branch 'v3.1'Andrew Arnott2009-05-211-0/+17
|\ \ \ | |/ /
| * | Merge branch 'v3.0' into v3.1Andrew Arnott2009-05-211-0/+17
| |\ \ | | |/
| | * Fixed StyleCop messages.Andrew Arnott2009-05-201-2/+2
| | |
| | * Test runs more resilient to race conditions.Andrew Arnott2009-05-161-0/+17
| | |
| | * CRLF fix.Andrew Arnott2009-04-161-3/+3
| | |
* | | OP now has a RequireSsl option, which requires RP discovery to happen over ↵Andrew Arnott2009-05-081-1/+4
|/ / | | | | | | | | | | HTTPS. Fixes Trac ticket 51.
* | Merge branch 'v3.0'Andrew Arnott2009-04-152-1/+4
|\ \ | |/
| * Custom OpenID extensions may now exist outside the library.Andrew Arnott2009-04-151-1/+1
| |
| * Fixed failing unit tests.Andrew Arnott2009-04-151-1/+4
| |
* | Renamed IsSignedByProvider and hid it from request extension messages since ↵Andrew Arnott2009-04-111-1/+1
| | | | | | | | | | | | it didn't apply. Fixed Google Code Issue 241.
* | Merge commit 'v3.0'Andrew Arnott2009-04-102-8/+37
|\ \ | |/
| * Split up ITokenManager into two derived interfaces to better fit Consumer ↵Andrew Arnott2009-04-082-8/+37
| | | | | | | | and Service Provider scenarios.
* | Added capability for RPs to receive unsigned extension responses if they so ↵Andrew Arnott2009-03-301-0/+9
|/ | | | choose.
* Cleaned up logging.Andrew Arnott2009-03-151-2/+2
|
* Renamed a couple of methods:Andrew Arnott2009-03-155-11/+11
| | | | | PrepareMessageForSending -> ProcessOutgoingMessage VerifyMessageAfterReceiving -> ProcessIncomingMessage
* Renamed some methods on the Channel class to be more consistent.Andrew Arnott2009-03-154-10/+10
|
* Renamed UserAgentResponse to OutgoingWebResponse, and DirectWebResponse to ↵Andrew Arnott2009-03-157-28/+28
| | | | IncomingWebResponse.
* Refactored MessageDescription to be per-Channel instead of appdomain static.Andrew Arnott2009-03-144-12/+24
| | | | This allows for special scenarios (like OSIS tests) where individual tests might need to contrive special message serialization rules.
* Added test to verify OP's compliance with OpenID 2.0 section 8.4.1.Andrew Arnott2009-03-103-7/+95
|
* Renamed all the Channel virtual methods that end with Internal to end with Core.Andrew Arnott2009-03-104-8/+8
|
* Applied fix for HTTP verb enforcement required by OpenID 2.0 section 5.1.1.Andrew Arnott2009-03-102-1/+7
|
* response_nonces are now checked for replays by the RP against just those ↵Andrew Arnott2009-03-051-0/+4
| | | | | | nonces generated by the same Provider. Fixes Google Code Issue 175.