Commit Graph

58 Commits

Author SHA1 Message Date
Hao Kung ab84228c37 Implement Config options 2014-05-05 15:39:34 -07:00
ajcvickers b623f725ba Changes to reflect API renaming in EF. 2014-05-05 13:39:06 -07:00
Hao Kung 31f76b8d58 Initial DI changes from app building
Incorporate feedback and make identity DI friendly everywhere
Also start using the new OptionsSetup
2014-05-02 17:09:24 -07:00
Louis DeJardin 8e5ac31889 Updating build scripts 2014-05-02 15:07:36 -07:00
Louis DeJardin 2fb324a7b9 Updating build scripts 2014-05-02 14:45:21 -07:00
David Fowler 788179b730 Disable k10 tests 2014-05-01 22:06:04 -07:00
anpete b53a5e4b75 Update file headers 2014-05-01 17:39:44 -07:00
Hao Kung 833168867d Update relinq package 2014-05-01 09:27:15 -07:00
ajcvickers ab1af578dd Updating EntitySet/EntityContext to DbSet/DbContext 2014-04-24 17:25:33 -07:00
ajcvickers 9704cbc5ab Comment out test as temp fix for build break. 2014-04-24 13:54:18 -07:00
ajcvickers 1c3b2ccc31 IDDI again... (Remove call to WithServices)
Per latest changes to EF DI/config.
2014-04-23 13:51:15 -07:00
Hao Kung d827b9fff2 More DI-ify identity
Follow K patterns for DI
- IdentityBuilder
- IServiceProvider constructor
- Unit tests for Startup usage/new DI builder
- Move template default configuration into DefaultServices
2014-04-22 13:31:23 -07:00
ajcvickers 389678042f ID DI (Update Identity to use EF DI/config)
Constructors that take IServiceProvider so it can be injected and also kept the parameterless constructor which will create its own DI container as before--not sure if this is desirable for Identity or not, but can be changed later.
2014-04-18 14:55:55 -07:00
Hao Kung da7140b9d0 Port Identity 2.1 API changes
Add AddToRoles and RemoveFromRoles
2014-04-17 15:46:06 -07:00
Hao Kung 4a3ad0870c Port GetUserId/UserName IIdentity extensions 2014-04-17 12:52:17 -07:00
Hao Kung 43b780c8ac Fix typo in resources.designer.cs
https://github.com/aspnet/Identity/issues/37
2014-04-17 12:20:19 -07:00
Hao Kung b079480383 Add SignOut to SignInManager 2014-04-15 11:21:22 -07:00
Hao Kung 538e8dabea Move POCO to Core
- Move POCO types to core
- Keep Entity pocos initially (will try to remove soon)
- Reenable Entity unit tests now that blocking data bugs have been fixed
2014-04-11 15:00:49 -07:00
David Fowler 1998b65c52 Updated to use the new tooling 2014-04-08 13:01:23 -07:00
Hao Kung e8d7cf4219 Asyncify and Userify
Add Async suffix to async methods
Take TUser instead of userId for Usermanager apis
2014-04-04 13:42:22 -07:00
Hao Kung 6807da690a Remove IUser/IRole and TKey from Managers 2014-04-03 17:17:50 -07:00
Hao Kung 041db7cb69 Initial Identity.Entity implementation
- Most child entities related apis not working/implemented
- Unit tests disabled in kbuild for now

Code review fix
2014-04-03 16:07:46 -07:00
Hao Kung 8549d83b7c Identity.Security not enough to prevent infection
- Viral cancellationToken API infection everywhere
- Add Identity.Security SignInManager which depends on Abstractions
2014-04-02 12:25:52 -07:00
Pranav K 0dcb918084 Updating remaining package versions to match CoreCLR 2014-03-27 18:34:04 -07:00
Pranav K 264fa5204b Update version of System.Text.Encoding to match CoreCLR 2014-03-27 15:25:40 -07:00
Hao Kung c4d32ef1d6 Remove ConfigureAwait(false) everywhere 2014-03-20 09:42:52 -07:00
Hao Kung 5e36691909 Port ClaimsIdentityFactory and more tests 2014-03-19 15:08:43 -07:00
Hao Kung 7adb28a460 Cleanup + more unit tests (Core @ 81%) 2014-03-18 11:26:02 -07:00
Hao Kung f77614c97f Unit test work (Core @ 78%)
Starting using Microsoft.AspNet.Testing
Add/Port a bunch more unit tests
2014-03-17 16:03:54 -07:00
David Fowler 389815482e Updated test to use new ServiceCollection 2014-03-14 23:57:41 -07:00
Hao Kung 4c1f4e26ff Fix typos 2014-03-13 10:42:16 -07:00
Hao Kung 113bab1a1d Port ConfirmEmail, IQueryableUserStore tests
Also add missing IQueryableUserStore to InMemory
2014-03-12 13:43:28 -07:00
Hao Kung c914772696 Code review feedback
Rename UnitTestHelper to IdentityResultAssert
Rename some classes
Use Theory for Password Validator uber mixed test
2014-03-12 13:14:46 -07:00
Hao Kung 8fde3dfb62 Delete junk file that got added 2014-03-12 12:14:30 -07:00
Hao Kung 33715664e2 Port more tests (InMemory @ 92%, Core @ 60%) 2014-03-12 12:13:29 -07:00
Hao Kung bf649a00e1 Reenable some unit tests 2014-03-11 15:05:37 -07:00
Pranav K 8f401ab9ea Updating MyGet feed to unblock build 2014-03-11 11:35:51 -07:00
Brice Lambson 62bf06bd59 React to xunit changes 2014-03-10 16:22:49 -07:00
Hao Kung 9fbbe0bcc2 Cleanup unneeded diffs in project.json 2014-03-10 15:08:51 -07:00
Hao Kung 7d2855cecb Cleanup required packages for K 2014-03-10 15:05:50 -07:00
Hao Kung e40777cc6b Switch to KRunner add initial DI unit test 2014-03-10 15:00:38 -07:00
David Fowler ed31f6b019 Added required packages for K 2014-03-08 02:40:21 -08:00
Hao Kung d845ef0b7c Switch to using DataProtection for Crypto 2014-03-07 14:19:38 -08:00
Hao Kung 56c67d5ef0 Fix project json immutable references 2014-03-07 14:19:37 -08:00
Hao Kung 5128a030da Port PasswordsHasher, crypto only in Net45 2014-03-07 14:19:36 -08:00
Hao Kung edb709ce9d Undo workaround in Idenitty now that claims is fixed 2014-03-06 16:23:06 -08:00
Hao Kung 1ad07a38d7 Fix build by adding System.Runtime 45 dependencies 2014-03-06 10:13:29 -08:00
Hao Kung 1553c674a4 Back to using System.Security.Claims namespace 2014-03-04 15:43:43 -08:00
Hao Kung bc756706aa Add empty crypto and fix user validator compilation 2014-03-04 13:02:56 -08:00
Hao Kung b13d26cab6 Flesh out implementation, add InMemoryTests
- Implement RoleManager
- Replace IIdentityValidator with IUser/Role/Password Validator
- Add test project.json and working tests for InMemoryUserStore
2014-03-03 17:25:39 -08:00