Commit Graph

20 Commits

Author SHA1 Message Date
Patrick Westerhoff 72210e4078 Add AuthenticationProperties.Parameters (#1008)
Add a `Parameters` bag to the authentication properties that allow
passing arbitrary parameters to an authentication handler. These values
are not intended for serialization of persistence, only for flowing data
between call sites.

Also make existing `Items` collection helpers protected to allow them to
be reused in subclasses, make string-based helpers public as a public
way to work with the collection, and add helper methods to interact with
the `Parameters` dictionary.
2018-03-23 09:13:02 -07:00
Kristian Hellang 450900d14c Added protected ctor to AuthenticationSchemeProvider (#990) 2018-02-05 13:43:55 -08:00
Chris Ross 476333771c
#955 Print available scheme names in exception message for invalid scheme (#961) 2017-11-16 09:17:57 -08:00
Pranav K 231f3a44b1 Update samples and tests to target netcoreapp2.1 2017-11-13 15:13:10 -08:00
Nate McMaster c0f937239a Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 09:32:44 -07:00
Nate McMaster e5825641ce Use PackageLineup to manage PackageReference versions 2017-08-29 12:43:13 -07:00
Nate McMaster 9c699f74b0 Use Directory.Build.props/targets 2017-08-29 12:41:50 -07:00
Nate McMaster 5b58a6a71d Upgrade to xunit 2.3.0-beta4 2017-08-22 16:29:13 -07:00
Justin Kotalik 27b0f60f09 ForbidAsync now uses correct Schemes method (#918)
* ForbidAsync now uses correct Schemes method

* comment

* adds tests
2017-08-19 22:09:22 -07:00
Hao Kung d894584254 Add DefaultScheme, remove single fallback (#891) 2017-07-07 10:47:54 -07:00
Hao Kung 271faf11bb Refactor IAuthenticationHandler/Result 2017-06-29 16:25:24 -07:00
Hao Kung df5c6730f7 Add new default schemes + tests (#870) 2017-06-14 12:57:45 -07:00
Hao Kung 300d69e644 Remove ConfigureDefaultOptions 2017-06-05 09:57:57 -07:00
Hao Kung a55b818a07 Bind AuthenticationOptions to config + PathString type converter (#851) 2017-06-01 15:43:40 -07:00
Hao Kung b1f92fb6bc Forbid + obsolete context.Authentication 2017-05-25 18:26:36 -07:00
John Luo 6e87b0f5eb Target netstandard2.0 TFM 2017-05-18 14:38:26 -07:00
Nate McMaster bf0b0e283d Upgrade test framework versions and fix test issues 2017-05-15 15:25:02 -07:00
John Luo 9168442704 Migration 2017-05-05 14:59:10 -07:00
Hao Kung 3085f016e4 Fix GetToken() 2017-04-24 11:58:12 -07:00
Hao Kung 13925be91e Initial Auth 2.0 checkin 2017-03-31 11:56:20 -07:00