Commit Graph

92 Commits

Author SHA1 Message Date
N. Taylor Mullen ab43154577 Update LICENSE.txt and license header on files. 2015-05-01 13:52:26 -07:00
Chris Ross 3b32348cec React to Auth API changes. 2015-04-24 11:32:15 -07:00
Hao Kung 3e94336390 Remove hosting and logging dependencies 2015-04-21 17:02:16 -07:00
Doug Bunting 602e6c2f9d Merge remote-tracking branch 'origin/release' into dev 2015-04-03 11:57:42 -07:00
N. Taylor Mullen 027cc4c38a Update project.json, code=>compile. Also remove **/*.cs and **/*.vs from compile section. These are now defaulted to on. 2015-04-02 16:17:18 -07:00
Doug Bunting f1ef02d2ba Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:26 -07:00
Suhas Joshi 28dc0245bf Moved POCOs to EF and fixed tests 2015-03-24 11:48:26 -07:00
Hao Kung 268af34244 React to hosting changes 2015-03-19 11:11:54 -07:00
Suhas Joshi f0db23be0d Using xunit.runner.aspnet 2015-03-12 19:34:47 -07:00
Hao Kung 2246a41978 Add functional tests
+ cleanup
Fixes https://github.com/aspnet/Identity/issues/395
Fixes https://github.com/aspnet/Identity/issues/231
2015-03-12 16:30:32 -07:00
N. Taylor Mullen 3e704f477b Update .kproj => .xproj. 2015-03-11 14:08:41 -07:00
N. Taylor Mullen 1620a4c73b Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:55:29 -07:00
N. Taylor Mullen 1ed37d741a Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:51:04 -07:00
Hao Kung 3aaa628365 React to AuthN changes 2015-03-02 16:39:01 -08:00
Praburaj 747f4137c6 Reacting to Hosting API changes 2015-03-02 11:56:44 -08:00
Suhas Joshi 5d06b0d353 Switched logging from file to inmemory for tests 2015-01-18 17:01:15 -08:00
Chris Ross 08b2b11940 Remove PipelineCore dependency. 2015-01-15 16:14:08 -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 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 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 f69f46c330 Switch to new xunit 2014-12-15 14:23:04 -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
Victor Hurdugaci 2801adb044 Add schema version to kproj files 2014-11-25 10:53:12 -08:00
Hao Kung 9f351a09a2 React to fallback changes 2014-11-20 17:42:14 -08:00
Victor Hurdugaci 53d89bb9b5 Update KProj to the latest format 2014-11-12 15:12:39 -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
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 dd58aeedb1 React to UsePerRequestServices rename 2014-10-08 15:51:35 -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
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
Chris Ross 3f76dcc166 Handle the IBuilder rename to IApplicationBuilder. 2014-09-10 12:37:39 -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 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
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
Chris Ross 48ae50ab67 Fix SignIn params order. 2014-08-07 15:37:43 -07:00
Hao Kung 626362d8a2 Add NormalizedUserName / IUserNameNormalizer
+ Use normalized username for FindByUserName
2014-07-29 13:45:16 -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
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