Commit Graph

45 Commits

Author SHA1 Message Date
Troy Dai 74e5777435 Update comments 2016-08-05 22:00:37 -07:00
Troy Dai 926c7fab4b Use async-wait pattern in HandleAuthenticateOnceSafeAsync 2016-08-05 14:34:36 -07:00
Troy Dai 0314632696 JwtBearer Token: Catch exception during unauthorized flow 2016-08-05 12:11:33 -07:00
Hao Kung 2a6ab2be8c Add UpdateTokenValue API 2016-07-29 13:26:25 -07:00
Troy Dai 763df65c14 Revise if-else order in RemoteAuthenticateHandler 2016-07-26 16:27:28 -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 7b7da43fd8 Update comments in RemoteAuthenticationOptions 2016-07-25 20:33:12 -07: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
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
John Luo e57e01d02c React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:25:05 -07:00
Chris R 59fc691f41 #667 #801 Handle authorize and forbid for redirecting handlers. 2016-05-23 10:50:50 -07:00
Pranav K 4c27df166b Revert "React to updated CoreCLR packages"
This reverts commit 621ccf889c.
2016-05-18 09:40:51 -07:00
John Luo 621ccf889c React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-17 14:34:03 -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
Hao Kung 5cd236c1b0 Guard against null ref 2016-04-01 14:16:49 -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
jacalvar 4086d70628 Add comments to AddAuthentication extension methods 2016-03-28 15:44:15 -07:00
Chris R 3f596108aa #690 OIDC & JWT event refactoring. 2016-03-25 10:08:33 -07:00
Kiran Challa 6d4a80e747 [Fixes #532] Replace hard-coded logging event ids with a class of consts 2016-03-24 07:11:53 -07:00
Pranav K 22d133cefa Reacting to CoreCLR package changes 2016-03-22 14:51:18 -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
Chris R a5fcddc0a8 #704 unregister auth handlers during unwind. 2016-03-09 09:45:59 -08:00
Ajay Bhargav Baaskaran 9dfe4d9699 Enabled xml doc generation 2016-03-04 15:49:20 -08:00
Ajay Bhargav Baaskaran 94e0088eea Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:22 -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
Hao Kung b5300ad0e4 Update doc comments 2016-03-02 13:46:47 -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
Kévin Chalet bbcabc0212 Move GenerateCorrelationId and ValidateCorrelationId to RemoteAuthenticationHandler 2016-02-08 11:37:49 -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
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