Commit Graph

60 Commits

Author SHA1 Message Date
N. Taylor Mullen 1bd605da5e Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:56:09 -07:00
Hao Kung aacc00aaee Move extension methods to proper namespaces
Also add sugar for OpenIdConnect

Fixes https://github.com/aspnet/Security/issues/107
Fixes https://github.com/aspnet/Security/issues/113
2015-03-05 16:04:57 -08:00
Hao Kung e2bb76280f Support AccessDeniedPath for Cookie 403 redirection
Fixes https://github.com/aspnet/Security/issues/166
2015-03-05 15:01:44 -08:00
Levi B 08017f992a Fix build breaks caused by Options refactoring. 2015-03-04 23:28:20 -08:00
Hao Kung 1459ca1edb React to DI changes 2015-03-04 19:57:15 -08:00
Hao Kung 0577454f13 Fix for OpenIdConnect 2015-03-03 15:40:54 -08:00
Hao Kung 775eb5ece4 Split Security into AuthN/AuthZ
AuthenticationType -> Scheme
Move Active/Passive into AutomaticAuthenticationHandler
Security -> Authorization/Authentication assemblies
401-403 logic
Switch from ClaimsIdentity to ClaimsPrincipal
2015-03-02 15:33:52 -08:00
Levi B d864b72561 React to DataProtection rename 2015-02-25 17:23:11 -08:00
Hao Kung 5094b85ac9 Latest AuthZ iteration
- Core Auth API now takes list of IAuthorizationRequirements, or policy
name.
- Overload that takes AuthorizationPolicy instance moved to extension
method.
- Remove HttpContext from API and replace with ClaimsPrincipal instead
- Add Operation requirement
- Add Sync overloads
- Add ClaimsTransformationOptions (TBD where to use this)

Fixes https://github.com/aspnet/Security/issues/132
Fixes https://github.com/aspnet/Security/issues/116
Fixes https://github.com/aspnet/Security/issues/11
Fixes https://github.com/aspnet/Security/issues/117
2015-02-16 15:04:10 -08:00
Hao Kung 123065c0ae Add some sugar for AuthZ
- Register passthrough handler by default
- AddPolicy overload that takesAction<AuthorizationPolicyBuilder>
- Chaining policy overloads/methods
- More fluent apis for PolicyBuilder
Fixes #122, #114
2015-01-17 17:11:34 -08:00
tushar gupta cdbd003bb1 Adding token property to MessageReceivedNotification 2015-01-16 14:45:50 -08:00
tushar gupta de56109c16 Fixing Issue #120 2015-01-16 14:45:47 -08:00
Hao Kung 4a635835af Initial iteration of new Authorization Service 2015-01-15 23:37:35 -08:00
Chris Ross f7c502a9e6 Handle PipelineCore rename. 2015-01-15 13:57:07 -08:00
Pranav K 123e649ee2 * Removing transitive dependencies from project.json
* Fix casing for project.json
2015-01-15 07:54:10 -08:00
Chris Ross 38fb911afc Clean up auth types, copywrite headers, file names, exceptions. 2015-01-14 15:13:24 -08:00
BrentSchmaltz 49e66f0311 Additions for OpenIdConnectMiddleware and OAuthBearer Beta1. 2015-01-14 14:50:45 -08:00
Chris Ross 8b7d33baaf #63 - Use the PathBase in the Cookie path by default. 2014-12-18 14:41:16 -08:00
Brennan 2d2eedf89e Update tests to use official xunit 2014-12-17 10:41:02 -08:00
Victor Hurdugaci 0a71973513 Add schema version to kproj files 2014-11-25 11:03:55 -08:00
Hao Kung 240ed82b31 React to AddDataProtection change 2014-11-24 16:32:33 -08:00
Hao Kung 5f06906087 React to fallback changes 2014-11-20 17:25:16 -08:00
Chris Ross b37966f7ef Fix DataProtection DI dependencies. 2014-11-18 14:51:36 -08:00
Chris Ross 0fee3c87a0 #85 - Update the targeted Facebook API version to v2.2. 2014-11-14 15:05:31 -08:00
Victor Hurdugaci ee162013a5 Update KProj to the latest format 2014-11-12 15:33:16 -08:00
Pranav K 2934bb866d Removing transitive dependencies from project.json 2014-10-29 11:23:57 -07:00
Hao Kung 78f472fd20 Switch to automatically ensure request services 2014-10-16 11:14:07 -07:00
Chris Ross 45836c8041 Update UseMiddleware dependencies. 2014-10-15 15:56:08 -07:00
Hao Kung 84dfcf5258 React to Options and Hosting changes 2014-10-14 19:14:54 -07:00
Chris Ross 6965a66f18 #59 - Use Task.GetAwaiter().GetResult() instead of Task.Result. 2014-10-13 14:26:24 -07:00
Chris Ross e315a545cb #61 - Unit test cleanup. 2014-10-13 11:13:26 -07:00
Levi B 2e65a40555 Update Security to account for DataProtector API changes. 2014-10-10 12:21:08 -07:00
Pranav K 9e2f992479 Removing version from framework assemblies node 2014-10-10 10:57:33 -07:00
Pranav K d598b83e33 Reacting to CLR package versioning changes 2014-10-10 10:34:22 -07:00
Hao Kung e9038b40f1 React to UsePerRequestServices 2014-10-09 14:18:09 -07:00
Hao Kung 3426034bcb Use DI activated options for auth middlewares
UseXXX() now use DI activated options
Use ExternalAuthenticationOptions instead of DefaultSignInAs
2014-10-08 13:02:08 -07:00
David Fowler 23c024ef41 Fixup references 2014-10-05 12:26:17 -07:00
Chris Ross f6d6f31414 #32 - Port Cookie chunking from Katana. 2014-09-12 12:41:02 -07:00
Chris Ross 51c3dc98dc Handle IBuilder rename to IApplicationBuilder. 2014-09-10 12:27:01 -07:00
Wei Wang 13adde63fa Update the method used to read JSON asynchronously 2014-09-10 09:13:22 -07:00
Chris Ross 80c8891c08 #49 - OAuth base middleware. 2014-09-08 11:42:11 -07:00
David Fowler 810c96e939 Updated to use the new target framework in project.json 2014-09-04 01:47:16 -07:00
Chris Ross 3a3816af41 #41 - Port MicrosoftAccount middleware from Katana. 2014-08-29 13:19:18 -07:00
David Fowler 536da06660 Updated to use the new target framework in project.json 2014-08-28 23:48:55 -07:00
Chris Ross b9eb7ba282 #38 - Port the Twitter middleware from katana 2014-08-27 09:02:44 -07:00
Chris Ross 5577159453 #37 - Port the Google auth middleware from Katana. 2014-08-25 09:50:19 -07:00
Chris Ross 919fa0c195 Port Facebook middleware from Katana. 2014-08-20 14:52:01 -07:00
David Fowler c74e583ec9 Removed source files from the project 2014-08-15 09:27:27 -07:00
Chris Ross 05804c78db Port more security tests from Katana. 2014-08-07 16:08:44 -07:00
David Fowler ea98a50e43 Renamed configurations to frameworks in project.json 2014-07-13 22:01:33 -07:00