Commit Graph

178 Commits

Author SHA1 Message Date
AndriySvyryd dd4ad28e1b Reacting to EF changes 2015-01-16 13:12:50 -08:00
Suhas Joshi 7977cf6a46 Making file lock static 2015-01-15 16:50:20 -08:00
Suhas Joshi 6e294035a5 Added logging to code and updated tests 2015-01-15 15:42:48 -08:00
Hao Kung 69ac9abcc5 Rehash passwords when needed
Fixes https://github.com/aspnet/Identity/issues/17
2015-01-12 12:47:08 -08:00
Hao Kung 4eff17c9b2 Cleanup DataProtectionTokenProvider 2015-01-12 12:34:16 -08:00
Hao Kung b59440d95f Normalize all lookups with one service 2015-01-12 12:12:53 -08:00
Barry Dorrans 53b994da19 XMLDoc updates. Seperation of classes. 2015-01-08 11:09:08 -08:00
Hao Kung 0e7755ab79 Remove navigation properties
InMemory test was the only one left using them, moved to a specific user
subclass which had them for that test project
2015-01-07 13:26:47 -08:00
Hao Kung c558fe8d20 Remove DefaultSecurityClaimType constant
Fixes https://github.com/aspnet/Identity/issues/316
2015-01-07 13:24:18 -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
Barry Dorrans e76d1c2809 XMLDoc updates. 2015-01-07 12:28:35 -08:00
Barry Dorrans cf68fac658 XML Doc Update (one by one for ease of eventual merging) 2015-01-06 15:40:24 -08:00
Barry Dorrans 309fce19d7 XML Doc Update (one by one for ease of eventual merging) 2015-01-06 15:40:08 -08:00
Hao Kung fd6eb9af67 Fix issue with Remove/Replace claims
Fixes #304
2015-01-02 11:57:01 -08:00
Hao Kung c9d27e27e6 Introduce SignInResult/IdentityError/Describer
Follows Resource pattern (IdentityErrorDescriber.StringName, or
FormatStringName(arg1, arg2)
Also cleaned up optional services, by allowing null in constructor
SignInStatus -> SignInFailure and introduced SignInResult to make
SignInManager APIs consistent with IdentityResult (but no strings needed
for SignIn)
Fixes: #86, #176, #287 and #177
2014-12-30 14:51:52 -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 5d29d11ccb Remove all navigation property usage from EF Store 2014-12-19 13:26:54 -08:00
Suhas Joshi ac86d94eb6 Added new methods on IdentityBuilder 2014-12-17 15:54:17 -08:00
Hao Kung 33d8645187 Add ChangeEmail APIs 2014-12-04 13:25:18 -08:00
Hao Kung 5658af6b61 Allow multiple validators
Role/Password/User validators are now IEnumerable instead of a single
instance
2014-12-04 13:06:41 -08:00
Suhas Joshi f99a29a12c Make Lockoutend date nullable 2014-12-02 16:20:47 -08:00
ajcvickers 4030d77b31 React to EF API changes 2014-12-02 14:26:09 -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
Suhas Joshi 42c809ca16 Updated to use EF Async methods 2014-11-14 11:47:51 -08:00
Victor Hurdugaci 53d89bb9b5 Update KProj to the latest format 2014-11-12 15:12:39 -08:00
Hao Kung 5c10f9e96b SignOut all identity cookies except for RememberMe
Fixes https://github.com/aspnet/Identity/issues/211
2014-11-12 12:38:34 -08:00
Hao Kung 91eac9f74e Remove old V1 method: FindByUsernamePassword
Replaced with FindUser/CheckPassword

Fixes https://github.com/aspnet/Identity/issues/223
2014-11-12 12:22:50 -08:00
Levi B bf8728bec9 Allow the application developer to specify the iteration count for membership passwords. 2014-11-05 12:08:20 -08:00
Hao Kung 8672bd7797 Rename parameter of IUserStore.SetNormalizedUserNameAsync method
Fixes https://github.com/aspnet/Identity/issues/244
2014-11-04 12:17:27 -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 556c15273e Add SignInManager CanSignIn
new hook which can be used to block sign in
Fixes https://github.com/aspnet/Identity/issues/129
2014-10-27 15:46:48 -07:00
Hao Kung 2c9f43a160 Enable and fix Async/Cancellation tests 2014-10-27 12:58:46 -07:00
Hao Kung cb3948b86f Use DataProtectionTokenProvider from DI
Fixes https://github.com/aspnet/Identity/issues/224
2014-10-27 12:51:45 -07:00
Levi B 37d4e2b6ff Use stronger password hashing algorithms by default.
New defaults:
Alg: PBKDF2
PRF: HMAC-SHA256
Iter count: 10,000
Salt size: 128 bits
Subkey size: 256 bits
2014-10-22 12:19:46 -07:00
Pranav K d56f6cbf8c Merge branch 'release' into dev 2014-10-21 18:15:51 -07:00
Pranav K 9bd1e8f0a9 Adding type constraint on IdentityBuilder.AddService 2014-10-21 18:08:24 -07:00
Pranav K a091c191bb React to DI changes 2014-10-21 17:37:35 -07:00
Hao Kung 23b4307f34 Add PasswordSignIn overload that takes TUser instead of username 2014-10-21 15:22:40 -07:00
Chris Ross be8b3b1bbf Update Claims dependency. 2014-10-17 10:19:01 -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 0df5dfd36b React to DI change for GetService 2014-10-16 15:33:59 -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 3abe532761 React to options and hosting changes 2014-10-14 19:19:44 -07:00
Pranav K 9255f200b0 Updating System.Text.RegularExpressions version 2014-10-10 13:59:32 -07:00
Levi B 0a91227a4d Update Identity to account for DataProtection changes. 2014-10-10 12:05:00 -07:00
Pranav K 121d0b1acf Reacting to CLR package versioning changes 2014-10-10 10:32:54 -07:00
Hao Kung a4ce31c30d Rename Identity.SqlServer back to EntityFramework 2014-10-08 13:36:38 -07:00