Commit Graph

80 Commits

Author SHA1 Message Date
Hao Kung 644a4002a9 Rename back to jwtBearer 2015-09-22 14:09:41 -07:00
Hao Kung 6c9157ff51 Fix tests 2015-09-21 16:47:33 -07:00
Hao Kung fec3002fff Renames 2015-09-21 16:32:14 -07:00
Hao Kung 59ccbdd8ca Fix stuff 2015-09-21 14:56:05 -07:00
Hao Kung 081577e4f4 Remove usage IOptions from middleware ctors 2015-09-18 12:24:33 -07:00
Hao Kung 5cc1fea400 Add CookiePolicy Middleware 2015-09-17 15:37:15 -07:00
Chris R 1c0768fb71 #372 Flow mutable event state.
#358 Add a UserInformationReceived event.
#327 Add AuthenticationCompleted event.
#340 Split the Redirect event for Authentication and SignOut.
Rename OnAuthorizationCodeRedeemed to OnTokenResponseReceived.
Move IdTokenReceived to AuthorizationResponseReceived.
Rename IdTokenValidated to AuthenticationValidated.
2015-09-16 14:31:36 -07:00
Jason Loeffler b25d4b537f Removed references to Shouldly 2015-09-15 14:22:38 -05:00
Hao Kung e8090a3176 Remove authentication from names, async events 2015-09-14 14:54:51 -07:00
Chris R 2982d743d8 #443 Remove custom certificate validators. 2015-09-10 08:41:08 -07:00
Chris R ebcad24307 #404 Verify state via independent cookie. 2015-09-09 12:16:22 -07:00
Chris R 9f7a723843 #390 Make the nonce cookie expire. 2015-09-09 11:55:14 -07:00
Hao Kung 5bc13cbd6b UseOauth now requires an instance of options 2015-09-09 11:05:14 -07:00
Chris R 61a47d79a8 Work around System.Uri relative path bug on mono. 2015-09-04 11:47:19 -07:00
Chris R d2701f4897 #58 Serialize the ClaimsIdentity.BootstrapContext. 2015-09-03 17:25:56 -07:00
Chris R 47520e126e #47 Standardize on I*Events pattern. 2015-09-03 11:02:19 -07:00
Chris R d3ad11a753 #47 Rename Notifications to Events and Contexts. 2015-09-02 17:01:21 -07:00
N. Taylor Mullen 6915db67f2 Update tests to properly return tasks.
- Fixes errors caused by `"warningsAsErrors": true`
2015-09-02 15:54:25 -07:00
N. Taylor Mullen 64c40addc6 Update project.json to have warningsAsErrors accept a bool. 2015-09-02 15:34:49 -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
Chris R bcf8a45340 #413 Rename OAuthBearer to JwtBearer. 2015-09-01 12:23:51 -07:00
Kévin Chalet d9b3ea2a54 Add POST support for OpenID Connect authorization and logout requests 2015-09-01 03:59:50 +02:00
Kévin Chalet fa39144937 Use automatic properties, replace scope by a list and replace the validators list by a single validator 2015-09-01 01:23:41 +02:00
Chris R 56315c441c Use new HttpContext.Features API. 2015-08-31 06:46:18 -07:00
Chris R 92185a1c27 React to string[] -> StringValues changes. 2015-08-28 14:16:49 -07:00
Chris R 86962ab12c #278 Additional OIDC message validation. 2015-08-22 21:17:38 -07:00
Kiran Challa 289182b872 Reacting to disposable logger provider 2015-08-13 08:47:53 -07:00
Hao Kung a3f0ee3330 Add a shared dataprotection test for cookies 2015-08-12 14:10:42 -07:00
Hao Kung b883920bef Cookies now always redirects to Login/AccessDenied Paths 2015-08-11 16:50:20 -07:00
unknown b85db5e8c0 Reacting to namespace changes in identitypackages - beta7 update 2015-07-30 13:11:08 -07:00
bchavez bdab4d95fd Using QueryHelpers helps avoid issue #365. 2015-07-28 10:13:52 -07:00
Hao Kung 5a2499eb22 Rename ExternalAuthenticationOptions => Shared 2015-07-16 12:43:03 -07:00
Hao Kung 73d4440a25 API review: nuke notification namespaces 2015-07-16 11:56:48 -07:00
Hao Kung ab4ba794e5 Fix cookie bugs, Authenticate => HandleAuthenticate 2015-07-14 13:22:04 -07:00
Hao Kung 5065835a05 Remove special cookie ajax redirect behavior 2015-07-14 13:19:25 -07:00
tushar gupta 8d7f052cf4 Adding support for signing in using "code flow" 2015-07-14 11:51:16 -07:00
Hao Kung efc35302e8 Switch to shared security helper 2015-07-08 15:01:09 -07:00
Chris R 57031946d0 #214 Refactor OIDC state parameters. 2015-07-08 12:21:14 -07:00
Hao Kung 61bbe4cf52 Set user in OAuthContext 2015-07-01 19:01:44 -07:00
Kévin Chalet 9bb8b61146 Revisit OAuthAuthenticationHandler and add a new SaveTokensAsClaims option 2015-07-01 15:03:54 -07:00
Hao Kung 5e92de8009 Tweak SecurityHelper for MVC usage 2015-07-01 12:36:37 -07:00
Hao Kung b9f152ebb1 Cookie fixes 2015-07-01 11:55:06 -07:00
Hao Kung d7ce42dacc Handle null in ticket serializer 2015-06-30 12:08:20 -07:00
Hao Kung 78cf7f99ff Fix base path issue with OAuthHandler 2015-06-29 10:43:43 -07:00
Kévin Chalet 102f113e2b Replace INonceCache by IDistributedCache 2015-06-27 01:08:27 +02:00
Hao Kung 3a8ea672ea AuthN and AuthZ API changes (Async, Challenge) 2015-06-25 17:19:27 -07:00
Chris R 5947b07873 Remove stray Console.Writes from tests. 2015-06-05 12:19:26 -07:00
Kévin Chalet c6230f5de2 Fix invalid challenge in CookieAuthenticationHandler.ApplyResponseChallenge 2015-06-05 12:19:25 -07:00
Hao Kung e54d088c46 Fix issue with 401->403 not working with AutomaticAuthentication 2015-05-22 14:48:24 -07:00
Hao Kung 468852550c Tweak SecurityHelper.AddUserPrincipal logic 2015-05-12 15:49:49 -07:00