Hao Kung
288cb6c58f
Test and misc cleanup
2015-05-05 14:35:10 -07:00
N. Taylor Mullen
ab43154577
Update LICENSE.txt and license header on files.
2015-05-01 13:52:26 -07:00
Suhas Joshi
791173fda8
Update security stamp when setting username
2015-04-22 17:46:44 -07:00
Suhas Joshi
bab1c3909c
Enable tests
2015-03-27 16:30:54 -07:00
Suhas Joshi
28dc0245bf
Moved POCOs to EF and fixed tests
2015-03-24 11:48:26 -07:00
Suhas Joshi
6143af8149
Added deferred logging with scopes
2015-03-20 12:21:26 -07:00
Hao Kung
268af34244
React to hosting changes
2015-03-19 11:11:54 -07:00
N. Taylor Mullen
1ed37d741a
Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
2015-03-08 12:51:04 -07:00
Hao Kung
c2e96fa570
Remove identity message apis
...
Fixes https://github.com/aspnet/Identity/issues/359
2015-03-05 13:32:35 -08:00
Hao Kung
d5b29d7e23
React to DI changes
2015-03-04 18:54:25 -08:00
Pranav K
15be6edf6a
Temporarily skipping failing tests
2015-02-12 18:37:59 -08:00
Hao Kung
597e2b3153
Remove CancellationToken from Manager APIs
2015-02-10 15:39:42 -08:00
Suhas Joshi
5d06b0d353
Switched logging from file to inmemory for tests
2015-01-18 17:01:15 -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
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
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
Hao Kung
d4733f9238
React to GetDefaultServices changes
2014-11-24 13:41:14 -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
0e9fa31da5
Register DataProtection Services in tests
2014-11-18 15:49: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
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
Levi B
0a91227a4d
Update Identity to account for DataProtection changes.
2014-10-10 12:05:00 -07:00
Hao Kung
c5d3d32445
Remove UseUserNameAsEmail feature
2014-09-25 15:29:14 -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
David Fowler
9d26c40144
Updated to use the new target framework in project.json
2014-09-04 02:10:19 -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
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
Hao Kung
9053ec56a4
Move SignIn Manger to core
...
Also cleans up CTP1 interface/tests
2014-06-04 10:35:07 -07:00
Hao Kung
afc361b012
Use OptionModel.Options
...
Remove IdentityOptionsSetup and related config functionality
2014-05-28 12:16:22 -07:00
Andrew Peters
9d9489074e
Updating copyright headers
2014-05-08 23:01:13 -07:00
Wei Wang
99e86d2aa1
Fix ordering of usings and dependencies after namespace renaming
2014-05-06 12:39:34 -07:00
Wei Wang
ca67e93bc7
Fix dependency issues
2014-05-06 11:22:59 -07:00
Hao Kung
31f76b8d58
Initial DI changes from app building
...
Incorporate feedback and make identity DI friendly everywhere
Also start using the new OptionsSetup
2014-05-02 17:09:24 -07:00