Commit Graph

18 Commits

Author SHA1 Message Date
Troy Dai 0e855b25a8 Update Google and Microsoft Account Handler exception message 2016-07-26 14:16:16 -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 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
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
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 e1495f5f32 Remove unncessary usings 2016-06-09 00:48:37 -07:00
Pranav K f6cdb9faf9 Fix build warnings 2016-05-02 11:27:26 -07:00
Pranav K a41c578d88 Removing imports from src projects 2016-04-08 06:49:18 -07:00
Eilon Lipton d78f7edfc7 Fix package metadata
And also a few other Core-related renames.
2016-03-09 23:14:51 -08:00
Ajay Bhargav Baaskaran 9dfe4d9699 Enabled xml doc generation 2016-03-04 15:49:20 -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
Ajay Bhargav Baaskaran 94e0088eea Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:22 -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
N. Taylor Mullen bafb097e9f Update to new CLI.
- Added appropriate imports/net core platform libraries.
2016-02-06 19:51:50 -08:00
Chris R a80c5e6d85 #614 Standardize the pattern for scope defaults. 2016-01-27 15:26:32 -08:00
N. Taylor Mullen c0d587e7c2 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:35:47 -08:00
N. Taylor Mullen ba757d7a45 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:16:26 -08:00