Commit Graph

202 Commits

Author SHA1 Message Date
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
ajcvickers 0bbd7c8b48 Reacting to EF naming change 2014-10-28 18:51:30 -07: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
Hao Kung 78b66382f9 Fix samples typo 2014-10-22 13:33:26 -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
Pranav K 490e0fa290 Updating build.sh to work on Mono 2014-10-21 12:44:06 -07:00
Chris Ross be8b3b1bbf Update Claims dependency. 2014-10-17 10:19:01 -07:00
Pranav K 4033ea95c6 Fixing compilation issue with EntiryFramework 2014-10-17 07:30:29 -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 0df5dfd36b React to DI change for GetService 2014-10-16 15:33:59 -07:00
Hao Kung 06c64826ee Delete renamed file 2014-10-16 15:15:06 -07:00
Hao Kung 3a9036a69f Rationalize IdentityDbContext ctors
Also clean up unit tests
2014-10-16 15:14:46 -07:00
Hao Kung 92267b4c25 Fix typo in samples 2014-10-16 13:12:38 -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 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 ffa226dfa9 React to options / DI / startup changes 2014-10-08 13:11:49 -07:00
David Fowler 665780b18f Fixed failing tests by adding an ILoggerFactory 2014-10-07 01:16:11 -07:00
David Fowler 20d096d865 Fixup references 2014-10-05 11:17:22 -07:00
David Fowler 993827ee65 React to EF changes and fixed sample 2014-10-05 02:55:14 -07:00
Hao Kung 545ca2907f Bye Bye Primary Ctors :( 2014-09-29 11:35:49 -07:00
Hao Kung bd7ae6d8c0 Move extension method to IServiceCollection 2014-09-26 11:07:39 -07:00
David Fowler 57cf391581 React to EF changes
- Id properties are automatically identity columns
- Disable identity generation for the CustomPocoTest since they
were setting the id manually
- Refactored the CustomDbContext so the the TValue is TKey instead
2014-09-26 01:27:29 -07:00
Hao Kung 08c6522bf4 Reenable external signout
resolved issued with middleware ordering in AddIdentity
2014-09-25 15:57:22 -07:00
Hao Kung c5d3d32445 Remove UseUserNameAsEmail feature 2014-09-25 15:29:14 -07:00
Hao Kung 76a6c103ce Disable corresponding external signout asserts 2014-09-25 15:23:10 -07:00
Hao Kung 2cb14932f7 Disable sign out external cookie temporarily
Potential SignOut bug is preventing this from working correctly for now
2014-09-25 15:15:07 -07:00
Hao Kung 3c277090de Use ApplicationCookie options in more places
- Remove ClaimsIdentity.AuthenticationType now that
ApplicationCookie.AuthenticationType is available
- Also set Expires on a cookies that need them
2014-09-25 14:57:50 -07:00
Hao Kung 57002ba359 Replace AlphaNumericUserName with Regex option 2014-09-24 15:41:19 -07:00
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
Pranav K 5a2de1aaac Updating dev NuGet.config 2014-09-17 09:58:15 -07:00
Pranav K 51306b53b5 Updating release NuGet.config 2014-09-17 09:58:13 -07:00
Pranav K 06997363e8 Reacting to System.Text.Encoding package version change 2014-09-11 10:06:49 -07:00
Chris Ross 3f76dcc166 Handle the IBuilder rename to IApplicationBuilder. 2014-09-10 12:37:39 -07:00
Hao Kung 19d6805c7c Standardize sql db names for tests 2014-09-09 15:26:29 -07:00
Hao Kung 00261c1984 Drop database at start and end of sql tests 2014-09-09 14:31:11 -07:00
Hao Kung de6b7a0a26 Drop test sql databases at the end of each test run 2014-09-09 13:49:15 -07:00
ajcvickers 666a2d3e69 And again... 2014-09-05 14:35:24 -07:00
ajcvickers 610c5531a3 React to EF API change 2014-09-05 14:29:29 -07:00