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