summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test
Commit message (Collapse)AuthorAgeFilesLines
* StyleCop fixes.Andrew Arnott2012-12-262-0/+3
|
* Fixes timeout in unit tests.Andrew Arnott2012-12-264-28/+40
|
* CreateAccessToken reveals username to hostAndrew Arnott2012-12-241-0/+94
| | | | | | | IAuthorizationServerHost.CreateAccessToken now has access to authoring usernames. Fixes #219
* Fixes StyleCop errors.Andrew Arnott2012-12-241-6/+6
|
* Verifies that client credential grants receive approved scope in response.Andrew Arnott2012-12-241-0/+28
| | | | Closes #242
* Adds ability for OAuth 2 clients to accept deeper access token JSON responses.Andrew Arnott2012-12-241-0/+4
| | | | Fixes #168
* Merge branch 'v4.1'Andrew Arnott2012-12-024-1/+126
|\ | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/StandardAccessTokenAnalyzer.cs src/DotNetOpenAuth.Test/OAuth2/OAuth2TestBase.cs src/version.txt
| * Fixes StyleCop errorAndrew Arnott2012-11-121-1/+1
| |
| * Fixes an InternalErrorException thrown when decoding corrupted access tokens.Andrew Arnott2012-11-111-1/+1
| | | | | | | | Fixes #178
| * Adds more token decoding tests.Andrew Arnott2012-11-112-10/+65
| |
| * Avoids OOM exceptions from ResourceServerAndrew Arnott2012-11-111-2/+14
| | | | | | | | Related to #178
| * Fixes exception thrown on missing access tokenAndrew Arnott2012-11-102-0/+47
| | | | | | | | | | | | | | | | | | The resource server was throwing an ArgumentException when an HTTP Authorization header appeared with a value of "Bearer " but no access token. We now throw a ProtocolException that can produce the appropriate error to the client. Fixes #230
| * Fixes AsHttpResposneMessage() exception when response has no stream.Andrew Arnott2012-11-021-0/+11
| | | | | | | | Fixes #226
* | Adds a LinkedIn interop test.Andrew Arnott2012-11-221-0/+23
| | | | | | | | Part of investigation of issue #232
* | Authorization servers can override the granted scopes for all grant types.Andrew Arnott2012-10-303-4/+66
| | | | | | | | | | | | This change adds the ability for authorization servers to override the granted scopes of client credential and resource owner password grant types. Fixes #225
* | Merge remote-tracking branch 'aarnott/master'Andrew Arnott2012-10-291-2/+35
|\ \
| * | Adds AuthorizationServer.DecodeRefreshTokenAndrew Arnott2012-07-201-2/+35
| | | | | | | | | | | | | | | | | | And a unit test. Fixes #182
* | | Merge branch 'v4.1'Andrew Arnott2012-10-145-9/+120
|\ \ \ | | |/ | |/|
| * | Added OutgoingWebResponse.AsHttpResponseMessage extension method.Andrew Arnott2012-10-091-1/+29
| | |
| * | Adjusted AssemblyInfo.cs to be unique for each assembly.Andrew Arnott2012-09-291-8/+1
| | | | | | | | | | | | This should fix nuget pdb package submission to symbolsource.org
| * | Adds ClientBase.CreateAuthorizingHandlerAndrew Arnott2012-09-263-0/+90
| |/ | | | | | | | | | | This method creates an HttpMessageHandler that automatically applies the OAuth 2 access token (bearer) to all outbound HTTP requests. Fixes #205
* | Fixing one more place it was missed, also changing to OPTIONSMatt Hawley2012-08-101-3/+3
| |
* | Adding PATCH and OPTION http verbsMatt Hawley2012-08-101-3/+9
|/
* Fixed failing ClientCredentialGrant unit testAndrew Arnott2012-05-291-0/+3
|
* Resource owner password grant method renameAndrew Arnott2012-05-291-1/+1
| | | | | | | | | | | | Renamed IAuthorizationServerHost.IsResourceOwnerCredentialValid to TryAuthorizeResourceOwnerCredentialGrant so that authorization servers are prepared to approve refresh tokens that may be issued as a result of a resource owner password grant. This also removes some of the "validation" that wasn't really doing anything useful for resource owner password grant types. Toward an eventual fix for #138
* Moved some JSON serialization logic to MessagingUtilities and added a unit test.Andrew Arnott2012-04-283-0/+41
|
* Authorization Server hosts now instantiate their own AccessTokens rather ↵Andrew Arnott2012-04-251-1/+1
| | | | | | | than just parameters. AccessTokens are now serialized via a virtual method on that instance. Fixes #38, I think.
* Anonymous clients can now exchange resource owner credentials for refresh ↵Andrew Arnott2012-04-221-3/+18
| | | | | | | | and access tokens. (authenticated clients already could). Fixes #100
* Fixes access denial errors from OAuth 2 resource servers so they include the ↵Andrew Arnott2012-04-222-1/+6
| | | | | | required parameters in their WWW-Authenticate headers. Fixes #124
* 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
| |