Commit Graph

15 Commits

Author SHA1 Message Date
Javier Calvarro Nelson f51af820a5 [Fixes #1742, #1722, #1706, #1725, #1688] Fixes multiple issues
* Update test infrastructure to use the latest bits.
* Add tests for different types of users.
* Logout must redirect instead of just rendering
  the page so that the identity in the request gets
  properly updated
* Remove IUserFactory and IdentityUserFactory.
* Added tests to verify that the default UI endpoints are not accessible
  when the default UI is not enabled.
* Update the user name at the same time when the email is updated.
2018-04-13 15:47:23 -07:00
Hao Kung 167a108f4e
Add AddDefaultIdentity (#1698) 2018-03-20 10:10:22 -07:00
Brice Lambson 4f5b3bea98 Remove Microsoft.EntityFrameworkCore.Tools.DotNet 2018-03-19 13:01:16 -07:00
Hao Kung efe0c6be7b
Split Auth into AddIdentityCookies (#1442) 2018-03-13 13:11:29 -07:00
Hao Kung 9ecbefcf21
ProtectPersonalData + extensiblity support (#1562) 2018-03-08 12:13:34 -08:00
Jass Bagga 37b8abf841
Refresh user signin after updating their profile (#1615) 2018-02-05 14:21:19 -08:00
Javier Calvarro Nelson 185482c8cf [Fixes #1572] Improve the extensibility of the default identity UI 2018-01-26 16:08:16 -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 435ab653db
Update initial migration for DefaultUI sample (#1561) 2018-01-10 13:58:03 -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
Javier Calvarro Nelson 07bf52ec0d Fix fixed dependency 2017-12-30 13:43:44 -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