Commit Graph

37 Commits

Author SHA1 Message Date
Suhas Joshi 5d06b0d353 Switched logging from file to inmemory for tests 2015-01-18 17:01:15 -08:00
Chris Ross 08b2b11940 Remove PipelineCore dependency. 2015-01-15 16:14:08 -08:00
Suhas Joshi 6e294035a5 Added logging to code and updated tests 2015-01-15 15:42:48 -08:00
Hao Kung b59440d95f Normalize all lookups with one service 2015-01-12 12:12:53 -08:00
Suhas Joshi 625b270924 Added new apis to query users and fixed EF.Inmemory 2014-12-29 16:09:10 -08:00
Hao Kung f69f46c330 Switch to new xunit 2014-12-15 14:23:04 -08:00
Suhas Joshi f99a29a12c Make Lockoutend date nullable 2014-12-02 16:20:47 -08:00
ajcvickers f24d3a5462 React to EF change in tests 2014-12-02 14:32:28 -08:00
Victor Hurdugaci 2801adb044 Add schema version to kproj files 2014-11-25 10:53:12 -08:00
Hao Kung 66f9803d06 Replace IIdentityMessageService with IUserMessageProvider 2014-11-24 13:41:02 -08:00
Hao Kung 85530742ef Replace AddDefaultIdentity
Break it into
AddIdentity<>.AddEntityFrameworkStores.AddDefaultTokenProviders()
2014-11-21 15:10:35 -08:00
Victor Hurdugaci 53d89bb9b5 Update KProj to the latest format 2014-11-12 15:12:39 -08:00
ajcvickers f593b05cc3 React to EF API removal 2014-11-11 10:09:51 -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 ee6d0cbd6d Fixing build break 2014-10-17 07:16:07 -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
ajcvickers e724e4248c Reacting to provider-specific EF API changes 2014-10-15 17:31:04 -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
ajcvickers ef1b28eb71 Reacting to ForeignKey API change. 2014-08-19 15:50:14 -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 2a45a851a5 Change IUserClaimStore to take IEnumerable<Claims>
https://github.com/aspnet/Identity/issues/163
2014-08-08 11:55:55 -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
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 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 a45d4fd338 Fix bad merges 2014-06-23 15:11:07 -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