Commit Graph

113 Commits

Author SHA1 Message Date
Hao Kung 3f4f846cbb Add social auth and two factor
- Merge Authentication into Core
- Add social login support
- Add two factor support
- Rework options model for startup
2014-09-24 15:05:51 -07:00
Chris Ross 3f76dcc166 Handle the IBuilder rename to IApplicationBuilder. 2014-09-10 12:37:39 -07:00
Hao Kung 19d6805c7c Standardize sql db names for tests 2014-09-09 15:26:29 -07:00
Hao Kung 00261c1984 Drop database at start and end of sql tests 2014-09-09 14:31:11 -07:00
Hao Kung de6b7a0a26 Drop test sql databases at the end of each test run 2014-09-09 13:49:15 -07:00
David Fowler 9d26c40144 Updated to use the new target framework in project.json 2014-09-04 02:10:19 -07:00
David Fowler 0705d3a5ae Updated to use the new target framework in project.json 2014-08-28 23:34:02 -07:00
Hao Kung 952bc6af88 Rename Identity.EF -> Identity.SqlServer 2014-08-25 11:15:52 -07:00
ajcvickers ef1b28eb71 Reacting to ForeignKey API change. 2014-08-19 15:50:14 -07:00
Hao Kung db4e26d161 Fix localdb connection string for UserStoreTest 2014-08-18 11:55:53 -07:00
Hao Kung c80ec3f326 IUserLogin API changes
- Add ProviderDisplayName
- AddLogin continues to take UserLoginInfo
- Remove/Find now only take loginProvider/providerKey
- Refactor unit tests to share a base class
2014-08-18 11:42:26 -07:00
ajcvickers 6db51e74fb Reacting to ConventionModelBuilder name change 2014-08-15 11:37:10 -07:00
ajcvickers 23fb9de162 Change ModelBuilder to ConventionModelBuilder 2014-08-15 08:43:52 -07:00
David Fowler 06ea33ad4f Removed source files from the project 2014-08-15 08:16:09 -07:00
Hao Kung bfa8cf0586 Add missing merge conflict file 2014-08-08 12:01:02 -07:00
Hao Kung 2a45a851a5 Change IUserClaimStore to take IEnumerable<Claims>
https://github.com/aspnet/Identity/issues/163
2014-08-08 11:55:55 -07:00
Hao Kung 097925a3e4 UseUserNameAsEmail support
When set:
- FindByEmail will use UserName
- SetEmail will set the user name and email
- GetEmail will return user name
- This setting does not impact the Get/Set/FindUserName apis
2014-08-07 16:37:26 -07:00
Hao Kung 7d4aed4e3b Clean up sign in manager
- Add SignInOptions
- Also fix SecurityStampValidator issue resolving against wrong service
collection
2014-08-07 16:29:56 -07:00
Chris Ross 48ae50ab67 Fix SignIn params order. 2014-08-07 15:37:43 -07:00
ajcvickers 0ae9406e5c Updating to reflect EF fluent API chaining change. 2014-08-04 13:27:30 -07:00
Hao Kung 626362d8a2 Add NormalizedUserName / IUserNameNormalizer
+ Use normalized username for FindByUserName
2014-07-29 13:45:16 -07:00
Hao Kung 7942d2bc82 Pass user to IPasswordHasher 2014-07-25 11:57:13 -07:00
ajcvickers fec7e55cbf Fix typo 2014-07-24 14:19:39 -07:00
ajcvickers 50a32f0cb8 Reacting to ModelBuilder API change 2014-07-24 14:15:02 -07:00
Hao Kung 07f72c2fb9 Rename Add[HttpSignIn] -> AddAuthentication
Also DefaultAuthenticationTypes.ApplicationCookie ->
ClaimsIdentityOptions.DefaultAuthenticationType
2014-07-23 12:28:19 -07:00
Hao Kung 076ea0385f Add Email and Phone TOTP providers
Now that HMACSHA1 is available on K
2014-07-23 11:57:14 -07:00
Hao Kung 661464004b Remove old files 2014-07-21 10:44:10 -07:00
Hao Kung fc53503d1d Add SecurityStampValidator 2014-07-21 10:42:04 -07:00
Hao Kung 54400baed3 Delete old files 2014-07-16 11:59:03 -07:00
Hao Kung 214db69b0a Identity EF Cleanup
Rename extension method to AddIdentitySqlServer
Switch to using IdentityUser for EF
Add generic support for primary key
2014-07-16 11:53:11 -07:00
David Fowler e91b299ce1 Renamed configurations to frameworks in project.json 2014-07-13 21:54:32 -07:00
Hao Kung ba5ca5602e Cleanup style cop violations 2014-06-24 14:58:18 -07:00
Hao Kung 9940cb3cb2 Reenable unit test in its proper home 2014-06-23 15:31:45 -07:00
Hao Kung a45d4fd338 Fix bad merges 2014-06-23 15:11:07 -07:00
Hao Kung 84e140e63c Delete old files 2014-06-23 14:55:17 -07:00
Hao Kung bc4c53f086 Sql implementation + moving in memory stores to test
- Identity.Entity now means only Sql Server EF Identity implementation
- Identity.Entity.InMemory moved to a test project
(Identity.Entity.InMemory.Test)
- Identity.InMemory which was the identity in memory implementation also
moved to a test project (Identity.InMemory.Test)
- IClaimsFactory was promoted to a top level service and now adds any
claims found in a Role that a user belongs to.
- EF implementation now supports logins, claims, roles, two factor,
lockouts
- Initial pass at style cop (mostly line endings since resharper no
worky :()
2014-06-23 14:53:06 -07:00
Brice Lambson f0271851c3 Add missing renames 2014-06-20 09:37:47 -07:00
Brice Lambson 73640e0216 Rename to Microsoft.AspNet.Identity.* 2014-06-20 09:15:04 -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
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
ajcvickers bbfb1f2e60 Disabling four tests to unblock the build. Filed issue #107. 2014-06-06 14:54:28 -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
Hao Kung e7a7a71d39 Fix tests 2014-05-28 16:44:30 -07:00
Brice Lambson 0235d1aa57 React to aspnet/EntityFramework#264 2014-05-28 14:36:51 -07:00
Hao Kung 7e4c168f71 Fix tests 2014-05-28 12:37:49 -07:00
Hao Kung afc361b012 Use OptionModel.Options
Remove IdentityOptionsSetup and related config functionality
2014-05-28 12:16:22 -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