Commit Graph

462 Commits

Author SHA1 Message Date
Nate McMaster 8d8faf9adc Unify dependency versions to one file and remove workarounds
Upgrade to stable version of Moq
Simplify sample dependencies by using metapackage
2017-03-15 14:47:08 -07:00
Hao Kung 12aa4a3f81 Reenable email validation 2017-03-08 12:58:23 -08:00
Arthur Vickers dcafefd1ab Update in-memory tests to used named database. 2017-02-28 16:51:26 -08:00
Doug Bunting ccea27d05c Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-16 12:26:36 -08:00
Nate McMaster 3078ce110b
Downgrade to stable packages 2017-02-14 16:15:35 -08:00
Sébastien Ros addb9a45cb Implementing PasswordOptions.RequiredUniqueChars (#1100)
Fixes #1097
2017-02-10 18:15:16 -08:00
Hao Kung da27614293 Merge branch 'haok/fix' into dev 2017-02-09 10:45:35 -08:00
Hao Kung 1b537e31fc React to clock changes 2017-02-07 22:44:32 -08:00
John Luo a5ca720ff1 Upgrading to VS 2017 2017-02-02 17:16:39 -08:00
Arthur Vickers e7c039caca Remove obsolete file. 2017-01-26 14:21:43 -08:00
Hao Kung 57a25d080d AddEFStores: Infer generics from DbContext 2017-01-17 12:45:45 -08:00
Hao Kung 5aed9742a4 Add authenticator support 2016-12-27 12:59:44 -08:00
Pranav K 20a55b8d1f Updating to 4.4 CoreFx packages 2016-12-21 16:46:46 -08:00
Hao Kung 5e4e9ccdf1 Add Identity.Specfification.Tests 2016-12-12 13:55:08 -08:00
Hao Kung 4dd38e8ca8 Guard against null security stamps 2016-11-21 12:17:09 -08:00
Hao Kung 13ae7b21f3 Improve generic support for AddEntityFrameworkStores 2016-11-17 15:06:29 -08:00
Pranav K 3be87cef81 Updating versions to 1.2.0-* 2016-11-09 14:18:00 -08:00
Hao Kung aba7cf96b9 Add OnSecurityStampReplacingPrincipal event 2016-10-13 15:07:58 -07:00
Pranav K a664d32c5c Updating to netcoreapp1.1 2016-10-13 11:18:26 -07:00
Pranav K e9224cfae7 Revert "Updating to netcoreapp1.1"
This reverts commit 1eb7fd3947.
2016-10-12 16:08:49 -07:00
Pranav K 1eb7fd3947 Updating to netcoreapp1.1 2016-10-12 13:45:35 -07:00
Pranav K 9019e6ab39 Updating partner package versions 2016-10-03 19:59:26 -07:00
Hao Kung 971292544a EF: Switch to Find where possible 2016-10-03 13:44:39 -07:00
Hao Kung d18ae5cad1 Add ProviderInstance for use in 2FA TokenProvider 2016-09-28 13:33:17 -07:00
Hao Kung 5d759abcde Make role name index unique by default 2016-09-26 10:52:40 -07:00
Nate McMaster c0ce322e71 Fix tests broken by logging change aspnet/Logging#480 2016-08-26 11:48:00 -07:00
Hao Kung 1a0cd3c4d1 Add generic parm for IdentityRoleClaim 2016-08-19 15:58:16 -07:00
Hao Kung 27f021ab93 Add builder extension methods 2016-08-19 15:54:52 -07:00
Hao Kung 526d9f0076 Add additional verification in rehash password test 2016-08-17 12:44:22 -07:00
Hao Kung fa976e7765 Add ExternalSignIn overload that can bypass TFA
Move bypass into SignInOrTwoFactor helper
2016-08-15 11:32:32 -07:00
Hao Kung fe60304df5 Add CheckPasswordSignIn method 2016-08-15 11:32:32 -07:00
Pranav K 61fd6a5130 Updating to Moq \ Castle.Core that does not require imports 2016-08-08 14:28:43 -07:00
Doug Bunting d676e8f068 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:03:10 -07:00
Pranav K 4995865158 Updating to RTM builds of xunit and Moq 2016-07-01 09:35:42 -07:00
Pranav K ae9b21971b Updating to dev versions 2016-06-16 10:18:01 -07:00
N. Taylor Mullen 5bb92c6a5c Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:30:33 -07:00
Hao Kung 7a795da349 AutomaticAuthenticate = false for non ApplicationCookies 2016-06-01 12:08:03 -07:00
Hao Kung fdedf2b46a Remove vestiges of NotifyAsync 2016-05-31 15:24:12 -07:00
Hao Kung 29fd846b14 Fix build 2016-05-23 13:37:01 -07:00
Hao Kung 104f216191 Restore support for EF User store generics 2016-05-23 13:05:12 -07:00
Pranav K 33ec5bff7a Fix schema change build warnings 2016-05-18 21:20:09 -07:00
Pranav K a72287d59c Merge branch 'release' into dev 2016-05-02 16:39:12 -07:00
Pranav K 220d6b80b7 Fix build break 2016-05-02 16:39:01 -07:00
Pranav K 238bddbfcd Merge branch 'release' into dev 2016-05-02 14:56:22 -07:00
Pranav K b0e8ffc1f8 Fix build warnings 2016-05-02 11:27:17 -07:00
Pranav K 0b04fa8bde Merge branch 'release' into dev 2016-04-28 16:47:54 -07:00
Pranav K f09a20d6ef Fixing build break 2016-04-28 16:47:37 -07:00
Pranav K 3a211533c3 Merge branch 'release' into dev 2016-04-19 14:54:03 -07:00
Pranav K b7cf7df686 Use latest build of dotnet-test-xunit 2016-04-19 14:54:03 -07:00
Pavel Krymets dc7e47e995 Merge branch 'release' into dev 2016-04-18 17:11:54 -07:00
Pavel Krymets 597e4234c0 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:11:50 -07:00
Hao Kung 0bf7ff2418 Add Unique constraint to user name index by default. 2016-04-18 14:51:13 -07:00
Pavel Krymets 9992ca4c82 Migrate tests, tools and samples to portable 2016-04-15 17:04:54 -07:00
Kiran Challa 42ad584401 Changed DNX451 references to NET451 2016-04-08 14:53:22 -07:00
Pranav K 63c61ac5ac Fixing tests and removing NuGet warnings 2016-04-03 09:57:15 -07:00
BrennanConroy eebacd2dd5 React to logging changes 2016-04-01 11:47:18 -07:00
Doug Bunting b2bf1a46f5 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:21:34 -07:00
David Fowler 8e56602a46 Fixed the build 2016-03-25 11:30:23 -07:00
Hao Kung 0ea969e684 Fix tests 2016-03-16 15:01:32 -07:00
Pranav K c068128098 Reacting to EF changes 2016-03-14 11:08:00 -07:00
Arthur Vickers 5fba08562f Update IdentityDbContext constructors to reflect EF changes
EF now has a parameterless constructor that can only be used when a derived context has OnConfiguring and is hence protected, and a constructor that takes a DbContextOptions.
2016-03-11 08:47:07 -08:00
Hao Kung 82863e9444 Add support for Authentication Tokens to Identity 2016-03-07 13:53:54 -08:00
Doug Bunting 4f68f0e8d4 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:52:58 -08:00
jacalvar 6715d0a645 React to changes in Logging 2016-03-01 16:42:24 -08:00
N. Taylor Mullen 76a4a75de5 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:39:17 -08:00
Hao Kung f78c13c2fa Add + to allowed username characters by default 2016-02-23 13:18:11 -08:00
John Luo 80ba15aaf4 Updating test TFMs for custom test discovery 2016-02-19 17:01:31 -08:00
Hao Kung 06f4c306b7 Remove redundant setters for CookieAuthSchemes 2016-02-12 10:57:52 -08:00
Kiran Challa 24b224e046 Enable tests to run using dotnet xunit runner 2016-02-09 22:26:36 -08:00
Hao Kung 7ba61d6c6f UserManager should normalize role name 2016-02-04 14:09:11 -08:00
John Luo 4920530fd9 Relocating dependencies 2016-02-01 18:38:21 -08:00
John Luo 82ea86c9a2 Updating to new CLI 2016-02-01 15:28:32 -08:00
Brennan 27fb99293d Update Mock for logging 2016-01-28 10:12:39 -08:00
Brennan b74e26883e React to Logging API changes 2016-01-25 09:50:09 -08:00
N. Taylor Mullen c8a276e716 Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:48 -08:00
N. Taylor Mullen 078512dc94 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:25:42 -08:00
N. Taylor Mullen 4132083a6c Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:25:18 -08:00
John Luo 1d9be8728e Reacting to hosting rename 2016-01-17 18:16:09 -08:00
Victor Hurdugaci 3277f68768 Build with dotnet 2016-01-15 14:18:01 -08:00
Hao Kung 3a7917c566 Move away from using OptionsSetup in test 2016-01-14 14:07:31 -08:00
Hao Kung 84804fec20 RequiresNonLetterOrDigit => RequiresNonAlphanumeric 2016-01-14 13:47:21 -08:00
Hao Kung 2dade94404 Move claims extensions to UserManager
Also update samples to Templates
2016-01-14 12:49:21 -08:00
John Luo 96c9eb7dc6 Updating to new options pattern 2016-01-08 16:33:48 -08:00
Hao Kung 167bb54c8d Make IHttpContextAccessor Optional 2016-01-07 14:21:31 -08:00
Hao Kung 6879bc6fd8 More renames 2015-12-21 15:37:53 -08:00
Hao Kung f871d1fd91 OptionsModel => Options 2015-12-21 15:25:17 -08:00
John Luo 4f577e7217 Reacting to new Hosting API 2015-12-18 13:41:36 -08:00
Nate McMaster cade3de890 Skip tests that fail to due threading bugs in Mono 2015-12-15 11:58:56 -08:00
Nate McMaster 4c56ac6548 Refactor EF tests database creation/deletion 2015-12-15 11:58:40 -08:00
Hao Kung 3ae4a6e6d4 Add new config options dependency 2015-12-09 16:14:19 -08:00
Hao Kung a66f50c1ba Enable running tests xplat 2015-12-09 01:11:20 -08:00
Hao Kung 9a2de0f49b Revert "Remove old 2.0 PrincipalExtensions which are no longer needed"
This reverts commit 1c26e8f5fa.
2015-12-08 22:49:50 -08:00
Hao Kung 1c26e8f5fa Remove old 2.0 PrincipalExtensions which are no longer needed 2015-12-08 22:34:01 -08:00
Hao Kung 7ae091d2a4 Increase connection timeout for Sql Server tests 2015-12-08 16:19:23 -08:00
John Luo b871162e12 Reacting to verbose rename 2015-12-06 18:36:25 -08:00
Hao Kung 267d0ac206 Initial identity 2/3 interop sample 2015-12-03 14:35:41 -08:00
Pranav K 08b71223e9 Changes to run tests on coreclr with moq.netcore 2015-11-23 12:00:20 -08:00
Pranav K c907762882 Reacting to DI changes 2015-11-13 11:20:53 -08:00
Cesar Blum Silveira 35871143e9 Strong name everything. 2015-11-03 21:42:07 -08:00
David Fowler e89840bac8 React to DNX changes 2015-10-23 02:46:29 -07:00
Kirthi Krishnamraju cd8252bd55 React to configuration change aspnet/Configuration #299 2015-10-22 14:34:18 -07:00
Hao Kung c847f9c50d Reenable tests / Opt into cascading delete support 2015-10-16 12:44:18 -07:00
Nate McMaster abb1dd0316 React to EF rename 2015-10-05 13:48:19 -07:00
Pranav K 5da757642d Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:55 -07:00
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