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
Hao Kung
ffa226dfa9
React to options / DI / startup changes
2014-10-08 13:11:49 -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
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
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
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
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
David Fowler
9d26c40144
Updated to use the new target framework in project.json
2014-09-04 02:10:19 -07:00
David Fowler
0705d3a5ae
Updated to use the new target framework in project.json
2014-08-28 23:34:02 -07:00
Hao Kung
952bc6af88
Rename Identity.EF -> Identity.SqlServer
2014-08-25 11:15:52 -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
Hao Kung
097925a3e4
UseUserNameAsEmail support
...
When set:
- FindByEmail will use UserName
- SetEmail will set the user name and email
- GetEmail will return user name
- This setting does not impact the Get/Set/FindUserName apis
2014-08-07 16:37:26 -07:00
Hao Kung
7d4aed4e3b
Clean up sign in manager
...
- Add SignInOptions
- Also fix SecurityStampValidator issue resolving against wrong service
collection
2014-08-07 16:29:56 -07:00
Chris Ross
48ae50ab67
Fix SignIn params order.
2014-08-07 15:37:43 -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
Hao Kung
7942d2bc82
Pass user to IPasswordHasher
2014-07-25 11:57:13 -07:00
ajcvickers
7f2ae65e3d
Reacting to ModelBuilder API change
2014-07-24 14:32:22 -07:00
Hao Kung
07f72c2fb9
Rename Add[HttpSignIn] -> AddAuthentication
...
Also DefaultAuthenticationTypes.ApplicationCookie ->
ClaimsIdentityOptions.DefaultAuthenticationType
2014-07-23 12:28:19 -07:00
Hao Kung
076ea0385f
Add Email and Phone TOTP providers
...
Now that HMACSHA1 is available on K
2014-07-23 11:57:14 -07:00
Hao Kung
661464004b
Remove old files
2014-07-21 10:44:10 -07:00
Hao Kung
fc53503d1d
Add SecurityStampValidator
2014-07-21 10:42:04 -07:00
Hao Kung
e74496c079
Remove workaround try/catch for authenticate bug
2014-07-17 15:07:34 -07:00
Hao Kung
bbb848ae1d
Add identity sample
2014-07-16 12:44:23 -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
Pranav K
e40565e91f
Reacting to System.Collections versioning change
2014-07-14 15:53:02 -07:00
David Fowler
e91b299ce1
Renamed configurations to frameworks in project.json
2014-07-13 21:54:32 -07:00
Hao Kung
ba5ca5602e
Cleanup style cop violations
2014-06-24 14:58:18 -07:00
Hao Kung
9940cb3cb2
Reenable unit test in its proper home
2014-06-23 15:31:45 -07:00
Hao Kung
a45d4fd338
Fix bad merges
2014-06-23 15:11:07 -07:00
Hao Kung
84e140e63c
Delete old files
2014-06-23 14:55:17 -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
Brice Lambson
f0271851c3
Add missing renames
2014-06-20 09:37:47 -07:00
Brice Lambson
73640e0216
Rename to Microsoft.AspNet.Identity.*
2014-06-20 09:15:04 -07:00
Brice Lambson
38e6846205
React to renames in resources
2014-06-19 18:34:00 -07:00
Brice Lambson
5334a0d8a9
Rename to Microsoft.Framework.Identity.* and bump version to 3.0.0-*
2014-06-19 17:29:27 -07:00
Hao Kung
a3991400bc
Switch to Crypto from DataProtection
2014-06-12 13:33:19 -07:00
Stephen Halter
af66fe1611
Inject all dependencies directly into RoleManager and UserManager
...
- All dependencies for RoleManager and UserManager should be required
- The old calls to GetService inside the constructors will throw instead of
returning null if left in after PR aspnet/DependencyInjection#87 is merged
2014-06-11 11:23:49 -07:00
Hao Kung
8001ba8401
Fix sign in regression
...
Added missing SupportUserTwoFactor guard in SignInManager
2014-06-04 13:08:06 -07:00
Hao Kung
9053ec56a4
Move SignIn Manger to core
...
Also cleans up CTP1 interface/tests
2014-06-04 10:35:07 -07:00
Brice Lambson
0235d1aa57
React to aspnet/EntityFramework#264
2014-05-28 14:36:51 -07:00
Hao Kung
afc361b012
Use OptionModel.Options
...
Remove IdentityOptionsSetup and related config functionality
2014-05-28 12:16:22 -07:00
Hao Kung
c8e8d2dcd4
Change database to unblock tests
2014-05-28 11:51:15 -07:00
ajcvickers
af6da760c2
Replacing use of ImmutableDbContextOptions with just DbContextOptions
2014-05-27 11:52:53 -07:00
David Fowler
4da8ae6d03
Fixed project.json casing
2014-05-26 02:49:57 -07:00
Pranav K
8990ec612e
Updating kproj file to match tooling changes
2014-05-18 20:13:55 -07:00
Hao Kung
ffc9822746
Rename extensions
...
AddEntity -> AddEntityFramework
AddSecurity -> AddHttpSignIn
2014-05-16 11:13:56 -07:00
Hao Kung
7bf68e0e58
Add AddIdentityEntityFramework
2014-05-15 18:46:56 -07:00
Hao Kung
2d1c1c177d
Move builder extensions to IdentityBuilder
...
Also correctly take TContext instead of looking for DbContext as a
service
2014-05-15 16:06:13 -07:00
Hao Kung
6432655d26
Add builder extensions to service collection
2014-05-15 13:46:15 -07:00
Andrew Peters
9d9489074e
Updating copyright headers
2014-05-08 23:01:13 -07:00
Wei Wang
990481e48e
Merge branch 'sort-dependencies' into dev
2014-05-07 17:44:02 -07:00