Commit Graph

308 Commits

Author SHA1 Message Date
Hao Kung d60bcac9b4 Tweak AddToRole duplicate behavior 2015-09-28 13:57:49 -07:00
Hao Kung 1c861c6f8a React to Configuration 2015-09-25 13:03:42 -07:00
Arthur Vickers 19641453f5 React to EF API change 2015-09-25 10:24:07 -07:00
Hao Kung 2161f42086 Skip tests that fail on mono (no localdb) 2015-09-04 14:27:50 -07:00
Hao Kung f8733aa103 Fix cookie authentication type regression 2015-09-03 15:43:56 -07:00
Hao Kung 2113ef5abc React to Options/Cookie changes
Moved cookie instance options into IdentityCookieOptions
IUserTokenProvider changes
2015-09-02 15:15:40 -07:00
Hao Kung 4e0000163b Updates to AddManager behavior 2015-08-21 13:00:35 -07:00
Hao Kung ab29d5f5e5 UseIdentity now requires AddIdentity 2015-08-20 13:31:06 -07:00
Hao Kung a98f86681d Revert "Move generics off of Validator/TokenProvider interfaces"
This reverts commit 62a1d49710.
2015-08-14 15:18:40 -07:00
Kirthi Krishnamraju a669ae18b7 fix build break due to aspnet/configuration #246 2015-08-14 00:07:35 -07:00
Hao Kung 62a1d49710 Move generics off of Validator/TokenProvider interfaces 2015-08-13 18:49:04 -07:00
anurse c9f53cd924 react to HttpContextAccessor move 2015-08-12 19:44:36 -07:00
Hao Kung b2eb5feb8c Replace regex with string of legal username chars 2015-08-06 14:24:12 -07:00
Victor Hurdugaci b407fa056e React to DNX renames 2015-07-29 11:28:06 -07:00
Hao Kung 6931ebe41d Fix but with RemoveRoleClaim 2015-07-27 14:53:38 -07:00
Troy Dai 29549fc0b1 Fix build break 2015-07-22 22:09:51 -07:00
Brice Lambson be98dfb7cf Revert "React to aspnet/EntityFramework#2613"
This reverts commit 769eb9f08b.
2015-07-21 15:38:28 -07:00
Brice Lambson 769eb9f08b React to aspnet/EntityFramework#2613 2015-07-14 10:18:14 -07:00
Troy Dai 8b10187402 Update dependencies 2015-07-09 14:55:25 -07:00
Wei Wang 0dddc41a24 Remove useless and incompatible dependencies 2015-07-09 14:48:56 -07:00
Hao Kung 3321adbe64 Add test verifying passwords are salted 2015-07-02 12:22:21 -07:00
Hao Kung 85d2d3d46a Reenable Functional tests/Fix security stamp 2015-07-02 12:10:36 -07:00
Arthur Vickers 504e7fb228 React to EF namespace changes 2015-06-30 10:59:21 -07:00
Hao Kung 24cf9998f0 React to HTTP/Security changes 2015-06-25 19:08:58 -07:00
Arthur Vickers 3ad117ac83 React to EF name changes 2015-06-23 16:00:47 -07:00
Arthur Vickers 6fa89f5da1 Add missing using directive. 2015-06-19 11:20:41 -07:00
Arthur Vickers 3283d48cca React to removal of RelationalDatabase 2015-06-19 11:11:10 -07:00
Hao Kung 8796f7e78a Merge from release 2015-06-17 11:19:41 -07:00
Hao Kung 1ed2ebcd96 Rename shouldLockout => lockoutOnFailure 2015-06-16 14:39:26 -07:00
Arthur Vickers 100cb7a049 React to EF name changes. 2015-06-16 09:15:21 -07:00
Hao Kung e80853a4cf Cleanup logging 2015-06-11 14:56:25 -07:00
Hao Kung e2d8bfe5cf Cleanup logging in SignInManager 2015-06-10 15:13:28 -07:00
Hao Kung d8b3cf238e Set Max length for names to 256 and add index 2015-06-08 14:11:53 -07:00
Arthur Vickers 8a8332f9f1 React to DbContextOptions name change 2015-05-26 11:37:08 -07:00
Kirthi Krishnamraju 717b7a090c React to aspnet/Configuration #194 2015-05-22 05:53:20 -07:00
Kirthi Krishnamraju 030459b8ba React to aspnet/Configuration #195,#198 2015-05-20 19:34:27 -07:00
Eilon Lipton 99c7859608 Fix build break due to Configuration rename 2015-05-16 23:42:42 -07:00
Eilon Lipton d5cfe839db Merge pull request #459 from hishamco/dev
Using 'nameof' operator instead of magic strings
2015-05-16 22:52:08 -07:00
Hao Kung f0098b6e1e No password = auto fail password checks
Rather than null ref boom...
2015-05-08 10:57:18 -07:00
Chris R 6814576b5e React to Http namespace changes. 2015-05-07 15:30:33 -07:00
Hao Kung 288cb6c58f Test and misc cleanup 2015-05-05 14:35:10 -07:00
Hisham Abdullah Bin Ateya da15e5f71b Using 'nameof' operator instead of magic strings 2015-05-05 20:06:17 +03:00
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 c251bf0162 Add RefreshSignIn 2015-04-23 22:17:24 -07:00
Suhas Joshi 791173fda8 Update security stamp when setting username 2015-04-22 17:46:44 -07:00
Suhas Joshi afff831d62 Updating stores to use TypeDescriptor for type conversion 2015-04-22 17:23:03 -07:00
Hao Kung 3e94336390 Remove hosting and logging dependencies 2015-04-21 17:02:16 -07:00
Kiran Challa 5e8beea941 Reacting to ILogger api changes 2015-04-04 04:22:56 -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
Maurycy Markowski adf599339c fixing test build break caused by namespace changes in EF 2015-03-30 14:47:42 -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 a6bf4029aa Move extensions IPrincipal => ClaimsPrincipal
Fixes https://github.com/aspnet/Identity/issues/395
2015-03-19 15:24:20 -07:00
Hao Kung 268af34244 React to hosting changes 2015-03-19 11:11:54 -07:00
Suhas Joshi c260beab52 If condition to NOP 2015-03-13 15:22:34 -07:00
Suhas Joshi d8438c9398 Removed setting int PK 2015-03-13 14:25:36 -07:00
Suhas Joshi f0db23be0d Using xunit.runner.aspnet 2015-03-12 19:34:47 -07:00
Hao Kung 9175e6366c Rollback moving IPrincipal extensions 2015-03-12 17:35:29 -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
Hao Kung 649cb0caed Remove IConfiguration from AddIdentity 2015-03-11 15:41:43 -07:00
N. Taylor Mullen 3e704f477b Update .kproj => .xproj. 2015-03-11 14:08:41 -07:00
ajcvickers 1671b18545 Update to use DbContextOptionsBuilder 2015-03-11 13:15:40 -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 8542a676cb Move away from ILogger<>
Busted for now see https://github.com/aspnet/Hosting/issues/180
2015-03-05 14:04:56 -08:00
Hao Kung c2e96fa570 Remove identity message apis
Fixes https://github.com/aspnet/Identity/issues/359
2015-03-05 13:32:35 -08:00
Victor Hurdugaci 04599f92c1 React to Configuration API changes 2015-03-05 08:14:51 -08:00
Brennan 36686a8e71 Logging API changes 2015-03-04 20:02:21 -08:00
Hao Kung d5b29d7e23 React to DI changes 2015-03-04 18:54:25 -08: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
Levi B 0b1858d5c1 React to DataProtection renaming 2015-02-25 16:59:57 -08:00
Luke Waters e1502bce00 responding to interface change 2015-02-19 15:17:14 -08:00
Pranav K 15be6edf6a Temporarily skipping failing tests 2015-02-12 18:37:59 -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
Hao Kung 228995c84c Add missing virtuals
Enable unit test verifying methods are virtual

Fixes https://github.com/aspnet/Identity/issues/349
2015-02-06 13:25:34 -08:00
Suhas Joshi f7dd913c3f Injecting ILogger via DI 2015-02-06 09:54:23 -08:00
Brennan 127858dd7b Updating .kproj files 2015-02-04 16:44:02 -08:00
Suhas Joshi 5d06b0d353 Switched logging from file to inmemory for tests 2015-01-18 17:01:15 -08:00
Suhas Joshi 5bde831eab Using file lock when reading file 2015-01-15 17:30:44 -08:00
Suhas Joshi 7977cf6a46 Making file lock static 2015-01-15 16:50:20 -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 69ac9abcc5 Rehash passwords when needed
Fixes https://github.com/aspnet/Identity/issues/17
2015-01-12 12:47:08 -08:00
Hao Kung 41806a6067 Merge branch 'attach1-10' into dev 2015-01-12 12:38:59 -08:00
Hao Kung b59440d95f Normalize all lookups with one service 2015-01-12 12:12:53 -08:00
Hao Kung 06de635149 Add attach tests for disconnected user/role 2015-01-10 02:34:00 -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 c558fe8d20 Remove DefaultSecurityClaimType constant
Fixes https://github.com/aspnet/Identity/issues/316
2015-01-07 13:24:18 -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 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 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