Commit Graph

573 Commits

Author SHA1 Message Date
Jass Bagga 37b8abf841
Refresh user signin after updating their profile (#1615) 2018-02-05 14:21:19 -08:00
Pranav K c8562728e7 React to Razor Sdk rename 2018-02-02 13:20:58 -08:00
Pranav K 8978907aac Merge remote-tracking branch 'origin/release/2.1' into dev 2018-01-31 13:59:39 -08:00
Pranav K aa92069287 Remove Razor.Design reference 2018-01-31 11:58:34 -08:00
Pranav K aa509316c8 Make Razor.Sdk a build time dependency 2018-01-30 12:27:32 -08:00
Javier Calvarro Nelson 289ea010d7 Fix precompilation 2018-01-26 18:41:21 -08:00
Javier Calvarro Nelson 47060f5e52 Fix build 2018-01-26 16:41:52 -08:00
Javier Calvarro Nelson d05ddf9564 Merge branch 'release/2.1' into origin-dev 2018-01-26 16:15:20 -08:00
Javier Calvarro Nelson 185482c8cf [Fixes #1572] Improve the extensibility of the default identity UI 2018-01-26 16:08:16 -08:00
Pranav K aa03ae6394
Merge pull request #1600 from aspnet/release/2.1
Merge release/2.1 to dev
2018-01-26 15:27:05 -08:00
Pranav K 1c6b7e9161 Exclude content files from package 2018-01-26 14:20:37 -08:00
Hao Kung ae127558b5 2fa UI improvements 2018-01-25 13:42:38 -08:00
Robert Miles 5f838208e8 Fix IUserRoleStore docs (#1594) 2018-01-25 13:40:11 -08:00
Jass Bagga 561f9ef5ec
Revert "Update jquery" (#1593) 2018-01-24 17:17:33 -08:00
Jass Bagga e0d7835448 Revert "Update jquery"
This reverts commit e030d85654.
2018-01-24 16:40:46 -08:00
Hao Kung 855f7532ae Merge remote-tracking branch 'bch/dev' into bch-merge 2018-01-24 13:22:33 -08:00
James Kitamirike ec2ee2272b Fix small typo in method docs (#1557) 2018-01-24 13:14:43 -08:00
Hao Kung 79b4944c0e Fix typo in DownloadPersonalData 2018-01-24 13:12:40 -08:00
Jass Bagga e030d85654 Update jquery 2018-01-23 14:18:18 -08:00
Javier Calvarro Nelson df4db2f49c Fix manage views layout 2018-01-22 14:44:44 -08:00
Javier Calvarro Nelson 5079f708e1 [Fixes #1583] Add authorization to the default Identity UI 2018-01-21 11:31:56 -08:00
Javier Calvarro Nelson d968fdd31f [Fixes #1580, #1581] Update Identity UI to use Razor precompilation
* Switch from using the embedded file provider for the precompiled views
  for actual razor precompilation.
* Add MSBuild props and targets file to include additional assembly
  attributes on the generated precompiled views.
2018-01-21 11:19:16 -08:00
Hao Kung f1ed482c26 Add PersonalData tab/functionality 2018-01-17 11:58:38 -08:00
Pranav K 330823bed8 Make options registerations post configure 2018-01-14 12:59:07 -08:00
Pranav K e44cba9b75 Split showing and generating recovery codes 2018-01-12 11:10:39 -08:00
Pranav K ce88212f49 Use AuthenticatorUrl generated on the server in EnableAuthenticator pages 2018-01-12 11:08:28 -08:00
Hao Kung b07a95dd09
Add Store.MaxLengthForKeys (#1555)
* Add Store.MaxLengthForKeys

If set this will set max length of things we use for composite keys in
UserTokens/Logins

Needed for https://github.com/aspnet/templating/issues/62
2018-01-09 11:32:40 -08:00
Hao Kung 85f8a49aef Shorten folder names 2018-01-08 12:15:12 -08:00
Ryan Nowak de9a35cec6
React to breaking change in MVC
/cc @javiercn
2018-01-02 15:44:04 -08:00
Javier Calvarro Nelson 4b49f2b482 Revert "Revert Move identity into an Area in a library (using Razor Pages) (#1537)"
This reverts commit d612d20344.
2017-12-21 18:17:29 -08:00
Pavel Krymets d612d20344
Revert Move identity into an Area in a library (using Razor Pages) (#1537) 2017-12-21 16:58:59 -08:00
Javier Calvarro Nelson 2964515d85 Adds support for a default UI for identity.
* The default UI uses its own Area (Identity).
* The default UI requires MVC and StaticFiles to be present on the
  request processing pipeline.
* The default UI requires the user to provide a '_LoginPartial ' partial
  view in their application in a location that the view engine will find
  it. This location is tipically /Pages/Shared or /Views/Shared
* Current limitations:
  * The UI is self-contained and non-customizable (outside of things possible with Razor pages).
  * Customizing the User, role, etc. is not supported at this time.
2017-12-21 14:20:42 -08:00
Nate McMaster 145f645bcf
Use MSBuild to set NuGet feeds instead of NuGet.config (#1506) 2017-11-20 15:22:19 -08:00
Pranav K 935780644a Update samples and tests to target netcoreapp2.1 2017-11-14 10:40:53 -08:00
Zarickan 6a31f73984 Corrected typo in IUserTwoFactorTokenProvider.cs
- Corrected typo: "heck" should be "check"
2017-11-13 12:59:21 -08:00
Hao Kung 669aaea3f3 Fix additional code path and add a test 2017-11-10 14:37:14 -08:00
Hao Kung 794bd54cdb Fix issue with AddEntityFrameworkStores and user only store 2017-11-09 13:26:21 -08:00
Nate McMaster 52dfb02175 Pin tool and package versions to make builds more repeatable 2017-10-31 14:43:19 -07:00
Hao Kung 87bbff6586 Alternative fix to GenerateChangePhoneNumber 2017-10-26 14:52:15 -07:00
bchavez 97d488acda
Fix spelling error in failing test. 2017-10-24 15:09:45 -07:00
bchavez 44c58a3042
Corrected copy/paste error in XML doc for SignInManager 2017-10-24 14:59:31 -07:00
bchavez 8928f8446f
House Cleaning - Spell check and grammar. 🚿 2017-10-24 14:59:31 -07:00
Hao Kung 707be3dca0 Fix comment of variance time for Rfc6238 2017-10-24 14:43:41 -07:00
Kristian Hellang 8136fc5306 Use AddHttpContextAccessor method added in aspnet/HttpAbstractions#947 2017-10-10 12:27:27 -07:00
Scott Sauber 700c2afc21 - Add summary to LockoutOptions AllowedForNewUsers.
- Move defaults to summary for better intellisense.
- Added defaults to xml docs where missing.
2017-10-10 12:23:14 -07:00
Tugberk Ugurlu 6ab39281e5 Rename IUserAuthenticatorInfoStore.cs to IUserAuthenticatorKeyStore.cs 2017-10-10 12:21:31 -07:00
hangy 388fea2ed6 Fix ResetPasswordAsync documentation
This seems like it should be the other way around.
2017-10-10 12:20:46 -07:00
Nate McMaster 343f3b2ecd Workaround xunit/xunit#1487 2017-10-06 09:14:32 -07:00
Hao Kung bc75b1a0e7 Rename more generic parameters (#1417) 2017-09-06 11:46:30 -07:00
Hao Kung 3a208fe41c Fix params name and AddRoles (#1406)
AddRoles should not be adding a store, that's done by the store
implementation, it should only be registering the role services.  Also
fixed the TUser/TRole generic parameters names since they were actually
the store types
2017-09-05 10:46:55 -07:00
Javier Calvarro Nelson f11d692976 Rename the area IdentityService to Identity 2017-09-01 14:05:00 -07:00
Nate McMaster c8cf56520a Remove DotNetCliToolReference to workaround NuGet/Home#5716 2017-08-29 15:43:06 -07:00
Nate McMaster 1734c7ff3d Use PackageLineup to manage PackageReference versions 2017-08-29 14:55:50 -07:00
Nate McMaster dce4f48e73 Make changes to test code to fix warnings from xunit.analyzers 2017-08-29 14:51:41 -07:00
Nate McMaster 55a5001c03 Use Directory.Build.props/targets 2017-08-29 14:13:32 -07:00
Hao Kung b865d58786 [2.0.1] Allow use of base identity pocos (#1385) 2017-08-24 14:21:09 -07:00
Hao Kung e36e681d54 Fix regression with ChangePhoneNumber tokens (#1392) 2017-08-24 14:20:32 -07:00
Javier Calvarro Nelson b3c8ff4ae5 Add a website for functional E2E tests and make an OIDC id_token flow succeed
Add a couple of functional tests for doing an id_token flow and an authorization_code flow
2017-08-15 18:04:39 -07:00
Hao Kung f3e2511672 Expose some internal helpers (#1348)
Validate/UpdateUser/Role are now protected
2017-08-14 10:27:30 -07:00
Jim Counts e2ef51b57c Update UserValidator.cs (#1340)
Fix typo
2017-08-07 13:30:57 -07:00
Hao Kung 3a13eec829 Make token purpose consts public (#1344) 2017-08-03 13:00:27 -07:00
Ryan Brandenburg 51eed9332b Update VersionPrefix 2017-07-26 16:37:28 -07:00
Pranav K a6af4a71f9 Change xunit version in specs to 2.2.0 2017-07-24 14:06:08 -07:00
Pranav K 185e9e055f Change xunit version in specs to 2.2.0 2017-07-24 10:39:21 -07:00
Nate McMaster 94635ec5ed Fix the obsolete message on UseIdentity() (#1322) 2017-07-19 21:20:14 -07:00
Mike Harder 43e5c8699c Rename Owin version property for consistency (#1317) 2017-07-14 18:27:23 -07:00
Hao Kung b355f59a01 TFA tweaks for templates (#1299) 2017-07-06 13:14:47 -07:00
Nate McMaster 74c1e19e6c React to changes in CookieAuthenticationOptions 2017-07-05 15:24:37 -07:00
Nate McMaster d4abd5499a React to API changes in CookieAuthenticationOptions 2017-07-05 10:16:00 -07:00
Hao Kung ef411276d6 Switch to new Auth API (#1296) 2017-07-03 11:54:01 -07:00
Nate McMaster 661f6d5103 Revert "React to change in session API"
This reverts commit 04d0fdd652.
2017-06-30 15:27:10 -07:00
Nate McMaster 04d0fdd652 React to change in session API 2017-06-30 15:25:28 -07:00
Hao Kung eb3ff7fc32 Move IdentityOptions namespace 2017-06-29 16:34:25 -07:00
Hao Kung dc4db92d5c Remove usage of IOptionsCache (#1287) 2017-06-26 12:14:02 -07:00
Hao Kung 980206cc26 Revert IdentityDbContext breaking change (#1286) 2017-06-21 16:47:44 -07:00
Hao Kung f555a26b4a Make roles optional in Extensions.Identity 2017-06-20 13:32:42 -07:00
Hao Kung a1b9857d94 Pass cancellationToken 2017-06-14 13:12:59 -07:00
Ponant 98263cca29 Enlarged access to SignInOrTwoFactorAsync (#1279)
Does https://github.com/aspnet/Identity/issues/1274
2017-06-14 10:52:42 -07:00
Hao Kung a9192d99dc Rollback optional stores + activity features (#1281)
* Rollback optional features/store versioning
2017-06-13 13:05:54 -07:00
Pranav K 32406953c4 Remove usage of TaskCache 2017-06-08 13:46:40 -07:00
Pavel Krymets 67234e8748 React to logging changes 2017-06-07 15:26:49 -07:00
Hao Kung 55e85e09ce Remove ConfigureDefaultOptions 2017-06-05 11:33:20 -07:00
Kiran Challa 6480e88f96 Removed unnecessary references 2017-06-01 06:21:54 -07:00
Javier Calvarro Nelson 904ff0e060 Added validation, storage tests 2017-05-30 11:03:25 -07:00
Javier Calvarro Nelson 8b41267e1a Runtime clean-up 2017-05-30 10:29:19 -07:00
Javier Calvarro Nelson 6a3fca86b5 Add support for proof of key for code exchange 2017-05-26 17:32:05 -07:00
Hao Kung be8232d3f9 Add support for store versioning + IUserActivityStore 2017-05-26 15:08:57 -07:00
Javier Calvarro Nelson f0a6eee30e Add support for keyvault 2017-05-26 13:16:29 -07:00
Javier Calvarro Nelson 63f7f9a62c Include the developer certificate by default, make it noop when environment != development 2017-05-26 12:51:39 -07:00
Hao Kung 45f9780d32 Switch back to netstandard2.0 2017-05-26 12:45:28 -07:00
bchavez 8682cc74c8 Fixes #1098. Allows derived types of UserClaimsPrincipalFactory to return their own ClaimsPrincipals. 2017-05-25 18:40:47 -07:00
Hao Kung 34e7a8df27 Switch to new default config options support 2017-05-25 18:39:55 -07:00
Pranav K 9559c454cd Fixing build break 2017-05-25 08:18:28 -07:00
Hao Kung e6f3ebf581 Refactor Identity into Core + Stores 2017-05-23 11:21:39 -07:00
Hao Kung e594854cd2 Add normalize back 2017-05-22 15:09:51 -07:00
Oleg Shevchenko 795040a8a1 Remove excessive periods in comments. (#1162) 2017-05-16 19:15:44 -07:00
Mathias Lykkegaard Lorenzen a664d38ecd fix for capitalization of file name (#1166) 2017-05-16 19:15:09 -07:00
Hao Kung 8a47c17685 Remove soon to be removed DisplayName set 2017-05-15 13:52:39 -07:00
Nate McMaster cc4183c7ed Upgrade test framework versions and fix test issues 2017-05-15 12:19:17 -07:00
Javier Calvarro Nelson 4083f3d597 React to changes in cryptography APIs 2017-05-12 14:04:14 -07:00