Commit Graph

369 Commits

Author SHA1 Message Date
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
N. Taylor Mullen 06c89aa340 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:26 -07:00
Hao Kung af14c99b46 Fix core build issue 2015-09-17 15:51:36 -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
Chris R 92d5e4ce77 Fix test for CoreClr. 2015-09-16 11:28:16 -07:00
Jason Loeffler f0792f2b2e Remove Shouldly and Moq from Microsoft.AspNet.Authorization.Tests. Enable dnxcore50 in this project. 2015-09-15 23:11:11 -05:00
Jason Loeffler b25d4b537f Removed references to Shouldly 2015-09-15 14:22:38 -05:00
Chris R ee2d263223 #434 Remove the nonce cache. 2015-09-15 09:13:26 -07:00
Hao Kung e8090a3176 Remove authentication from names, async events 2015-09-14 14:54:51 -07:00
Pranav K 0f06b6a09a Adding NeutralResourcesLanguageAttribute 2015-09-10 18:31:59 -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 76fd055d8e Remove redundant body rewind. 2015-09-08 14:14:39 -07:00
Murat Girgin 68d721ec0d Merge pull request #371 from leastprivilege/patch-1
Update README.md
2015-09-08 08:59:41 -07:00
Chris R 61a47d79a8 Work around System.Uri relative path bug on mono. 2015-09-04 11:47:19 -07:00
Ryan Nowak 831785fe9f Make AddAuthorization() idempotent
Found this issue which looking into making AddMvc() idempotent. You'll end
up with multiple pass-through handlers registered if two components call
AddAuthorization(). This is very possible to happen if used two frameworks
in the same app.
2015-09-04 08:26:54 -07:00
Chris R d2701f4897 #58 Serialize the ClaimsIdentity.BootstrapContext. 2015-09-03 17:25:56 -07:00
Chris R dda67b9d7c Remove unused RedirectFromIdentityProviderContext. 2015-09-03 12:39:36 -07:00
Chris R 47520e126e #47 Standardize on I*Events pattern. 2015-09-03 11:02:19 -07:00
Chris R 2aba485263 Move Context objects to OIDC and JwtBearer, remove generics. 2015-09-02 17:01:25 -07:00
Chris R e4f78176f9 Regenerate Resources.Designer.cs using the standard tooling. 2015-09-02 17:01:23 -07:00
Chris R d3ad11a753 #47 Rename Notifications to Events and Contexts. 2015-09-02 17:01:21 -07:00
Chris R 0f115f1fda #307 Assume notifications are not null. 2015-09-02 17:01:18 -07:00
Chris R 4b1f710c39 #415 Use a cross-platform friendly HttpClient for CoreCLR. 2015-09-02 16:25:27 -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
Chris R 561c997cb2 React to IHeaderDictionary API changes. 2015-08-31 20:29:36 -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 d6882ce4a5 Merge branch 'release' into dev 2015-08-25 13:54:41 -07:00
Chris R d5e27bf546 #278 Validate the message, not the JWT. 2015-08-25 13:47:11 -07:00
Chris R 7213b53554 #407 OIDC - Fail if the user-info subject does not match 2015-08-25 11:26:02 -07:00
Pranav K 34354ef53d Merge remote-tracking branch 'origin/release' into dev 2015-08-24 12:29:09 -07:00
Pranav K 583c251f02 Updating to release AzureAD feed 2015-08-24 12:28:18 -07:00
Chris R c29ede3e78 Merge branch 'release' into dev 2015-08-22 21:20:11 -07:00
Chris R 86962ab12c #278 Additional OIDC message validation. 2015-08-22 21:17:38 -07:00
N. Taylor Mullen 5a7e091330 Update 'build.sh' to pull Sake from v2 NuGet feed. 2015-08-20 20:47:05 -07:00
N. Taylor Mullen 150919f894 Update 'build.cmd' to pull Sake from v2 NuGet feed. 2015-08-20 15:38:18 -07:00
N. Taylor Mullen c4987c109d Update NuGet feed from v2 => v3. 2015-08-19 14:54:46 -07:00
Pranav K 4b748fee1f Updating to aspnetliterelease. 2015-08-18 14:00:24 -07:00
Pranav K dfd3dd0cb4 Updating to aspnetlitedev. 2015-08-18 14:00:24 -07:00