Commit Graph

19 Commits

Author SHA1 Message Date
John Luo 417ca6cbe3 Updating to new options pattern 2016-01-08 16:53:31 -08:00
Hao Kung f195ed3bab Allow value type resources for AuthZ 2016-01-04 13:30:40 -08:00
Osmozy d38fb1e49d Summary of the changes
- No need to set the authenticationType in the Authorize_ShouldAllowIfClaimIsPresent unit test, since we already have another unit test for these functionality.
 - Specified the authentication scheme of the authorization policy  in the Authorize_ShouldAllowIfClaimIsPresentWithSpecifiedAuthType unit test
2016-01-04 13:26:23 -08:00
Pranav K 5e99883c57 Reacting to DI changes 2015-11-13 11:28:12 -08:00
Hao Kung 0eaec216b1 AuthZ API review changes 2015-10-21 16:45:20 -07:00
Hao Kung defc9faac0 Don't call resource handlers without required resource 2015-10-21 13:18:05 -07:00
Hao Kung e0464c9508 Add some basic logging to AuthZ/N 2015-10-20 13:47:59 -07:00
Pranav K 6c529eae7a Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:47 -07:00
Chris R 92d5e4ce77 Fix test for CoreClr. 2015-09-16 11:28:16 -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
Hao Kung 5bb5662e74 Remove sync AuthZ APIs 2015-07-20 16:36:25 -07:00
Hao Kung 3a8ea672ea AuthN and AuthZ API changes (Async, Challenge) 2015-06-25 17:19:27 -07:00
Hao Kung 17deab142d AuthZ: Sugar to make resource parameter optional 2015-05-12 13:57:23 -07:00
Hao Kung 434d158c76 Support custom name and role claims 2015-05-06 14:24:20 -07:00
N. Taylor Mullen 5cf0564484 Update LICENSE.txt and license header on files. 2015-05-01 14:00:05 -07:00
Hao Kung 9ce84d39c2 React to http challenge changes 2015-04-15 11:21:32 -07:00
Hao Kung e2a8efbb64 Cleanup
Switch to logging interfaces reference
Tweak DenyAnonymous logic

Fixes https://github.com/aspnet/Security/issues/181
Fixes https://github.com/aspnet/Security/issues/169
2015-03-17 11:40:58 -07:00
Hao Kung 1459ca1edb React to DI changes 2015-03-04 19:57:15 -08:00
Hao Kung 775eb5ece4 Split Security into AuthN/AuthZ
AuthenticationType -> Scheme
Move Active/Passive into AutomaticAuthenticationHandler
Security -> Authorization/Authentication assemblies
401-403 logic
Switch from ClaimsIdentity to ClaimsPrincipal
2015-03-02 15:33:52 -08:00