Troy Dai
763df65c14
Revise if-else order in RemoteAuthenticateHandler
2016-07-26 16:27:28 -07:00
Troy Dai
0e855b25a8
Update Google and Microsoft Account Handler exception message
2016-07-26 14:16:16 -07:00
Troy Dai
0d216d726a
Minor fixes in RemoteAuthenticationHandler and FacebookHandler
2016-07-26 13:58:07 -07:00
Troy Dai
1c17bddc02
Update HandleRemoteCallbackAsync readability
2016-07-26 10:30:50 -07:00
Troy Dai
210c4b2061
Fix incorrect exception messages
2016-07-26 10:30:50 -07:00
Troy Dai
6f46bc94f8
Sort using statements
2016-07-26 10:30:50 -07:00
Troy Dai
5211f22f44
Update comment on HandleRemoteAuthenticateAsync
2016-07-26 10:30:50 -07:00
Troy Dai
cd9e9fa498
Update comment on HandleRemoteAuthenticateAsync
2016-07-26 10:30:50 -07:00
Troy Dai
5de4816f59
Update the RemoteAuthenticationHandler error handling
...
1. Exeption will be still thrown from CreateTicketAsync to avoid breaking
change.
2. OAuthHandler won't try to capture the exception.
3. OAuthHandler will check if the AuthenticateTicket is null.
4. RemoteAuthenticationHandler's error handling flow is improved to cover
the exception thrown from HandleRemoteAuthenticateAsync. The exeption
thrown from it will go throw the user error handling logic, too.
2016-07-26 10:30:50 -07:00
Troy Dai
988bcc81ee
Update comments for HandleRemoteAuthenticateAsync method
2016-07-26 10:30:50 -07:00
Troy Dai
312edaafb4
Handle back channel failure gracefully
...
1. Check the response states code. If it is out of 2XX range, compose a
readable message and throw in an exception.
2. Capture the exception in HandleRemoteAuthenticateAsync and translate
it into AuthenticateResult.
2016-07-26 10:30:50 -07:00
Troy Dai
ecb3b90984
Undo change to the GoogleDefaults
2016-07-26 09:19:42 -07:00
Troy Dai
eabdd45816
Improve code readability for Authentication.Google
2016-07-26 09:13:18 -07:00
Troy Dai
7b7da43fd8
Update comments in RemoteAuthenticationOptions
2016-07-25 20:33:12 -07:00
Ryan Brandenburg
651815c282
Remove OfType allocations ( #906 )
2016-07-25 16:31:27 -07:00
Troy Dai
7235007a9f
Merge pull request #909 from svick/patch-1
...
Improve sample README
2016-07-20 16:56:21 -07:00
Petr Onderka
a1f8278381
Improve sample README
...
* fixed broken link
* improved formatting
* added missing full stops
2016-07-20 19:35:12 +02:00
Derek
6cd46a5c10
Remote auth expiration fix ( #893 )
...
Remote auth expiration fix, and move ISystemClock to the base AuthenticationProperties
2016-07-19 15:18:42 -07:00
Troy Dai
4927ad6b74
Remove win32.cs
2016-07-14 16:24:56 -07:00
Troy Dai
5637e0c917
Remove unused using statements
2016-07-14 16:24:48 -07:00
Troy Dai
6cee57752f
Update OpenIdConnectSample
...
1. Add instruction for OpenIdConnectSample
2. Clear unused using statements
3. Hardcoded server URL in `Program.cs`
2016-07-14 15:25:30 -07:00
Troy Dai
61d03b9316
Update OIDC Azure Sample
...
1. Add set up instructions.
2. Add user secret tools.
3. Clean up codes.
2016-07-11 14:08:27 -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
Kévin Chalet
b4342b1604
Replace magic strings by the new constants introduced in IdentityModel
2016-06-17 10:43:24 -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
jacalvar
1f51f6dd2f
Merge branch 'release' into dev
2016-06-15 15:19:59 -07:00
jacalvar
20316e276c
Update Json.NET to 9.0.1
2016-06-15 15:19:11 -07:00
Pranav K
cf68dbb5db
Merge branch 'release' into dev
2016-06-14 16:29:29 -07:00
Pranav K
36023d6dd5
Updating to release.
2016-06-14 16:23:04 -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
Hao Kung
666ad0fc3b
Doc comment update
2016-06-13 14:10:43 -07:00
Hao Kung
34ee0212d0
Fix misc feedback
2016-06-10 15:37:08 -07:00
Barry Dorrans
38e89d498d
Doc Comments
2016-06-09 16:15:09 -07:00
jacalvar
e1495f5f32
Remove unncessary usings
2016-06-09 00:48:37 -07:00
jacalvar
933b374f3e
Update Json.NET to 9.0.1-beta1
2016-06-06 21:26:53 -07:00
Chris R
33b69c14ed
React to UriHelper.Encode rename.
2016-06-06 15:15:02 -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
d289e82a85
Remove old Basic auth samples from ReadMe
2016-06-02 15:06:17 -07:00
Kévin Chalet
56dca7e0bc
Add a 'sid' check to the OIDC middleware to prevent unsolicited logout when possible
2016-06-02 12:21:17 -07:00
Chris R
e299695974
#776 Show some JwtBearer errors in response headers
2016-06-01 07:10:16 -07:00
Chris R
c9f8455dbc
Update sample ADAL dependency
2016-06-01 06:52:57 -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
080447e9aa
#780 Remove obsolete DateTime conversions
2016-05-27 15:29:40 -07:00
Chris R
00990448bf
Sample config cleanup.
2016-05-27 15:04:05 -07:00
Chris R
871885259b
Update the OIDC AzureAd sample.
2016-05-27 15:00:31 -07:00
Chris R
d6763bd77c
#423 Support distributed sign-out.
2016-05-27 14:51:53 -07:00
Cesar Blum Silveira
b358f571d6
Fix OSX build on Travis.
2016-05-27 11:36:59 -07:00