summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed several failing unit tests due to their non-support for network ↵Andrew Arnott2012-04-201-1/+1
| | | | credential simulations.
* Fixed HTTP Basic authentication for OAuth 2 clients so that it actually ↵Andrew Arnott2012-04-193-2/+36
| | | | works in the sample.
* Fixed up the configuration story for OAuth 2.Andrew Arnott2012-04-181-1/+1
|
* StyleCop cleanup, and reversal of some code changes that were no longer ↵Andrew Arnott2012-04-183-30/+2
| | | | necessary.
* We have HTTP Basic client authentication working now in OAuth 2.Andrew Arnott2012-04-189-14/+89
|
* Authorization server hosts may now provide canonical usernames for the ↵Andrew Arnott2012-04-161-1/+2
| | | | | | resource owner given correct resource owner credentials. Fixes #103
* Authorization servers now gain insight into the calling client when ↵Andrew Arnott2012-04-151-1/+1
| | | | | | validating resource owner credential grant type requests. Fixes #101
* Added a public constructor to ClaimsResponse.Andrew Arnott2012-04-084-8/+8
| | | | | | Also made the probable type URIs that it accepts public and easily discoverable. Fixes #116
* Renamed IAuthorizationServer to IAuthorizationServerHost.Andrew Arnott2012-04-084-7/+7
| | | | To avoid confusion with the concrete class AuthorizationServer.
* Merge branch 'v4.0'Andrew Arnott2012-04-0543-139/+173
|\ | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.OAuth2.Client/DotNetOpenAuth.OAuth2.Client.csproj src/DotNetOpenAuth.OAuth2.ResourceServer/DotNetOpenAuth.OAuth2.ResourceServer.csproj src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs
| * Fixes InvalidCastExceptions for Identifier and Realm conversionsAndrew Arnott2012-04-052-0/+34
| | | | | | | | | | | | | | | | that can result from receiving a message before the static constructors for those types have executed. This corrects the regression introduced in v4.0.0. Fixes #109
| * Replaced a bunch of TestCase attribute usages with simply Test.Andrew Arnott2012-04-0442-139/+139
| |
* | Added tests to assert serializability of provider requests.Andrew Arnott2012-04-032-0/+47
| |
* | Fixed a couple failing unit tests.Andrew Arnott2012-03-172-14/+20
| |
* | Fixed build breaks in the solution.Andrew Arnott2012-03-172-1/+5
|/
* Access token endpoint now can respond with appropriate errors.Andrew Arnott2012-03-144-16/+49
|
* Fixed StyleCop settings files by removing the deprecated "Microsoft." prefixes.Andrew Arnott2012-03-111-4/+4
|
* Turned off ccrewrite.exe for test assembly.Andrew Arnott2012-03-101-2/+2
|
* Applied all the StyleCop fixes necessary by the StyleCop 4.7 upgrade.Andrew Arnott2012-03-107-10/+17
|
* 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-0514-156/+138
| | | | | | .NET 3.5 SP1). This makes us more friendly to MVC as well as mock-based unit testing.
* Revised more unit testes to use "fluent" NUnit API.Andrew Arnott2012-02-261-13/+13
|
* Migrated OAuth 2 tests to the new NUnit Assert syntax.Andrew Arnott2012-02-253-23/+23
|
* Changed all uses of [TestCase] to [Test] to better emulate recommended NUnit ↵Andrew Arnott2012-02-2590-425/+425
| | | | patterns.
* Added scopes to the tested authorization flows.Andrew Arnott2012-02-253-7/+17
|
* Renamed ObtainClientAccessToken.Andrew Arnott2012-02-251-1/+1
|
* Added client credential grant type support and a test to prove it.Andrew Arnott2012-02-251-0/+25
| | | | Fixes #33
* Adds support for the resource owner password credential grant.Andrew Arnott2012-02-242-1/+2
| | | | Fixes #72
* Added basic test for resource owner password authorizatino request. Not yet ↵Andrew Arnott2012-02-233-8/+29
| | | | passing.
* Enabled unit test.Andrew Arnott2012-02-221-1/+2
|
* Split up end user authorization request message types between auth code and ↵Andrew Arnott2012-02-212-3/+15
| | | | implicit.
* Added assertions about whether the client is authenticated.Andrew Arnott2012-02-212-1/+11
|
* Added two more OAuth2 unit tests, for the UserAgentClient class.Andrew Arnott2012-02-214-19/+99
|
* Moved some test code around.Andrew Arnott2012-02-202-8/+18
|
* Added scaffolding for OAuth2 unit tests and added the first test for client ↵Andrew Arnott2012-02-207-24/+164
| | | | authorization.
* Updated all copyright notices to reflect copyright assignment to Outercurve.Andrew Arnott2012-02-05140-281/+281
| | | | Fixes #66
* Updated some unit tests to match new argument validation code.Andrew Arnott2012-01-298-10/+10
|
* OpenID messages that are missing signed parameters now throws ↵Andrew Arnott2012-01-292-0/+50
| | | | | | ProtocolException instead of KeyNotFoundException. Fixes #45
* Fixed references to old DNOA.Messaging assembly in .config files.Andrew Arnott2012-01-291-3/+3
|
* Fixed build warnings regarding CLR 4 build and System.Web.Abstractions.dllAndrew Arnott2012-01-291-1/+2
|
* Added more support for HttpContextBase, HttpResponseBase, etc.Andrew Arnott2012-01-291-3/+3
|
* Renamed assembly DotNetOpenAuth.Messaging(.UI) to DotNetOpenAuth.Core(.UI)Andrew Arnott2012-01-121-4/+4
|
* Fixed build breaks.Andrew Arnott2012-01-123-12/+15
|
* Fixed some build breaks.Andrew Arnott2011-11-022-9/+11
|
* Fixed build warnings.Andrew Arnott2011-10-091-1/+1
|
* All product assemblies build without ccrewrite.exe now.Andrew Arnott2011-09-1816-39/+47
|
* Fixed failing OAuth Appendix test.Andrew Arnott2011-09-021-6/+4
|
* Fixed a bug in configuration section handling that caused even simple unit ↵Andrew Arnott2011-08-151-1/+6
| | | | tests to fail.
* StyleCop work.Andrew Arnott2011-08-072-30/+44
|
* The test project now builds, so the whole solution does.Andrew Arnott2011-08-0219-85/+224
|
* The whole solution now builds except for the test project.Andrew Arnott2011-08-021-0/+60
|
* Trying to fix up configuration section code.Andrew Arnott2011-07-102-3/+3
|
* Fixed build breaks in test project.Andrew Arnott2011-07-105-9/+31
|
* First pass at dividing DotNetOpenAuth features into separate assemblies.Andrew Arnott2011-07-011-6/+0
| | | | Nothing compiles at this point.
* Added OutgoingWebResponse.Respond method to replace its Send method, and ↵Andrew Arnott2011-06-239-28/+34
| | | | | | avoid the ThreadAbortException that is no longer the recommended approach. Fixes #40
* Fixed a few build breaks.Andrew Arnott2011-06-111-12/+0
|
* Fixed unit tests so there are no failures.Andrew Arnott2011-05-284-7/+15
|
* FxCop fixes.Andrew Arnott2011-05-281-3/+3
|
* Moved ICryptoKeyStore and related types to the Messaging.Bindings namespace.Andrew Arnott2011-05-212-0/+2
|
* Providers and Relying Parties both implement a unified pair of ↵Andrew Arnott2011-05-203-6/+8
| | | | | | ICryptoKeyStore and INonceStore. OPs can configure to use encoded association handles or database-backed ones based on a simple web.config switch.
* Updated samples and project template custom stores to use ICryptoKeyStore ↵Andrew Arnott2011-05-151-1/+1
| | | | for RPs.
* Created an IProviderAssociationStore interface so that encoding the ↵Andrew Arnott2011-05-084-8/+8
| | | | association into the handle is just one option.
* StyleCop fixes and functional touch-ups.Andrew Arnott2011-05-083-4/+5
|
* OpenID Provider association stores replaced with self-describing association ↵Andrew Arnott2011-05-076-18/+16
| | | | handles.
* Merge branch 'v3.4' into oauth2Andrew Arnott2011-05-068-65/+769
|\ | | | | | | | | | | | | | | | | Conflicts: samples/OAuthServiceProvider/Code/Global.cs src/DotNetOpenAuth/Configuration/DotNetOpenAuth.xsd src/DotNetOpenAuth/DotNetOpenAuth.csproj src/DotNetOpenAuth/Messaging/Channel.cs src/version.txt
| * Increased allowable time for perf tests to run.Andrew Arnott2011-05-031-3/+3
| |
| * Removed quiet CPU test step.Andrew Arnott2011-05-031-3/+3
| |
| * Made quiet CPU requirement during perf tests more lenient.Andrew Arnott2011-05-031-1/+1
| |
| * Fix (hopefully) the Win32Exception thrown on the build server during unit tests.Andrew Arnott2011-05-031-1/+2
| |
| * Moved the performance measuring method into TestBase.Andrew Arnott2011-05-033-35/+37
| |
| * Hid more implementation details of perf measurements.Andrew Arnott2011-05-034-130/+118
| |
| * StyleCop clean.Andrew Arnott2011-05-037-385/+196
| |
| * Perf tests now compare results against a baseline produced on the test machine.Andrew Arnott2011-05-028-65/+914
| | | | | | | | | | | | | | | | | | This uses portions of MeasureIt, which normalizes perf measurements in terms of the machine's speed. We also do other things to reduce noise: * set process and thread priority * wait for the CPU to quiet down before beginning. * set power management to High Performance * wake the CPU up if it's in a low power mode.
| * Added base signature string test for protected resource requests.Andrew Arnott2011-04-171-0/+26
| |
| * Fixes OAuth 1.0 signatures on Service Providers for messages that omit the ↵Andrew Arnott2011-04-151-0/+27
| | | | | | | | | | | | optional oauth_version parameter. Closes #28
* | Merge branch 'v3.4' into oauth2Andrew Arnott2011-04-064-19/+23
|\ \ | |/ | | | | | | | | | | 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-063-18/+22
| |
| * Attempt to make a jittery test more reliable.Andrew Arnott2010-12-291-1/+1
| |
* | Merge branch 'v3.4' into oauth2Andrew Arnott2010-12-236-6/+19
|\ \ | |/ | | | | | | | | | | Conflicts: samples/OAuthServiceProvider/Code/DatabaseTokenManager.cs samples/OAuthServiceProvider/Code/OAuthToken.cs src/DotNetOpenAuth/Messaging/MessagingStrings.resx
| * Fixed an MSTest-based unit test to be based on NUnit instead.Andrew Arnott2010-12-202-4/+3
| |
| * Fixed AOL sreg interop bug and added regression test.Andrew Arnott2010-11-241-0/+12
| | | | | | | | Thanks Dan Friedmann for finding this issue.
| * Fixed failing unit test.Andrew Arnott2010-10-201-1/+1
| |
| * Added a response stream to 301 redirect messages so that filters like ↵Andrew Arnott2010-10-201-0/+2
| | | | | | | | WebSense will let them through.
| * Increase constant time string equality check method tolerance to reduce ↵Andrew Arnott2010-08-111-1/+1
| | | | | | | | false test failures.
* | Merge branch 'master' into oauth2Andrew Arnott2010-08-061-1/+10
|\ \ | |/
| * Improved error message when hosting test fails.Andrew Arnott2010-08-061-1/+10
| |
* | Multiple client callback URLs are now supported.Andrew Arnott2010-07-303-3/+3
| | | | | | | | And some StyleCop cleanup.
* | Merge branch 'v3.4' into oauth2Andrew Arnott2010-07-214-2/+81
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | Conflicts: projecttemplates/RelyingPartyDatabase/RelyingPartyDatabase.dbproj projecttemplates/RelyingPartyLogic/CreateDatabase.sql samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj src/DotNetOpenAuth.Test/Messaging/MessagingUtilitiesTests.cs src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs src/DotNetOpenAuth/Messaging/MessagingStrings.resx src/DotNetOpenAuth/Messaging/MessagingUtilities.cs src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs src/version.txt
| * StyleCop fixes that only appeared when building at the command line.Andrew Arnott2010-07-201-1/+1
| |
| * Added StyleCop to toolset and regular command line build.Andrew Arnott2010-07-191-0/+2
| | | | | | | | As part of this, all projects now import EnlistmentInfo.props and .targets.
| * Added NUnit runner to the repo.Andrew Arnott2010-07-191-1/+1
| |
| * Merge branch 'v3.3' into v3.4Andrew Arnott2010-07-199-8/+16
| |\ | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | * Merge branch 'v3.2' into v3.3Andrew Arnott2010-07-1910-9/+22
| | |\
| | | * Merge branch 'v3.1' into v3.2Andrew Arnott2010-07-1910-9/+22
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | | | * Merge branch 'v3.0' into v3.1Andrew Arnott2010-07-1910-9/+22
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: samples/DotNetOpenAuth.ApplicationBlock/Util.cs
| | | | | * Fixes OAuth 1.0(a) base signature string construction to omit the realm ↵Andrew Arnott2010-06-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameter when included in the HTTP Authorization header. Fixes Trac #207
| | | | | * Fixed the namespace of several tests.Andrew Arnott2010-06-279-8/+9
| | | | | |
| | | | | * Fix for UIRequest.Icon deserialization exception due to nullable struct types.Andrew Arnott2010-05-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fixes Trac #195
| * | | | | StyleCop fixes.Andrew Arnott2010-07-191-8/+9
| | | | | |