summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OAuth2
Commit message (Collapse)AuthorAgeFilesLines
* More StyleCop fixes.Andrew Arnott2013-03-261-2/+2
|
* Lots of StyleCop fixes.Andrew Arnott2013-03-261-3/+3
|
* Just 13 failures.Andrew Arnott2013-03-241-4/+2
|
* Just 15 failures.Andrew Arnott2013-03-242-2/+2
|
* Just 21 failures.Andrew Arnott2013-03-241-1/+1
|
* Just 41 failuresAndrew Arnott2013-03-241-0/+2
|
* Fixes unit tests. 49 failures left.Andrew Arnott2013-03-242-6/+13
|
* Fixes several more unit tests. 55 leftAndrew Arnott2013-03-232-2/+2
|
* Adds a cookie delegating handler, fixes tests.Andrew Arnott2013-03-231-2/+5
|
* Fixes remaining build breaks.Andrew Arnott2013-03-224-279/+245
|
* Moves the rest of the static methods out.Andrew Arnott2013-03-214-18/+18
|
* More test build break fixes.Andrew Arnott2013-03-091-1/+0
|
* More test build break fixes.Andrew Arnott2013-03-094-105/+136
|
* Many more unit test build fixes and product touch-ups.Andrew Arnott2013-03-074-182/+128
|
* Switches Moq and NUnit dependences to be NuGet packages.Andrew Arnott2012-12-281-2/+2
|
* Replaces DNOA's internal Requires class with Validation NuGet package.Andrew Arnott2012-12-261-0/+1
|
* Fixes timeout in unit tests.Andrew Arnott2012-12-261-16/+7
|
* 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
* Merge branch 'v4.1'Andrew Arnott2012-12-022-1/+114
|\ | | | | | | | | | | | | 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-101-0/+46
| | | | | | | | | | | | | | | | | | 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
* | 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
* | Adds ClientBase.CreateAuthorizingHandlerAndrew Arnott2012-09-261-0/+42
|/ | | | | | This method creates an HttpMessageHandler that automatically applies the OAuth 2 access token (bearer) to all outbound HTTP requests. Fixes #205
* 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
* 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
* 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-191-2/+2
| | | | 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-181-2/+2
| | | | necessary.
* We have HTTP Basic client authentication working now in OAuth 2.Andrew Arnott2012-04-184-4/+6
|
* 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
* Renamed IAuthorizationServer to IAuthorizationServerHost.Andrew Arnott2012-04-083-6/+6
| | | | To avoid confusion with the concrete class AuthorizationServer.
* Fixed a couple failing unit tests.Andrew Arnott2012-03-172-14/+20
|
* Fixed build breaks in the solution.Andrew Arnott2012-03-171-1/+1
|
* Access token endpoint now can respond with appropriate errors.Andrew Arnott2012-03-143-16/+48
|
* Replaced API requirements for HttpRequestInfo with HttpRequestBase (new in ↵Andrew Arnott2012-03-052-0/+3
| | | | | | .NET 3.5 SP1). This makes us more friendly to MVC as well as mock-based unit testing.
* 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-253-14/+14
| | | | 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-213-18/+97
|
* 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-204-21/+131
| | | | authorization.
* Updated all copyright notices to reflect copyright assignment to Outercurve.Andrew Arnott2012-02-053-6/+6
| | | | Fixes #66
* Fixed a few build breaks.Andrew Arnott2011-06-111-12/+0
|
* Multiple client callback URLs are now supported.Andrew Arnott2010-07-303-3/+3
| | | | And some StyleCop cleanup.
* More work to comply with OAuth 2.0 draft 10.Andrew Arnott2010-07-171-1/+1
|
* Trying out a refactoring to better suite user agent clients.Andrew Arnott2010-07-111-2/+2
|
* Fix build breaks.Andrew Arnott2010-07-091-2/+3
|
* A bit of OAuth2 channel refactoring.Andrew Arnott2010-07-091-2/+2
|
* Fixed tests.Andrew Arnott2010-07-041-5/+17
|
* The whole solution now builds again (draft 9).Andrew Arnott2010-07-041-157/+29
|
* Fixed namespace in unit test project to match new namespace in core library.Andrew Arnott2010-06-273-0/+290