summaryrefslogtreecommitdiffstats
path: root/samples
Commit message (Collapse)AuthorAgeFilesLines
* Fixes StyleCop messages.Andrew Arnott2013-05-267-78/+98
|
* Samples improvementsAndrás Fuchs2013-05-2624-245/+1356
| | | | | | | | | | | | | The part which I needed to improve is the ApplicationBlock where I changed the OAuth2 classes' structure a little and extended them with a lot of useful functionality, like adding many Facebook and WindowsLive scopes, fields, structures including the asked-by-many easy to use birthdate and avatar url getters. I have also implemented the Google OAuth2 authentication and created one common interface for all 3 Graphs in the code (which has the common properties like Id, FirstName, LastName, etc.), so the authentication code became really simple if you use my version of your ApplicationBlock.
* Merge branch 'v4.3' of https://github.com/DotNetOpenAuth/DotNetOpenAuth into ↵Girish Bablani2013-05-26143-32594/+2328
|\ | | | | | | | | | | | | v4.3 Conflicts: samples/OAuthClient/Web.config
| * Removes samples\TestAzureADAndrew Arnott2013-05-05138-32566/+0
| | | | | | | | it has a build break, and I'm not sure it was ever meant to be checked in.
| * Minor pull request touch-upsAndrew Arnott2013-05-055-28/+2328
| | | | | | | | | | Whitespace changes. Revert .gitignore file change.
* | Changed "global" endpoint to "common" endpoint to fix breaking change. ↵Girish Bablani2013-05-262-3/+3
|/ | | | Updated appid for sample app.
* Enabled AzureAD integration and added TestAzureAD sample appGirish Bablani2013-04-16149-0/+32985
|
* Merge remote-tracking branch 'origin/v4.1' into v4.2v4.2.2.13055Andrew Arnott2013-02-231-1/+6
|\ | | | | | | | | Conflicts: src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs
| * Touch up on community contribution.Andrew Arnott2013-02-031-6/+7
| |
| * Update samples/OpenIdProviderMvc/Controllers/OpenIdController.csSergey Kosivchenko2013-02-031-2/+6
| | | | | | | | Previous version did not work, if user had already authorized on provider, and use to authorizing on consumer ids with uppercase symbol, for example http://provider.com/user/AlGol 
* | Updates Twitter URLs.Andrew Arnott2013-02-231-6/+6
| | | | | | | | | | Thanks Christopher Cook for the tip. https://plus.google.com/116106034026223919199/posts/N422vX151Eq
* | Merge branch 'v4.1'Andrew Arnott2012-12-021-0/+4
|\ \ | |/ | | | | | | | | | | Conflicts: src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/StandardAccessTokenAnalyzer.cs src/DotNetOpenAuth.Test/OAuth2/OAuth2TestBase.cs src/version.txt
| * Fixes build breakAndrew Arnott2012-11-101-0/+4
| |
* | ASPXCodeBehind noise.Andrew Arnott2012-10-304-0/+22
| |
* | Authorization servers can override the granted scopes for all grant types.Andrew Arnott2012-10-301-2/+2
| | | | | | | | | | | | This change adds the ability for authorization servers to override the granted scopes of client credential and resource owner password grant types. Fixes #225
* | user_xrds.aspx samples now utilize GetPublicFacingUrl method.Andrew Arnott2012-10-292-4/+6
|/ | | | Fixes #199
* SubType noise.Andrew Arnott2012-10-143-0/+14
|
* Reverted change from last merge that shouldn't be in v4.1.Andrew Arnott2012-10-071-1/+1
|
* Merge branch 'v4.0' into v4.1Andrew Arnott2012-10-071-1/+1
|\
| * Fixed build break in v4.0.Andrew Arnott2012-10-071-1/+1
| |
| * Adjusted AssemblyInfo.cs to be unique for each assembly.Andrew Arnott2012-09-291-10/+1
| | | | | | | | This should fix nuget pdb package submission to symbolsource.org
* | Adjusted AssemblyInfo.cs to be unique for each assembly.Andrew Arnott2012-09-291-10/+1
| | | | | | | | This should fix nuget pdb package submission to symbolsource.org
* | Merge branch 'v4.0' into v4.1Andrew Arnott2012-09-292-1/+15
|\ \ | |/
| * Fixed bug in OpenID Provider MVC sample that allowed users to log in as others.Andrew Arnott2012-09-261-0/+13
| | | | | | | | Fixes #207
| * Fixed bug in CustomStore.GetKeys enumeration.Andrew Arnott2012-09-201-1/+2
| | | | | | | | This bug only existed in the OpenIdProviderWebForms sample. The OpenIdRelyingPartyWebForms sample's copy of this file already had the fix in it.
* | Added NuGet package dependency and fixed build breaks in samples.Andrew Arnott2012-09-272-0/+8
| |
* | Removed session state from user identity pagesAndrew Arnott2012-07-132-2/+2
| | | | | | | | Thanks to Richard Collette for suggesting this efficiency improvement.
* | Fixed stylecop bugs.Andrew Arnott2012-06-121-3/+2
| |
* | Added PAPE max_auth_time handling to sample OPAndrew Arnott2012-06-127-12/+89
| | | | | | | | | | | | The OpenIdRelyingPartyWebForms and OpenIdProviderMvc samples now interact via PAPE to sample enforcement of the PAPE max_auth_time parameter.
* | Removed useless and misnamed TokenManager class.Andrew Arnott2012-06-094-21/+0
| | | | | | | | | | It wasn't providing any value over the default DNOA behavior, and it wasn't even a TokenManager implementation.
* | Merge remote-tracking branch 'origin/v4.0'Andrew Arnott2012-05-291-1/+1
|\ \ | |/
| * Fixed OpenID RP's CustomStore sample class that throws ↵Andrew Arnott2012-05-101-1/+1
| | | | | | | | | | | | NullReferenceException in some cases. Thanks to Richard Collette for identifying the problem and suggesting the fix.
| * Added missing project reference to VB sample.Andrew Arnott2012-04-271-0/+4
| |
| * Reverts v4.0 branch back to VS2010, and samples target .NET 3.5, and MVC ↵Andrew Arnott2012-04-0519-120/+46
| | | | | | | | | | | | samples are MVC 2. The "upgrade" had introduced a lot of issues, such as broken project templates, broken MVC 3/4 story, etc. and wasn't fitting the stabilization that the v4.0 branch needs.
* | Special handling for client credential grant typeAndrew Arnott2012-05-291-0/+4
| | | | | | | | | | | | | | | | Access token requests that carry client credential grants are now specially handled and signal to the authorization server that an authorization record should be created. More work toward #138
* | 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-7/+8
| | | | | | | | | | | | | | than just parameters. AccessTokens are now serialized via a virtual method on that instance. Fixes #38, I think.
* | I hope VS will leave me alone if I finally let this in.Andrew Arnott2012-04-242-0/+11
| |
* | Fixed Stylecop messages.Andrew Arnott2012-04-221-3/+3
| |
* | Fixes access denial errors from OAuth 2 resource servers so they include the ↵Andrew Arnott2012-04-222-8/+13
| | | | | | | | | | | | required parameters in their WWW-Authenticate headers. Fixes #124
* | Replaces ResourceServer.VerifyAccess with a better pattern for error handling.Andrew Arnott2012-04-211-6/+6
| | | | | | | | Fixes #122
* | Fixed up the configuration story for OAuth 2.Andrew Arnott2012-04-181-3/+4
| |
* | Renamed a client credential applicator.Andrew Arnott2012-04-182-2/+2
| |
* | We have HTTP Basic client authentication working now in OAuth 2.Andrew Arnott2012-04-184-6/+8
| |
* | Authorization server hosts may now provide canonical usernames for the ↵Andrew Arnott2012-04-161-1/+1
| | | | | | | | | | | | 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
* | Switched drop.proj to generate drops based on .NET 4.0, and include .NET 3.5 ↵Andrew Arnott2012-04-156-29/+4
| | | | | | | | | | | | components for the library. Fixes up build breaks in the dropped samples.
* | Fixes OAuth 2 authorization server sample's 401 unauthorized errors due to ↵Andrew Arnott2012-04-141-3/+3
| | | | | | | | | | | | IIS Express hosting. ...by avoiding IIS Express.
* | Hopefully fixed the P2P errors we get from the "web sites" in the solution ↵Andrew Arnott2012-04-081-0/+0
| | | | | | | | on incremental builds.
* | Renamed IAuthorizationServer to IAuthorizationServerHost.Andrew Arnott2012-04-081-2/+2
| | | | | | | | To avoid confusion with the concrete class AuthorizationServer.
* | InfoCard RP sample now targets .NET 4.0Andrew Arnott2012-04-021-70/+6
| |
* | Adds missing project reference to VB sample.Andrew Arnott2012-04-021-0/+4
| |
* | Fixes MVC 3 targeting when building on a machine with MVC 3 and 4 installed ↵Andrew Arnott2012-04-022-2/+2
| | | | | | | | for two more projects.
* | Migrate all samples to target .NET 4.0 and use IIS Express (where available).Andrew Arnott2012-04-0235-841/+297
| | | | | | | | | | | | InfoCardRelyingParty sample left out because it seems to cause input validation trouble. Fixes #108
* | Fixed targeting of MVC 3 in OAuthAuthorizationServer sample.Andrew Arnott2012-04-011-1/+1
| |
* | Fixed typo.Andrew Arnott2012-04-011-1/+1
| |
* | Allows the authorization server to store merely the hashes of client secrets.Andrew Arnott2012-04-011-8/+21
| | | | | | | | Fixes #92
* | Corrected old name of nonce store property.Andrew Arnott2012-04-011-1/+1
| |
* | Moved access token signing key to the parameters object.Andrew Arnott2012-03-311-8/+4
| | | | | | | | | | | | This also presumably solves the threading concerns of sharing one instance. Fixes #34
* | Let Dev11 dirty project files.Andrew Arnott2012-03-319-53/+43
| |
* | Merge branch 'dev11' into v4.0Andrew Arnott2012-03-3119-46/+120
|\ \ | |/ | | | | | | Conflicts: src/DotNetOpenAuth.sln
| * Migrated to Dev11 project files. They should all open in Dev10 still ↵Andrew Arnott2012-03-3119-46/+120
| | | | | | | | | | | | | | | | (except the new .sqlproj). This reverts commit a5e59982c1b66ebabd4c6436d4d3d177d2440649. Fixes #96
| * Revert "Migrated to Dev11 project files. They should all open in Dev10 ↵Andrew Arnott2012-03-3019-120/+46
| | | | | | | | | | | | | | still (except the new .sqlproj)." This reverts commit dc59bdbc51fce4ad19cb41e5ca610915c2e99789, reversing changes made to e5b8e2e4bd925ef6967c264644e4d67749b5b3de.
| * Merged v4.0Andrew Arnott2012-03-3015-30/+32
| |\
| * | Updated more references to MVC 3.Andrew Arnott2012-03-266-14/+14
| | |
| * | Merge branch 'v4.0' into dev11Andrew Arnott2012-03-2130-54/+323
| |\ \ | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.sln
| * | | Downgraded MVC projects from MVC 4 to MVC 3.Andrew Arnott2012-03-213-12/+3
| | | | | | | | | | | | | | | | MVC 4 is still in beta, and MVC 3 is sufficient for Dev11 compatibility.
| * | | Removed extra backup location tags from project files.Andrew Arnott2012-03-202-2/+0
| | | |
| * | | Completed Dev11 upgrade. The file churn on every file open is finally over.Andrew Arnott2012-03-203-6/+6
| | | | | | | | | | | | | | | | This required upgrading the MVC projects to MVC 4.
| * | | more noise.Andrew Arnott2012-02-243-3/+6
| | | |
| * | | more changes.Andrew Arnott2012-02-243-3/+3
| | | |
| * | | even more noise.Andrew Arnott2012-02-243-3/+3
| | | |
| * | | Additional changes.Andrew Arnott2012-02-242-4/+4
| | | |
| * | | Project compatibility upgrades for Dev11.Andrew Arnott2012-02-2412-29/+111
| | | |
* | | | Merge branch 'master' into oauth2refactorAndrew Arnott2012-03-2418-33/+35
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | Conflicts: src/DotNetOpenAuth.sln
| * | | Incremented the OAuth 2.0 client sample's port # so as to not conflict with ↵Andrew Arnott2012-03-223-4/+4
| | | | | | | | | | | | | | | | the OAuth 1.0 consumer sample.
| * | | Adjusted OAuth 2.0 resource server's port number so as to not conflict with ↵Andrew Arnott2012-03-229-19/+19
| | | | | | | | | | | | | | | | OAuth 1.0 service provider sample.
| * | | Upgraded MVC samples from MVC v2 to v3.Andrew Arnott2012-03-226-10/+12
| | |/ | |/|
* | | Merge branch 'master' into oauth2refactorAndrew Arnott2012-03-212-2/+22
|\ \ \ | |/ /
| * | Fixed build break in OpenIdOfflineProvider in samples distribution.Andrew Arnott2012-03-191-1/+1
| | |
| * | Added OAuth 1 samples to the samples.sln file.Andrew Arnott2012-03-191-1/+21
| | |
* | | Fixed build breaks in the solution.Andrew Arnott2012-03-171-0/+4
| | |
* | | Redistributed OAuth2 code into their more specific assemblies.Andrew Arnott2012-03-161-10/+7
|/ /
* | Access token endpoint now can respond with appropriate errors.Andrew Arnott2012-03-141-6/+1
| |
* | Fixed StyleCop settings files by removing the deprecated "Microsoft." prefixes.Andrew Arnott2012-03-112-4/+4
| |
* | Applied all the StyleCop fixes necessary by the StyleCop 4.7 upgrade.Andrew Arnott2012-03-1013-37/+37
| |
* | More stylecop fixes.Andrew Arnott2012-03-081-6/+5
| |
* | Fixed release build break (due to stylecop).Andrew Arnott2012-03-081-1/+0
| |
* | Adds a Windows Live login sample.Andrew Arnott2012-03-079-0/+253
| | | | | | | | Fixes #83
* | HttpRequestInfo ctors are now internal, and publicly we have staticAndrew Arnott2012-03-052-2/+2
| | | | | | | | factory methods that return HttpRequestBase instances.
* | Replaced API requirements for HttpRequestInfo with HttpRequestBase (new in ↵Andrew Arnott2012-03-054-3/+8
| | | | | | | | | | | | .NET 3.5 SP1). This makes us more friendly to MVC as well as mock-based unit testing.
* | Fixed StyleCop mesage.Andrew Arnott2012-03-011-1/+1
| |
* | Slightly simplified sample OAuth 2 authorization server token endpoint action.Andrew Arnott2012-02-251-6/+4
|/
* Adds support for the resource owner password credential grant.Andrew Arnott2012-02-241-2/+7
| | | | Fixes #72
* Fixed StyleCop messages.Andrew Arnott2012-02-201-9/+11
|
* Added another frame busting technique to make the authorization server more ↵Andrew Arnott2012-02-203-0/+41
| | | | secure.
* Fixed build breaks.Andrew Arnott2012-02-194-1/+33
|
* Renamed IConsumerDescription to IClientDescription.Andrew Arnott2012-02-122-5/+5
|
* Added DotNetOpenAuth.OAuth.Common to contain dependencies shared between ↵Andrew Arnott2012-02-081-0/+4
| | | | | | OAuth 1 and OAuth 2. Related to and closes #71
* Removed OAuth1's dependency on OpenID assemblies.Andrew Arnott2012-02-088-7/+27
| | | | Related to #71