Commit Graph

101 Commits

Author SHA1 Message Date
Hao Kung dc6e916bd4 Cookies Forbid now includes ReturnUrl 2015-11-04 13:54:37 -08:00
Hao Kung 238fdf24e8 Further improve error handling for OAuth providers 2015-11-03 12:37:35 -08:00
John Luo c71c7a3810 Reacting to RequestDelegate namespace change 2015-10-30 14:14:34 -07:00
Chris R 1a59b385a0 React to WebEncoders changes. 2015-10-30 11:39:39 -07:00
Hao Kung 1d2c6ba122 Cookies no longer redirects for AJAX requests 2015-10-23 14:39:42 -07:00
Chris R 35b7248734 #455 Remove RedirectUri from OIDC, use CallbackPath. 2015-10-22 14:56:15 -07:00
Hao Kung e72a563902 Add initial Owin Security cookie interop package 2015-10-21 15:19:16 -07:00
Chris R ef61b14d6a #501 Replace OpenIdConnectTokenEndpointResponse with an OpenIdConnectMessage 2015-10-21 12:26:01 -07:00
Chris R c14119b612 #263 Consume ITlsTokenBindingFeature in CookieAuthMiddleware. 2015-10-16 16:31:58 -07:00
Chris R 42cba79e01 Enable tests for CoreCLR. 2015-10-16 12:40:39 -07:00
Eilon Lipton b5712ef176 Remove a bunch of unused test code
The tests were testing nothing but themselves!
2015-10-15 23:00:10 -07:00
Hao Kung 8359038927 Address remaining PR feedback + misc cleanup 2015-10-15 16:51:12 -07:00
Hao Kung 409b50269a Add RemoteAuthenticationHandler base/error handling logic 2015-10-14 23:08:43 -07:00
Chris R 291997e995 React to IHttpResponseFeature changes. 2015-10-12 11:08:53 -07:00
Doug Bunting 7e93136484 React to aspnet/Universe#290 fix
- pick up latest `build.cmd` and `build.sh` files
- go back to Mono Beta feed (version 4.0.4) in Travis builds
  - avoid frequent `mono .nuget/nuget.exe` failures
  - skip test that fails with this Mono version
2015-10-10 19:09:23 -07:00
Chris R 8d8943bcfe Disable JWT Bearer test failing on Mono. 2015-10-08 17:02:43 -07:00
Pranav K 9e02ef9b7b Fixing build break 2015-10-03 17:03:34 -07:00
Pranav K 6c529eae7a Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:47 -07:00
Chris R 78cf065b88 #493 Upate to IdentityModel beta8 dependencies. 2015-09-28 18:25:13 -07:00
Hao Kung 852f44a369 Rename JwtBearer events 2015-09-24 14:53:31 -07:00
Kévin Chalet 8c1cb911f2 Refactor TicketSerializer/PropertiesSerializer and add ClaimsIdentity.Actor/Claim.Properties support 2015-09-24 10:08:22 -07:00
Hao Kung 644a4002a9 Rename back to jwtBearer 2015-09-22 14:09:41 -07:00
Hao Kung 6c9157ff51 Fix tests 2015-09-21 16:47:33 -07:00
Hao Kung fec3002fff Renames 2015-09-21 16:32:14 -07:00
Hao Kung 59ccbdd8ca Fix stuff 2015-09-21 14:56:05 -07:00
Hao Kung 081577e4f4 Remove usage IOptions from middleware ctors 2015-09-18 12:24:33 -07:00
Hao Kung 5cc1fea400 Add CookiePolicy Middleware 2015-09-17 15:37:15 -07:00
Chris R 1c0768fb71 #372 Flow mutable event state.
#358 Add a UserInformationReceived event.
#327 Add AuthenticationCompleted event.
#340 Split the Redirect event for Authentication and SignOut.
Rename OnAuthorizationCodeRedeemed to OnTokenResponseReceived.
Move IdTokenReceived to AuthorizationResponseReceived.
Rename IdTokenValidated to AuthenticationValidated.
2015-09-16 14:31:36 -07:00
Jason Loeffler b25d4b537f Removed references to Shouldly 2015-09-15 14:22:38 -05:00
Hao Kung e8090a3176 Remove authentication from names, async events 2015-09-14 14:54:51 -07:00
Chris R 2982d743d8 #443 Remove custom certificate validators. 2015-09-10 08:41:08 -07:00
Chris R ebcad24307 #404 Verify state via independent cookie. 2015-09-09 12:16:22 -07:00
Chris R 9f7a723843 #390 Make the nonce cookie expire. 2015-09-09 11:55:14 -07:00
Hao Kung 5bc13cbd6b UseOauth now requires an instance of options 2015-09-09 11:05:14 -07:00
Chris R 61a47d79a8 Work around System.Uri relative path bug on mono. 2015-09-04 11:47:19 -07:00
Chris R d2701f4897 #58 Serialize the ClaimsIdentity.BootstrapContext. 2015-09-03 17:25:56 -07:00
Chris R 47520e126e #47 Standardize on I*Events pattern. 2015-09-03 11:02:19 -07:00
Chris R d3ad11a753 #47 Rename Notifications to Events and Contexts. 2015-09-02 17:01:21 -07:00
N. Taylor Mullen 6915db67f2 Update tests to properly return tasks.
- Fixes errors caused by `"warningsAsErrors": true`
2015-09-02 15:54:25 -07:00
N. Taylor Mullen 64c40addc6 Update project.json to have warningsAsErrors accept a bool. 2015-09-02 15:34:49 -07:00
Hao Kung bf2b771eab React to Options, Configure => Add, Cookie changes
UseCookie now has an overload which takes an instance of CookieOptions
2015-09-02 14:13:16 -07:00
Chris R bcf8a45340 #413 Rename OAuthBearer to JwtBearer. 2015-09-01 12:23:51 -07:00
Kévin Chalet d9b3ea2a54 Add POST support for OpenID Connect authorization and logout requests 2015-09-01 03:59:50 +02:00
Kévin Chalet fa39144937 Use automatic properties, replace scope by a list and replace the validators list by a single validator 2015-09-01 01:23:41 +02:00
Chris R 56315c441c Use new HttpContext.Features API. 2015-08-31 06:46:18 -07:00
Chris R 92185a1c27 React to string[] -> StringValues changes. 2015-08-28 14:16:49 -07:00
Chris R 86962ab12c #278 Additional OIDC message validation. 2015-08-22 21:17:38 -07:00
Kiran Challa 289182b872 Reacting to disposable logger provider 2015-08-13 08:47:53 -07:00
Hao Kung a3f0ee3330 Add a shared dataprotection test for cookies 2015-08-12 14:10:42 -07:00
Hao Kung b883920bef Cookies now always redirects to Login/AccessDenied Paths 2015-08-11 16:50:20 -07:00