Commit Graph

31 Commits

Author SHA1 Message Date
Hao Kung 288cb6c58f Test and misc cleanup 2015-05-05 14:35:10 -07:00
N. Taylor Mullen ab43154577 Update LICENSE.txt and license header on files. 2015-05-01 13:52:26 -07:00
Suhas Joshi 28dc0245bf Moved POCOs to EF and fixed tests 2015-03-24 11:48:26 -07:00
Hao Kung 268af34244 React to hosting changes 2015-03-19 11:11:54 -07:00
Hao Kung 649cb0caed Remove IConfiguration from AddIdentity 2015-03-11 15:41:43 -07:00
Hao Kung d5b29d7e23 React to DI changes 2015-03-04 18:54:25 -08:00
Levi B 0b1858d5c1 React to DataProtection renaming 2015-02-25 16:59:57 -08:00
Hao Kung 06de635149 Add attach tests for disconnected user/role 2015-01-10 02:34:00 -08:00
Hao Kung a8c872aba9 Concurrency support for EF Store
- CRUD operations on IUserStore now return IdentityResult
- Fixes: https://github.com/aspnet/Identity/issues/296,
https://github.com/aspnet/Identity/issues/245
2015-01-07 13:17:36 -08:00
Hao Kung 5d29d11ccb Remove all navigation property usage from EF Store 2014-12-19 13:26:54 -08:00
Hao Kung d4733f9238 React to GetDefaultServices changes 2014-11-24 13:41:14 -08:00
Hao Kung 85530742ef Replace AddDefaultIdentity
Break it into
AddIdentity<>.AddEntityFrameworkStores.AddDefaultTokenProviders()
2014-11-21 15:10:35 -08:00
Hao Kung 9f351a09a2 React to fallback changes 2014-11-20 17:42:14 -08:00
Suhas Joshi 0e9fa31da5 Register DataProtection Services in tests 2014-11-18 15:49:34 -08:00
Suhas Joshi 191bf8815c Updating connection strings to use lcatest localdb 2014-11-13 15:49:45 -08:00
tugberkugurlu d7f711bca1 added replace claim functionality. fixes #232
- added ReplaceClaimAsync method to IUserClaimStore interface
 - implemented ReplaceClaimAsync method from IUserClaimStore inside the
   Microsoft.AspNet.Identity.EntityFramework.UserStore<TUser, TRole,
   TContext, TKey>
 - added ReplaceClaimAsync method to UserManager
 - added UserManager tests for ReplaceClaimAsync method.
 - added some UserStore tests for ReplaceClaimAsync implementation of
   IUserClaimStore
2014-11-04 12:02:17 -08:00
Hao Kung cb3948b86f Use DataProtectionTokenProvider from DI
Fixes https://github.com/aspnet/Identity/issues/224
2014-10-27 12:51:45 -07:00
Pranav K 4033ea95c6 Fixing compilation issue with EntiryFramework 2014-10-17 07:30:29 -07:00
Stephen Halter e720edf4bd Change GetService calls to GetRequiredService
GetRequiredService throws for missing services like GetService used to.
2014-10-16 16:07:53 -07:00
Hao Kung 3a9036a69f Rationalize IdentityDbContext ctors
Also clean up unit tests
2014-10-16 15:14:46 -07:00
Hao Kung 3abe532761 React to options and hosting changes 2014-10-14 19:19:44 -07:00
Hao Kung dd58aeedb1 React to UsePerRequestServices rename 2014-10-08 15:51:35 -07:00
Hao Kung a4ce31c30d Rename Identity.SqlServer back to EntityFramework 2014-10-08 13:36:38 -07:00
Hao Kung 952bc6af88 Rename Identity.EF -> Identity.SqlServer 2014-08-25 11:15:52 -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
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 7942d2bc82 Pass user to IPasswordHasher 2014-07-25 11:57:13 -07:00
Hao Kung 07f72c2fb9 Rename Add[HttpSignIn] -> AddAuthentication
Also DefaultAuthenticationTypes.ApplicationCookie ->
ClaimsIdentityOptions.DefaultAuthenticationType
2014-07-23 12:28:19 -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