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
Hao Kung
3e94336390
Remove hosting and logging dependencies
2015-04-21 17:02:16 -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
Suhas Joshi
c260beab52
If condition to NOP
2015-03-13 15:22:34 -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
Hao Kung
cd0acd7a47
API Review cleanup #1
...
- Remove constructor defaults
- Make service properties internal
- Add Logging/HttpContextAccessor services which are required by
identity
2015-02-12 02:21:33 -08:00
Hao Kung
597e2b3153
Remove CancellationToken from Manager APIs
2015-02-10 15:39:42 -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
b59440d95f
Normalize all lookups with one service
2015-01-12 12:12:53 -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
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
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
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
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
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
3abe532761
React to options and hosting changes
2014-10-14 19:19:44 -07:00
Hao Kung
c5d3d32445
Remove UseUserNameAsEmail feature
2014-09-25 15:29:14 -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
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
bfa8cf0586
Add missing merge conflict file
2014-08-08 12:01:02 -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
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
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
73640e0216
Rename to Microsoft.AspNet.Identity.*
2014-06-20 09:15:04 -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
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
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
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
anpete
b53a5e4b75
Update file headers
2014-05-01 17:39:44 -07:00
Hao Kung
d827b9fff2
More DI-ify identity
...
Follow K patterns for DI
- IdentityBuilder
- IServiceProvider constructor
- Unit tests for Startup usage/new DI builder
- Move template default configuration into DefaultServices
2014-04-22 13:31:23 -07:00
Hao Kung
da7140b9d0
Port Identity 2.1 API changes
...
Add AddToRoles and RemoveFromRoles
2014-04-17 15:46:06 -07:00
Hao Kung
538e8dabea
Move POCO to Core
...
- Move POCO types to core
- Keep Entity pocos initially (will try to remove soon)
- Reenable Entity unit tests now that blocking data bugs have been fixed
2014-04-11 15:00:49 -07:00
Hao Kung
e8d7cf4219
Asyncify and Userify
...
Add Async suffix to async methods
Take TUser instead of userId for Usermanager apis
2014-04-04 13:42:22 -07:00
Hao Kung
6807da690a
Remove IUser/IRole and TKey from Managers
2014-04-03 17:17:50 -07:00
Hao Kung
041db7cb69
Initial Identity.Entity implementation
...
- Most child entities related apis not working/implemented
- Unit tests disabled in kbuild for now
Code review fix
2014-04-03 16:07:46 -07:00
Hao Kung
8549d83b7c
Identity.Security not enough to prevent infection
...
- Viral cancellationToken API infection everywhere
- Add Identity.Security SignInManager which depends on Abstractions
2014-04-02 12:25:52 -07:00
Hao Kung
c4d32ef1d6
Remove ConfigureAwait(false) everywhere
2014-03-20 09:42:52 -07:00