Commit Graph

119 Commits

Author SHA1 Message Date
Hao Kung 1459ca1edb React to DI changes 2015-03-04 19:57:15 -08:00
Brennan 329d826857 Logging API changes 2015-03-04 17:10:56 -08:00
Hao Kung 0577454f13 Fix for OpenIdConnect 2015-03-03 15:40:54 -08:00
Hao Kung d890f49fc0 Fix sln and kproj 2015-03-02 17:43:59 -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
Levi B a15cb4ffe5 React to HttpRequest.IsSecure renaming 2015-02-17 11:08:12 -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
Praburaj 04c6b1f101 Adding necessary dependencies to OpenIdConnect directly
OpenIdconnect project is betting on the dependencies included by Microsoft.IdentityModel.Protocol.Extensions for the types that are referenced directly in this library but not used in Protocol.Extensions library.

This change is to enable Wilson clean up its unused dependencies.
2015-02-10 11:25:30 -08:00
David Fowler bb2352c638 Remove build time deps and fixed formatting 2015-02-10 11:01:03 -08:00
Pranav K 74bb8e089d Reacting to System.Dynamic.Runtime version changes 2015-02-06 09:55:22 -08:00
Brennan b17d718d27 Updating .kproj files 2015-02-04 14:24:28 -08:00
Praburaj 4e83a678c0 Creating authentication ticket by passing in a principal
This fixes bug : https://github.com/aspnet/Security/issues/144
2015-02-02 13:46:28 -08:00
BrentSchmaltz 3483842ab7 Rollback of setting Principal on AuthenticationTicket.
adjust formating of messages.
2015-01-28 10:27:55 -08:00
BrentSchmaltz e04358f7f9 Missing resource file. 2015-01-27 09:58:47 -08:00
BrentSchmaltz e5518e6fc2 ChallengeContext will be null with [Authorize] attribute
OpenIdConnect set Ticket.Principal, get identity from there.
2015-01-27 08:15:28 -08:00
Stephen Halter ac03ad3edf Handle HttpFeature rename 2015-01-18 20:55:49 -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 c53394e847 Cleaning up comments and some TODOs. 2015-01-16 14:45:53 -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 61bdaec1e2 Handle QueryBuilder namespace change. 2015-01-14 17:04:10 -08:00
Chris Ross 38fb911afc Clean up auth types, copywrite headers, file names, exceptions. 2015-01-14 15:13:24 -08:00
Chris Ross 91242245f3 Fix directory casing, part 2. 2015-01-14 14:54:47 -08:00
Chris Ross 8e6e7f9590 Fix directory casing, part1. 2015-01-14 14:53:51 -08:00
BrentSchmaltz 49e66f0311 Additions for OpenIdConnectMiddleware and OAuthBearer Beta1. 2015-01-14 14:50:45 -08:00
Chris Ross fbe80ee64e Handle ReadFormAsync breaking changes. 2015-01-07 18:10:42 -08:00
Chris Ross e6218c0429 React to ReadFor breaking change. 2015-01-07 17:06:22 -08:00
Chris Ross fec32f6746 #82 - Improve error handling mechanics. 2015-01-07 10:05:26 -08:00
Chris Ross 8b7d33baaf #63 - Use the PathBase in the Cookie path by default. 2014-12-18 14:41:16 -08:00
Pranav K fcf2f93aa3 Updating System.ObjectModel version that was copied incorrectly 2014-12-15 16:50:13 -08:00
Pranav K 20f21aa57f Removing transitive dependencies from Microsoft.AspNet.Security.OAuth 2014-12-15 15:04:48 -08:00
Chris Ross 184233af61 #79: Remove cookie compression. 2014-12-05 10:40:46 -08:00
Victor Hurdugaci 0a71973513 Add schema version to kproj files 2014-11-25 11:03:55 -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
David Fowler 6aed946a63 Merge branch 'release' into dev 2014-10-31 02:12:01 -07:00
David Fowler a5bd9d29e5 Added package descriptions 2014-10-31 02:11:42 -07:00
Pranav K 2934bb866d Removing transitive dependencies from project.json 2014-10-29 11:23:57 -07:00
Pranav K fb51830598 Merge branch 'release' into dev 2014-10-29 11:04:28 -07:00
Pranav K edefdf6b2f Updating Newtonsoft.json version to 6.0.6 2014-10-29 10:32:37 -07:00
Chris Ross a492b8fcbd #84 - Fix regression with OAuth Notifications. 2014-10-27 16:01:31 -07:00
Chris Ross 95f19407fc #74 - Clean up data protection provider helper. 2014-10-21 14:01:25 -07:00
Chris Ross 89ade800c4 Update Claims dependency. 2014-10-17 09:49:04 -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