Commit Graph

80 Commits

Author SHA1 Message Date
Brice Lambson 38e6846205 React to renames in resources 2014-06-19 18:34:00 -07:00
Brice Lambson 5334a0d8a9 Rename to Microsoft.Framework.Identity.* and bump version to 3.0.0-* 2014-06-19 17:29:27 -07:00
Hao Kung a3991400bc Switch to Crypto from DataProtection 2014-06-12 13:33:19 -07:00
Stephen Halter af66fe1611 Inject all dependencies directly into RoleManager and UserManager
- All dependencies for RoleManager and UserManager should be required
- The old calls to GetService inside the constructors will throw instead of
  returning null if left in after PR aspnet/DependencyInjection#87 is merged
2014-06-11 11:23:49 -07:00
Hao Kung 8001ba8401 Fix sign in regression
Added missing SupportUserTwoFactor guard in SignInManager
2014-06-04 13:08:06 -07:00
Hao Kung 9053ec56a4 Move SignIn Manger to core
Also cleans up CTP1 interface/tests
2014-06-04 10:35:07 -07:00
Brice Lambson 0235d1aa57 React to aspnet/EntityFramework#264 2014-05-28 14:36:51 -07:00
Hao Kung afc361b012 Use OptionModel.Options
Remove IdentityOptionsSetup and related config functionality
2014-05-28 12:16:22 -07:00
Hao Kung c8e8d2dcd4 Change database to unblock tests 2014-05-28 11:51:15 -07:00
ajcvickers af6da760c2 Replacing use of ImmutableDbContextOptions with just DbContextOptions 2014-05-27 11:52:53 -07:00
David Fowler 4da8ae6d03 Fixed project.json casing 2014-05-26 02:49:57 -07:00
Pranav K 8990ec612e Updating kproj file to match tooling changes 2014-05-18 20:13:55 -07:00
Hao Kung ffc9822746 Rename extensions
AddEntity -> AddEntityFramework
AddSecurity -> AddHttpSignIn
2014-05-16 11:13:56 -07:00
Hao Kung 7bf68e0e58 Add AddIdentityEntityFramework 2014-05-15 18:46:56 -07:00
Hao Kung 2d1c1c177d Move builder extensions to IdentityBuilder
Also correctly take TContext instead of looking for DbContext as a
service
2014-05-15 16:06:13 -07:00
Hao Kung 6432655d26 Add builder extensions to service collection 2014-05-15 13:46:15 -07:00
Andrew Peters 9d9489074e Updating copyright headers 2014-05-08 23:01:13 -07:00
Wei Wang 990481e48e Merge branch 'sort-dependencies' into dev 2014-05-07 17:44:02 -07:00
Hao Kung ace88b21be Add support for UserClaims 2014-05-07 17:29:06 -07:00
Wei Wang c2700b495d Sort dependencies and remove duplicates in dependencies 2014-05-07 17:13:31 -07:00
Hao Kung 71750d668b Add support for reading options from config 2014-05-07 15:36:02 -07:00
Hao Kung bfbd8892a1 SignInManager now checks lockout support 2014-05-07 15:02:30 -07:00
Hao Kung 6ca38a31c0 Sql Store 2014-05-07 12:48:56 -07:00
ajcvickers 078ba45477 Updating for SqlServerConnectionString => UseSqlServer change 2014-05-07 10:27:51 -07:00
Hao Kung 2a6a24097c Merge fixes
Conflicts:
	src/Microsoft.AspNet.Identity/IdentityOptionsSetup.cs
	test/Microsoft.AspNet.Identity.Test/IdentityOptionsTest.cs
2014-05-06 14:05:12 -07:00
Hao Kung de2b0a5fbd Fix merge conflicts 2014-05-06 13:58:51 -07:00
Hao Kung 661a3a3c3e Implement Config options 2014-05-06 13:16:22 -07:00
Wei Wang 99e86d2aa1 Fix ordering of usings and dependencies after namespace renaming 2014-05-06 12:39:34 -07:00
Wei Wang ca67e93bc7 Fix dependency issues 2014-05-06 11:22:59 -07:00
David Fowler 0c8cbdab31 React to renames + cleanup 2014-05-06 03:37:06 -07:00
Wei Wang 73f1c6ac46 Update dependency namespace 2014-05-05 20:24:37 -07:00
Pranav K c44d56a182 * Fixing unit test broken by HttpAbstractions rename
* Adding stuff that kproj auto-added
2014-05-05 18:14:47 -07:00
Brice Lambson b5039012bf Correctly react to EF package renames 2014-05-05 16:03:16 -07:00
Hao Kung ab84228c37 Implement Config options 2014-05-05 15:39:34 -07:00
Brice Lambson 6ae622609e React to EF package renames
This is part of aspnet/Data#132
2014-05-05 14:25:44 -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
anpete b53a5e4b75 Update file headers 2014-05-01 17:39:44 -07:00
ajcvickers ab1af578dd Updating EntitySet/EntityContext to DbSet/DbContext 2014-04-24 17:25:33 -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