Commit Graph

517 Commits

Author SHA1 Message Date
N. Taylor Mullen e3979fd3fe Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:36:53 -08:00
Victor Hurdugaci 9a57f8116d Return the error code from build.cmd 2016-02-28 10:12:17 -08:00
Victor Hurdugaci 4499c55109 Update the build scripts 2016-02-27 12:51:14 -08:00
Doug Bunting a9ac505088 Use Mono 4.0.5
- Mono beta is now 4.2.1 which doesn't work reliably with `nuget.exe`
  - see also aspnet/External#48
2016-02-24 13:04:07 -08:00
Chris R 9bbbe535f2 #690 Enable custom OIDC authorization code redemption. 2016-02-19 15:07:25 -08:00
John Luo 0372daeebf Updating test TFMs for custom test discovery 2016-02-19 12:45:04 -08:00
David Fowler 2dc353e219 Fixed 1300 errors reported in VS on build 2016-02-13 21:20:20 -08:00
Kiran Challa 552afb87b5 Enable tests to run using dotnet xunit runner 2016-02-10 05:47:19 -08:00
Chris R 34bc9c52e1 #456 Unify OIDC Code/IdToken/Hybride flows. 2016-02-08 12:06:13 -08:00
Kévin Chalet bbcabc0212 Move GenerateCorrelationId and ValidateCorrelationId to RemoteAuthenticationHandler 2016-02-08 11:37:49 -08:00
N. Taylor Mullen bafb097e9f Update to new CLI.
- Added appropriate imports/net core platform libraries.
2016-02-06 19:51:50 -08:00
Ajay Bhargav Baaskaran c2194ea99d Updated Json.Net versions 2016-02-05 10:21:39 -08:00
Hisham Bin Ateya 1b4ccd0ddf Add 'UseServer' 2016-02-04 17:04:59 -08:00
Mike Surcouf e00453af4d Ensure scope has no duplicates 2016-02-04 09:08:03 +00:00
Mike Surcouf e737f3207e Remove username from Facebook
Add default fields for Facebook

Remove default fields except name and email

Add all the core fields for Facebook

Fix location and field uniqueness
2016-02-02 11:58:08 -08:00
Hao Kung 80dc5759cc Async overloads for AuthZ RequireAssertion 2016-01-28 12:48:00 -08:00
Chris R a80c5e6d85 #614 Standardize the pattern for scope defaults. 2016-01-27 15:26:32 -08:00
Brennan 297c72aa21 React to Logging API changes 2016-01-27 14:42:56 -08:00
Hao Kung 00ceeb0262 Add IAuthorizationPolicyProvider support 2016-01-27 13:36:53 -08:00
Chris R 9c41eb958e React to IdentityModel breaking change. 2016-01-26 14:28:49 -08:00
David Fowler a1aeb4313e Remove unused dependency
- The authorization stack doesn't depend on AspNetCore at all really
2016-01-24 23:57:17 -08:00
Chris R 3780a47528 Fix tests broken by renames. 2016-01-24 19:21:40 -08:00
Chris R 0c6a805405 #632 Save twitters access token secret as a claim. 2016-01-24 18:45:04 -08:00
Chris R 38de3d6013 #526 Change from storing expires_in to calculating expires_at. 2016-01-24 18:45:02 -08:00
N. Taylor Mullen a5b288897d Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:39:16 -08:00
N. Taylor Mullen c0d587e7c2 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:35:47 -08:00
N. Taylor Mullen ba757d7a45 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:16:26 -08:00
Chris R de2cb12f5c OIDC cleanup 2016-01-21 17:14:15 -08:00
John Luo 0f9875df0a Reacting to hosting rename 2016-01-17 17:09:38 -08:00
Victor Hurdugaci 10fdfcc5c8 Build with dotnet 2016-01-15 20:54:35 -08:00
Hao Kung 2e1a8b31cd Rename Delegate => AssertionRequirement
And moar sugar...
2016-01-15 14:47:33 -08:00
Chris R 197a2aa3fa React to Hosting API change. 2016-01-12 15:41:35 -08:00
John Luo 417ca6cbe3 Updating to new options pattern 2016-01-08 16:53:31 -08:00
Chris R 990e412326 Actually fix the AssemblyInfo 2016-01-08 14:47:40 -08:00
Chris R 139070df59 Fix AssemblyInfo for Security.Interop. 2016-01-08 14:25:50 -08:00
Kévin Chalet f4aafe04e0 Replace Microsoft.Owin.Security.Cookies.Interop by Microsoft.Owin.Security.Interop 2016-01-08 13:43:43 -08:00
Hao Kung 5bcc1bfc26 Also refresh expires/Issues when renewing cookie 2016-01-08 13:22:55 -08:00
Hao Kung 7a23028527 Switch to AuthenticationTicket in OAuth event 2016-01-05 15:46:58 -08:00
Chris R 2a939287bc Merge pull request #636 from npnelson/dev
Fix Typo in a Log Message
2016-01-05 15:27:47 -08:00
Hao Kung 3257a82367 Expose AuthenticationProperties in events 2016-01-05 14:32:31 -08:00
Hao Kung f195ed3bab Allow value type resources for AuthZ 2016-01-04 13:30:40 -08:00
Osmozy d38fb1e49d Summary of the changes
- No need to set the authenticationType in the Authorize_ShouldAllowIfClaimIsPresent unit test, since we already have another unit test for these functionality.
 - Specified the authentication scheme of the authorization policy  in the Authorize_ShouldAllowIfClaimIsPresentWithSpecifiedAuthType unit test
2016-01-04 13:26:23 -08:00
Hao Kung a8ef4df32a Merge remote-tracking branch 'ph1/Roles-PR' into dev 2016-01-04 13:13:40 -08:00
John Luo 5c33ecd895 Disabling JwtBearer TokenValidationTest which is using an expired token 2016-01-04 11:39:09 -08:00
Nicholas Nelson 74961cac49 fix typo in log message HttContext.User merged...=>HttpContext.User merged 2015-12-30 16:50:42 -05:00
Vincent Lainé 9bf861307c Rework the empty or space only filtering in Roles and Schemes 2015-12-30 12:04:00 +01:00
Vincent Lainé 9a5da5861b Fix coding style and handle case where empty roles & schemes are empty 2015-12-28 23:57:42 +01:00
Vincent Lainé ee6a57e9a2 Fix unit tests 2015-12-28 14:55:13 +01:00
Vincent Lainé 6850e3b3b6 Fix missing Trim in Roles and Schemes split 2015-12-28 14:47:15 +01:00
John Luo 2d21b72561 Adding back middleware initialization with options instance. 2015-12-23 15:26:41 -08:00