Commit Graph

340 Commits

Author SHA1 Message Date
Chris Ross (ASP.NET) c729063c31 Fix flaky cookie policy tests #1629 2018-01-30 15:27:52 -08:00
Chris Ross (ASP.NET) ab8328abca Raise the CookiePolicy consent cookie lifetime to one year #1589 2018-01-26 08:52:08 -08:00
Chris Ross (ASP.NET) 1f855f7b06 Implement ITrackingConsentFeature.CreateConsentCookie() #1590 2018-01-05 12:34:39 -08:00
Chris Ross (ASP.NET) e13ceb690b Detect remote denails for Twitter accounts 2018-01-02 15:40:48 -08:00
Chris Ross (ASP.NET) f8b4f4c620 Add consent to CookiePolicy #1561 2017-12-27 13:38:18 -08:00
Pranav K f8711a2da3 Update samples and tests to target netcoreapp2.1 2017-11-13 17:24:59 -08:00
Mikael Frosthage 5e51cb5c69 Fixed summary tag on comment (#1535) 2017-11-10 08:46:12 -08:00
Nate McMaster 148aef110e Remove redundant ProjectReference's in Auth.Test.csproj
cref dotnet/sdk#1716
2017-11-07 17:30:50 -08:00
Hao Kung 72e1cb1385 Add VirtualSchemes 2017-11-06 14:16:57 -08:00
Nate McMaster bd8ecd0268 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 16:37:42 -07:00
Chris Ross (ASP.NET) 00c9210157 Refactor OIDC event tests 2017-11-01 15:53:26 -07:00
tstojecki 88cb3df0eb Added support for multiple values (arrays) in default claim action (#1501)
* Added support for multiple values (arrays) in default claim action

* Added tests to claim action update to support array values
2017-10-31 09:27:07 -07:00
Chris Ross (ASP.NET) 824539f47a #1349 Don't throw for partial cookies 2017-10-12 10:14:19 -07:00
Hao Kung 02cd997e32 Add Validate(scheme) and use for RemoteSignInScheme not self validation 2017-10-10 14:17:07 -07:00
Chris Ross (ASP.NET) 0904af8ff3 PR style cleanup 2017-10-09 11:45:51 -07:00
OpenIDAuthority e34a5f8fb8 Add MaxAge to OpenIdConnectOptions
- max_age parameter added to the authentication request if MaxAge is not null
 - throws exception if MaxAge is set to a negative value
 - Fractions of seconds are ignored
 - See http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest for expected behavior

Addresses #1233
2017-10-09 11:45:51 -07:00
Javier Calvarro Nelson 3e7d1a7fd4 React to updated IdentityModel version 2017-10-06 16:09:26 -07:00
Nate McMaster 54e4f6834e Minor test code changes to resolve xUnit2013 build error 2017-10-05 15:35:51 -07:00
Chris R 144ee21696 #1188 Add AuthenticationProperties to HandleRequestResult and RemoteFailureContext 2017-09-27 14:18:42 -07:00
Chris Ross (ASP.NET) 13fdbac48f #942 Add the SignedOutCallbackRedirect event for OIDC 2017-09-22 15:29:15 -07:00
Hao Kung b9d9418f6d Block SignInScheme = self 2017-09-15 14:22:03 -07:00
Nate McMaster a53bf093a7 Use PackageLineup to manage PackageReference versions 2017-08-29 15:26:04 -07:00
Nate McMaster 724be48ee9 Use Directory.Build.props/targets 2017-08-29 15:24:01 -07:00
Damir Ainullin c8a99e5806 Removed redundant if checks (#1390) 2017-08-28 11:12:27 -06:00
Nate McMaster 5b29bced0d Upgrade to xunit 2.3.0-beta4
Includes changes to assertions as required by xunit.analyzers 0.6
2017-08-22 18:12:32 -07:00
Saravanan 43db99a568 Updated for the TwitterOptions Validation for the ConsumerKey and Con… (#1337) 2017-08-14 10:29:02 -07:00
Chris Ross 0c82d94a54 #772 Signout FormPost test (#1358) 2017-08-11 11:50:25 -07:00
Justin Kotalik 4eb1306692 Reacting to ResponseCookie Delete changes (#1362)
594f55947f
2017-08-11 10:24:18 -07:00
Chris R c125022050 #772 Fill in OIDC test gaps 2017-08-09 15:29:34 -07:00
Hao Kung 644f34e90d AuthZ PolicyEvalutor should take resource 2017-07-21 11:04:01 -07:00
Chris R 36d3d97b99 #1319 Add DisplayName overloads 2017-07-13 15:20:24 -07:00
Hao Kung df325deaf3 Add AddAuthentication(defaultScheme) overload 2017-07-07 12:06:00 -07:00
Hao Kung 38d33cfbf2 Fix tests to work with new default 2017-07-07 11:36:58 -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
Nate McMaster 968237d751 Replace configure method on Twitter, RemoteAuthentication, and OpenIdConnect options with CookieBuilder 2017-07-05 09:56:12 -07:00
Hao Kung ff9f145a8e Refactor Events + Add IAuthenticationBuilder 2017-06-29 16:27:03 -07:00
Javier Calvarro Nelson 879f0b7f40 [Fixes #1133] Limit the path on the nonce and correlation id cookies 2017-06-15 11:23:05 -07:00
Chris R 200ce72312 Rename PostLogoutRedirectUri to avoid spec confusion 2017-06-13 15:20:54 -07:00
Hao Kung ae3dfcdb32 Remote ConfigureDefaultOptions 2017-06-05 11:34:35 -07:00
Kiran Challa 4034158c61 Removed reference to System.Net.Http 2017-06-01 06:25:25 -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
Nate McMaster bdd4d21996 Update test framework versions and fix issues with tests 2017-05-12 14:30:18 -07:00
Pavel Krymets 36605636df Remove unnecessary package references (#1210) 2017-05-10 11:47:56 -07:00