Commit Graph

72 Commits

Author SHA1 Message Date
Hao Kung d2a8d3a61c
Fix cookie regression (#1811) 2018-07-11 13:14:51 -07:00
Ryan Brandenburg aa24887d43 Set 2.1 baselines 2018-06-14 16:42:34 -07:00
Ryan Brandenburg 46e62b2b67 Set 2.0 baselines 2018-03-21 11:46:17 -07:00
Hao Kung bee77ebf91
Rename VirtualScheme => PolicyScheme (#1665)
* VirtualScheme => PolicyScheme

* Use SignInHandler base for cookies

* PolicySchemeHandlers throw NotImplemented by default

* Remove redundant interface
2018-03-13 11:09:43 -07:00
Chris Ross (ASP.NET) 1df139eb6d Clone tickets for sliding refresh #1607 2018-03-06 08:56:45 -08:00
Hao Kung c0b8be58ba
Add scheme forwarding (authN policies) (#1625) 2018-02-01 14:40:56 -08:00
Chris Ross (ASP.NET) f8b4f4c620 Add consent to CookiePolicy #1561 2017-12-27 13:38:18 -08:00
Hao Kung 794e9c79fd Update cookie doc comments 2017-10-19 13:13:15 -07:00
Chris Ross (ASP.NET) bd07f8b683 #1353 use a compliant Expires header value for expiration. 2017-10-11 12:40:15 -07:00
Javier Calvarro Nelson 5abcfe7e3d Update API check baselines to 2.0 2017-09-22 17:24:10 -07:00
agoretsky 241880eadc Minor improvements (#1403)
* Fixed exception overwriting due to possible NullReferenceException

* Removed unused local variables
2017-09-19 09:14:49 -07:00
Nate McMaster 724be48ee9 Use Directory.Build.props/targets 2017-08-29 15:24:01 -07:00
Poul Kjeldager Sørensen 488eb44467 Fix obsolete warning message (#1363)
Fixes the messaged shown to developers when they are updating their applications to 2.0. Bad idea to set the domain with some random naming text.
2017-08-14 11:07:19 -07:00
Scott Addie b43ffc4acc Recommend CookieBuilder.HttpOnly instead of CookieBuilder.SameSite (#1366) 2017-08-14 11:06:32 -07:00
Hao Kung d797543cfc Update obsolete error (#1346) 2017-08-03 12:59:45 -07:00
Chris R 36d3d97b99 #1319 Add DisplayName overloads 2017-07-13 15:20:24 -07:00
Hao Kung 23da476176 Switch to IOptionsMonitor (#1295) 2017-07-06 13:41:47 -07:00
Nate McMaster bd19ba9533 Revert obsoleting CookieAuthenticationOptions.ExpireTimeSpan (#1296)
- Revert the obsoleting of CookieAuthenticationOptions.ExpireTimeSpan in aspnet/Security#1285
- Add test to ensure Cookie.Expiration is ignored
2017-07-05 15:43:43 -07:00
Hao Kung 1c30f33c92 Remove AddXyzAuth extension methods 2017-07-05 13:00:40 -07:00
Nate McMaster a7bf561b1c Add CookieBuilder to CookieAuthenticationOptions and obsolete the duplicated properties 2017-07-05 10:05:10 -07:00
Hao Kung ff9f145a8e Refactor Events + Add IAuthenticationBuilder 2017-06-29 16:27:03 -07:00
Hao Kung 9797d4bc5f Reenable API check 2017-06-12 14:58:11 -07:00
Pranav K 4a258b4565 Remove usage of TaskCache 2017-06-08 09:01:00 -07:00
Hao Kung db9ae62632 IInitializeOptions => IPostConfigureOptions 2017-06-02 14:28:03 -07:00
John Luo c523839078 Update default settings for SameSite
- Need Lax policy for social authentication
- Need None policy for OIDC
2017-05-26 12:19:18 -07:00
Hao Kung e940cdb36b AuthZ 2.0 changes + react to Http 2017-05-25 18:29:19 -07:00
Chris R 30392a1811 Retarget to netstandard2.0 and net461 2017-05-24 19:04:48 -07:00
John Luo 769da5fd87 Add SameSitePolicy to CookiePolicyMiddleware 2017-05-23 09:55:11 -07:00
Hao Kung 1f5a27e20a Switch to Options Initializer 2017-05-17 14:05:27 -07:00
Chris R d84abf1fe6 Migrate to netcoreapp2.0 (#1202)
* Migrate to netcoreapp2.0, remove Microsoft.Owin.Security.Interop & tests.

* Remove net45 baselines
2017-05-04 19:26:44 -07:00
Hao Kung da30688fa9 Disable api checks for now 2017-04-19 13:58:38 -07:00
Hao Kung 99aa3bd35d Auth 2.0 2017-04-19 13:00:03 -07:00
Pranav K ffa45dbd01 Change compilation targets.
* Remove net451 as a compilation target
* Upgrade to netcoreapp2.0
2017-03-22 06:04:21 -07:00
Nate McMaster 10ef26d63c Consolidate dependency versions into one file and remove workarounds 2017-03-15 18:12:53 -07:00
Nate McMaster 9847f40654
Downgrade to stable packages 2017-02-14 16:15:42 -08:00
Nate McMaster 7634c5420a Upgrade to RC.3
Removes __TemporarySources__ to use contentFiles packages
Remove default globs
Update test platform
2017-01-19 22:31:43 -08:00
Nate McMaster 861026cd76 Remove redundant references 2017-01-05 18:16:07 -08:00
Nate McMaster ba8f85d972 Upgrade to VS 2017 2017-01-05 13:53:05 -08:00
Pranav K 7ab28ecdc6 Updating to 4.4 CoreFx packages 2016-12-14 14:47:31 -08:00
Pranav K 46df38de68 Updating versions to 1.2.0-* 2016-11-09 14:19:34 -08:00
jacalvar 82c231efca Created public API baselines 2016-11-08 11:38:53 -08:00
Pranav K f64c864911 Updating partner package versions 2016-10-03 14:28:05 -07:00
Troy Dai 0152691108 Cookie Auto: set properties back to ticket when using SessionStore (#995) 2016-09-28 14:25:02 -07:00
Kiran Challa aa1fd5d89a Move ChunkingCookieManager to a separate Sources project 2016-09-21 12:25:41 -07:00
Pavel Krymets ce0ed3d237 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#968)
Instead of Task.FromResult(0)
2016-09-08 10:01:53 -07:00
Troy Dai cbbec15d37 Ignore null ExpiresUtc property in RequestRefresh
Issue: https://github.com/aspnet/Security/issues/949
2016-08-26 14:55:36 -07:00
Troy Dai fb0a577dd1 Add comments to CookieAuthenticationHandler 2016-08-11 14:03:17 -07:00
Troy Dai 26a7c7016d Minor updates to CookieAuthenticationHandler and its tests
1. Remove unnecessary variable declaration.
2. Update test name to a more accurate description.
2016-08-11 10:15:07 -07:00
Troy Dai 4600451dc6 Allow absolute uri in authentication properties for cookie auth redirect 2016-08-11 08:48:47 -07:00
Troy Dai 97afe4acc8 Adjust the redirect URI precedence in cookie auth 2016-08-10 15:59:39 -07:00