Commit Graph

186 Commits

Author SHA1 Message Date
N. Taylor Mullen dcaa51507f Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx. 2015-03-08 12:56:13 -07:00
N. Taylor Mullen 1bd605da5e Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:56:09 -07:00
Hao Kung 5e7f1d7eff Add Configure overloads for Auth for config/name 2015-03-06 12:37:34 -08:00
Praburaj ce8caf0b9a Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http 2015-03-05 17:13:43 -08: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
Brennan e3b457bac7 Merge branch 'dev' of https://github.com/aspnet/Security into dev 2015-03-04 19:57:39 -08:00
Hao Kung 1459ca1edb React to DI changes 2015-03-04 19:57:15 -08:00
Hao Kung 580664201c React to DI changes 2015-03-04 18:07:34 -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
Wei Wang 58661b2734 Add project.lock.json to .gitignore 2015-02-16 13:50:24 -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
Praburaj 47b786f8f9 Merge branch 'release' into dev 2015-02-05 15:14:22 -08:00
Praburaj 710c2d7d21 Removing the AzureAD feed from security repo
Wilson packages are now part of aspnet myget feeds. Removing azure feed from restore sources.
2015-02-05 15:11:15 -08:00
Brennan b17d718d27 Updating .kproj files 2015-02-04 14:24:28 -08:00
Praburaj 260820e4d8 Merge branch 'release' into dev 2015-02-02 14:35:41 -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
Praburaj 5acb4217ba Merge branch 'release' into dev 2015-01-30 14:47:16 -08:00
Praburaj Thiagarajan a249cbbdfc Merge pull request #137 from brentschmaltz/release
ChallengeContext will be null with [Authorize] attribute
2015-01-30 14:16:18 -08:00
Pranav K a7c70cca08 Merge branch 'release' into dev 2015-01-29 18:14:08 -08:00
Pranav K f9d3f6fe17 Fixing release NuGet.config 2015-01-29 18:12:51 -08:00
Wei Wang 24e68d81ea Change SKIP_DOTNET_INSTALL to SKIP_KRE_INSTALL 2015-01-28 18:31:11 -08:00
Wei Wang 6367c0d249 Update build.cmd and build.sh to use kvm 2015-01-28 18:30:59 -08:00
Wei Wang 9743b590ab Merge branch 'release' of github.com:aspnet/Security into release 2015-01-28 18:30:29 -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
Pranav K 772d91aa4e Merge branch 'release' into dev 2015-01-21 16:54:01 -08:00
Pranav K d7b389e595 Updating release NuGet.config to include AzureADNighty feed 2015-01-21 16:53:45 -08:00
Suhas Joshi 0880dca905 Merge branch 'release' into dev 2015-01-21 15:52:56 -08:00
Suhas Joshi 4193fa29b7 Updating to release NuGet.config 2015-01-21 15:52:54 -08:00
Aligned 5328c7f539 Change ASP.NET vNext to ASP.Net 5 in the Readme.md 2015-01-21 11:55:35 -06:00
Wei Wang 231994217b Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL 2015-01-20 18:34:21 -08:00
Suhas Joshi de5c079bf0 Updating NuGet.config 2015-01-20 17:25:24 -08:00
Pranav K 1f14d9aa50 Updating build.cmd and build.sh to use dotnetsdk 2015-01-20 01:36:43 -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