Commit Graph

1016 Commits

Author SHA1 Message Date
Hao Kung 672974c25b Merge fix from release/2.1 2018-07-11 13:18:34 -07:00
Hao Kung d2a8d3a61c
Fix cookie regression (#1811) 2018-07-11 13:14:51 -07:00
ASP.NET CI 8b30c73597 Update dependencies.props
[auto-updated: dependencies]
2018-07-08 12:28:09 -07:00
Nate McMaster 866b0b66a4
Update infrastructure for the 2.2 release 2018-06-28 16:21:46 -07:00
Nate McMaster 26fbad0614
Bumping version from 2.1.1 to 2.1.2 2018-06-27 13:39:51 -07:00
ASP.NET CI d8821d7eb1 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:29:05 -07:00
Ryan Brandenburg aa24887d43 Set 2.1 baselines 2018-06-14 16:42:34 -07:00
Ryan Brandenburg b8a488bf9e Set 2.1 baselines 2018-06-14 16:42:18 -07:00
ASP.NET CI ac1a9ef6d1 Update dependencies.props
[auto-updated: dependencies]
2018-06-12 19:33:42 +00:00
Ryan Brandenburg cabaaef2ab Adding VSTS file 2018-06-08 10:41:50 -07:00
ASP.NET CI 38004ce37a Update dependencies.props
[auto-updated: dependencies]
2018-06-07 19:47:27 +00:00
Nate McMaster 569eef4f7d
Add certificate names for code signing 2018-06-05 22:35:03 -07:00
ASP.NET CI 0d4438d4c9 Update dependencies.props
[auto-updated: dependencies]
2018-06-03 19:28:12 +00:00
ASP.NET CI e538375c44 Update dependencies.props
[auto-updated: dependencies]
2018-05-29 09:52:21 -07:00
ASP.NET CI 12e9585faf Update dependencies.props
[auto-updated: dependencies]
2018-05-27 19:28:55 +00:00
Nate McMaster (automated) 20a4aa0bb0
Update bootstrapper scripts (automated commit) [ci skip] 2018-05-25 16:17:12 -07:00
Nate McMaster 9ee5ed4bf9
Bumping version from 2.1.0 to 2.1.1 2018-05-23 15:35:23 -07:00
Tim Hess 0f18ff1b9f Include AuthenticationTicket.Properties in AuthenticationTicket success result handling #1765 (#1767) 2018-05-23 08:25:19 -07:00
ASP.NET CI e031eff146 Update dependencies.props
[auto-updated: dependencies]
2018-05-20 19:46:07 +00:00
Rick Anderson fb80636cb5 Cookie Policy sample essential cookie (#1762) 2018-05-18 17:56:14 -07:00
Chris Ross (ASP.NET) 1aa78a5853 Rewrite JwtBearer token test #640 2018-05-16 15:41:01 -07:00
ASP.NET CI 23b2b00e0e Update dependencies.props
[auto-updated: dependencies]
2018-05-13 14:22:46 -07:00
Ryan Brandenburg a10c3cb23b Upgrade to netcoreapp22 2018-05-08 11:11:18 -07:00
ASP.NET CI 8bd15fcec1 Update dependencies.props
[auto-updated: dependencies]
2018-05-06 12:30:25 -07:00
ASP.NET CI 4dbcfa5e50 Update dependencies.props
[auto-updated: dependencies]
2018-05-04 07:50:04 -07:00
Alexey Malinin a2cb92b358 Code improvements of JwtBearer module (#1742)
* Use pattern matching to check exception type in JwtBearerHandler

* Use expression body to configure events in JwtBearerHandler
2018-05-01 09:22:27 -07:00
Nate McMaster (automated) 7921fa4c49
Merge branch release/2.1 into dev 2018-04-30 15:53:09 -07:00
Nate McMaster (automated) 3cc514c875
Bump version to 2.1.0-rtm 2018-04-30 14:51:45 -07:00
ASP.NET CI 02ddceac28 Update dependencies.props
[auto-updated: dependencies]
2018-04-29 12:31:25 -07:00
ASP.NET CI db19d87bfa Update dependencies.props
[auto-updated: dependencies]
2018-04-23 12:25:11 -07:00
Nate McMaster 5224d5f4a8
Merge branch release/2.1 into dev 2018-04-20 15:10:01 -07:00
ASP.NET CI f3fc9c7148 Update dependencies.props
[auto-updated: dependencies]
2018-04-19 22:35:33 -07:00
Nate McMaster 5e8f54a55f
Set NETStandardImplicitPackageVersion via dependencies.props 2018-04-19 16:44:34 -07:00
Devin Garner 2e3a1071a8 Correct Twitter OAuth signing code & refactor copy/pasted code. #1695 (#1720) 2018-04-17 09:34:10 -07:00
Ryan Brandenburg 6e0377bad8 Update version number to 2.2.0 2018-04-16 17:02:18 -07:00
Ryan Brandenburg 2e36b28d6a Merge branch 'release/2.1' into dev 2018-04-16 17:02:17 -07:00
Ryan Brandenburg 30493e2fd6 Branching for 2.1.0-rc1 2018-04-16 17:02:13 -07:00
Ryan Brandenburg 0778f5467a Merge remote-tracking branch 'origin/release/2.1' into rybrande/MergeRelease21IntoDev 2018-04-16 15:09:38 -07:00
ASP.NET CI ec5d71d2dc Update dependencies.props
[auto-updated: dependencies]
2018-04-15 14:25:39 -07:00
ASP.NET CI e98a0d243a Update dependencies.props
[auto-updated: dependencies]
2018-04-03 22:41:47 +00:00
Nate McMaster (automated) 0d0f703e3e
Update dependencies.props
[auto-updated: dependencies]
2018-03-28 11:03:00 -07:00
ASP.NET CI bbff105e4d Update dependencies.props
[auto-updated: dependencies]
2018-03-25 15:54:30 -07:00
Chris Ross (ASP.NET) 8654efeb4d Merge branch 'release/2.1' into dev
# Conflicts:
#	build/dependencies.props
2018-03-23 14:57:51 -07:00
Chris Ross (ASP.NET) 8c797639e5 Merge branch 'release/2.1' into dev 2018-03-23 14:56:48 -07:00
Chris Ross (ASP.NET) 405e7bce54 Update dependencies 2018-03-23 14:55:41 -07:00
Patrick Westerhoff 06c93669d6 Allow overwriting parameters on challenge requests
Add a way to overwrite query arguments that are passed as part of the
challenge request to the external authentication provider in OAuth-based
authentication providers, including OpenID Connect.

This uses the new `AuthenticationProperties.Parameters` collection to
pass parameters to the authentication handler which will then look for
special items within that property bag, overwriting previously
configured values within the authentication options.

This can be used for example to overwrite the OAuth scopes that are
requested from an authentication provider, or to explicitly trigger a
reauthentication by requiring a login prompt with OpenID Connect. By
being able to specify this on individual challenge requests (using
`HttpContext.ChallengeAsync`), this is independent from the global
scheme configuration.

Custom ~ChallengeProperties types, e.g. `OAuthChallengeProperties` for
OAuth-based authentication providers, provide assistance in setting the
challenge request parameters but are not required to make the handlers
use the overwritten values.

- Adjust authentication handlers to respect the custom parameters, and
  add ~ChallengeProperties types.
- Introduce `OAuthHandler.FormatScope(IEnumerable<string>)` to format a
  custom set of scopes. Subclasses requiring a different scope format
  should override this method instead of the parameterless overload.
  Overriding just `FormatScope()` will prevent handlers from supporting
  overwriting the OAuth `scope` in a challenge request.
- Refactor GoogleHandler to support parameterization through both the
  `Parameters` and the `Items` collection (former is preferred) to keep
  compatibility with the old behavior.
- Add an OpenIdConnect sample to overwrite the prompt argument in a
  challenge request.
- Add extensive tests.
2018-03-23 02:09:05 +01:00
Patrick Westerhoff d24fddcf59 Clean up tests
- Make Facebook test server asynchronous to avoid having to
  block for the result.
- Clean up some formatting.
2018-03-23 01:33:50 +01:00
Chris Ross (ASP.NET) ce278eba92 Merge branch 'release/2.1' into dev 2018-03-22 09:42:44 -07:00
Chris Ross (ASP.NET) 3d5c9a478d Merge branch 'release/2.1' into dev 2018-03-22 09:42:21 -07:00
Chris Ross (ASP.NET) 90064ce9df Add ClaimActions for bulk add and remove. #1609 2018-03-21 16:35:37 -07:00