Commit Graph

11 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
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
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
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
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 9053ec56a4 Move SignIn Manger to core
Also cleans up CTP1 interface/tests
2014-06-04 10:35:07 -07:00
Hao Kung afc361b012 Use OptionModel.Options
Remove IdentityOptionsSetup and related config functionality
2014-05-28 12:16:22 -07:00
Andrew Peters 9d9489074e Updating copyright headers 2014-05-08 23:01:13 -07:00
Wei Wang ca67e93bc7 Fix dependency issues 2014-05-06 11:22:59 -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