Troy Dai
8f5c7aef57
Update tests
2016-08-26 08:47:56 -07:00
Troy Dai
d887d74819
Update OpenIdConnectChallengeTests
...
1. Set header and status code in OnRedirectToIdentityProviderEventHandlesResponse
2. Move field to the top
2016-08-23 21:27:00 -07:00
Troy Dai
c5c11e81b3
Split TestTransaction, add extension to TestServer
2016-08-23 09:05:17 -07:00
Troy Dai
562eb7054a
Merge TestDefaultValues with TestServerBuilder
2016-08-23 09:05:17 -07:00
Troy Dai
abc1b37ee1
Update OpenId Connect Challenge Tests
...
1. Expand the test coverage: add tests covers events work flow.
2. Move OpenID connect challenge tests to their own class.
3. Further refactory the test settings and utilities.
2016-08-23 09:05:17 -07:00
Hao Kung
d291bb7c24
Add AuthZHandlerContextFactory
2016-08-19 17:04:09 -07:00
Hao Kung
6f15d616a8
Add IAuthorizationEvaluator
2016-08-19 17:04:09 -07:00
Troy Dai
936a4f6092
Update OpenId Connect Configuration tests
...
1. Move configuration related tests to their own class;
2. Add tests to cover missing options scenarios;
3. Add TestDefaultValues class for default values used in OpenId connect
tests.
2016-08-18 09:51:40 -07:00
Troy Dai
26a7c7016d
Minor updates to CookieAuthenticationHandler and its tests
...
1. Remove unnecessary variable declaration.
2. Update test name to a more accurate description.
2016-08-11 10:15:07 -07:00
Troy Dai
4600451dc6
Allow absolute uri in authentication properties for cookie auth redirect
2016-08-11 08:48:47 -07:00
Troy Dai
97afe4acc8
Adjust the redirect URI precedence in cookie auth
2016-08-10 15:59:39 -07:00
Troy Dai
1ef62a40b3
Add test for CookieAuthentication
2016-08-10 15:59:39 -07:00
Troy Dai
0314632696
JwtBearer Token: Catch exception during unauthorized flow
2016-08-05 12:11:33 -07:00
Hao Kung
137e18f39d
Add test
2016-07-29 13:26:36 -07:00
Doug Bunting
792b316950
One build to rule them all
...
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:40:05 -07:00
Ajay Bhargav Baaskaran
7323e75d5d
Updating to RTM builds of xunit and Moq
2016-07-05 21:28:47 -07:00
Pranav K
d8d408638e
Updating to dev versions
...
# Conflicts:
# src/Microsoft.AspNetCore.Authentication.OAuth/project.json
# src/Microsoft.AspNetCore.Authentication.Twitter/project.json
2016-06-16 11:31:40 -07:00
N. Taylor Mullen
b7bdb39b92
Remove direct Microsoft.NETCore.Platforms dependency.
...
- Microsoft.NETCore.App now pulls this package in.
aspnet/Coherence-Signed#344
2016-06-13 15:29:53 -07:00
Pranav K
bffbfc7f9e
React to OpenId renames
2016-06-04 18:53:09 -07:00
Kévin Chalet
120021e8a3
Add a new IncludeErrorDetails option to prevent the JWT middleware from returning error/error_description
2016-06-03 22:46:00 +02:00
Hao Kung
35d0592701
Make AuthorizationHandler<TReq> async only
2016-06-03 13:26:16 -07:00
Chris R
e299695974
#776 Show some JwtBearer errors in response headers
2016-06-01 07:10:16 -07:00
Hao Kung
c257c9528f
AuthZ: Combine needs to use policy provider
...
Fixes https://github.com/aspnet/Security/issues/841
2016-05-31 13:45:48 -07:00
Chris R
2634fe318d
#814 Rework CookieAuth for compat with CookiePolicy.
2016-05-26 14:20:15 -07:00
Hao Kung
db7009531a
Update google token endpoint to v4
2016-05-23 10:31:36 -07:00
Hao Kung
bfbe7ec15d
Update fb to v2.6
2016-05-23 10:31:36 -07:00
BrennanConroy
962a74c488
Add argument validation
2016-05-16 15:19:58 -07:00
Chris R
6294badd97
Use a shared CookieSecurePolicy.
2016-05-16 12:29:33 -07:00
BrennanConroy
1a99fad0c6
Rename AuthorizationContext
2016-05-16 09:30:33 -07:00
Chris R
7645253420
#808 Update OIDC to v1.0
2016-05-03 09:39:36 -07:00
Pranav K
a4c132ca74
Adding dotnet-test-xunit
2016-05-02 16:56:37 -07:00
Pranav K
f6cdb9faf9
Fix build warnings
2016-05-02 11:27:26 -07:00
Pranav K
85b5eb28a0
Use latest build of dotnet-test-xunit
2016-04-19 14:54:11 -07:00
Pavel Krymets
e3667f7c26
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 17:05:20 -07:00
Pavel Krymets
f6557c821d
Migrate tests, tools and samples to portable
2016-04-15 09:48:24 -07:00
Doug Bunting
16a0482238
React to HttpAbstractions namespace changes
...
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:15:37 -07:00
Chris R
3f596108aa
#690 OIDC & JWT event refactoring.
2016-03-25 10:08:33 -07:00
David Fowler
6a0e58e3ff
Fixed build
2016-03-25 02:46:34 -07:00
Doug Bunting
9361960b2f
React to HttpAbstractions change: No features in `.Internal` namespace
...
- see issue aspnet/HttpAbstractions#561 and pull aspnet/HttpAbstractions#589
2016-03-18 08:35:57 -07:00
John Luo
22f55d5937
Reacting to DataProtection changes
2016-03-15 18:28:56 -07:00
Dovydas Navickas
f5c1c45db2
IClaimsTransofrmer updated to take ClaimsTransformationContext instead of ClaimsPrincipal in TransformAsync method. #718
2016-03-11 14:07:56 -08:00
Eilon Lipton
d78f7edfc7
Fix package metadata
...
And also a few other Core-related renames.
2016-03-09 23:14:51 -08:00
Osman M Elsayed
8645ca0dc5
Update MicrosoftAccount to use converged auth
...
-Updated MicrosoftAccountDefaults to use app model v2 & graph API
-Updated MicrosoftAccountHelper to extract user info from the user object
returned by the graph API
-Updated MicrosoftAccountMiddlewareTests accordingly
-Added the app model v2 client credentials to SocialSample/config.json
-Configured SocialSample to use SSL
Startup.cs
- Sorted namespaces
- Dropped openid scope from Microsoft-AccessToken
project.json
- Sorted dependencies
MicrosoftAccountHelper.cs
- Removed name claim transofmation
- renamed GetName, GetFirstName & GetLastName
2016-03-04 11:52:43 -08:00
Hao Kung
0ab5cdc6ad
Fix bad rebase
2016-03-03 14:01:24 -08:00
Hao Kung
ace166fa31
Save tokens in auth properties instead of claims
2016-03-03 12:50:46 -08:00
Doug Bunting
fbb628298c
Remove project name from output path
...
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 21:20:11 -08:00
N. Taylor Mullen
e3979fd3fe
Transition to netstandard.
...
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:36:53 -08:00
John Luo
0372daeebf
Updating test TFMs for custom test discovery
2016-02-19 12:45:04 -08:00
David Fowler
2dc353e219
Fixed 1300 errors reported in VS on build
2016-02-13 21:20:20 -08:00
Kiran Challa
552afb87b5
Enable tests to run using dotnet xunit runner
2016-02-10 05:47:19 -08:00