Commit Graph

573 Commits

Author SHA1 Message Date
Sébastien Ros 5480aa182b Clearing up FindByEmailAsync usage
Makes it explicit that the parameter can be any email, but the query will be based on the normalized value.
2016-09-13 16:06:52 -07:00
Pavel Krymets e131ebae47 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#955)
Instead of Task.FromResult(0)
2016-09-07 11:24:45 -07:00
雨宮丶優子 eabec2b476 Fixed missed constructor 2016-08-19 16:09:57 -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 c1b8f3abf3 Fix doc comment 2016-08-17 12:46:01 -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
Jonathan f278822a2c Update UserStore.cs 2016-07-18 14:22:05 -07:00
Jonathan d807ec029c Fixed typo 2016-07-18 14:22:05 -07:00
Pranav K f9cdef745f Remove Microsoft.AspNet.DataProtection.Extensions 2016-07-15 13:32:27 -07:00
Hao Kung ec4c08d11a Add missing doc comments 2016-07-11 15:44:06 -07:00
Dennis Daume f73f668e2b Fix a typo in the SignInManager docs 2016-07-11 13:09:19 -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
Hao Kung 9e02042798 Fix cookie middleware name for interop package 2016-07-05 13:32:01 -07:00
Pranav K ae9b21971b Updating to dev versions 2016-06-16 10:18:01 -07:00
Hao Kung 7b3b362795 Fix doc comments 2016-06-13 22:28:22 -07:00
jacalvar a877ec1783 Remove unncessary imports 2016-06-08 15:04:06 -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
John Luo 53b7fbb0ae React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:28:53 -07:00
Hao Kung ed1d8cfbd0 CoreCompat => AspNetCoreCompat 2016-05-24 13:15:38 -07:00
Hao Kung 6792474d77 Add Assembly metadata 2016-05-23 13:52:40 -07:00
Hao Kung e0676292fc Add Interop 45 Compat package
Initial samples fixes (more coming to make things work)
2016-05-23 13:23:32 -07:00
Hao Kung 104f216191 Restore support for EF User store generics 2016-05-23 13:05:12 -07:00
Aliaksei Maniuk 6b6b21a5bf Minor fix in description for LockoutEnabled property. 2016-05-20 13:22:38 -07:00
Lee Calabrese 13a08e2a8a fix XML documentation of RemoveClaimAsync
Fixes documentation of parameter "claim" in RemoveClaimAsync(TRole role, Claim claim)
2016-05-20 13:20:31 -07:00
Pranav K 1e20fd8439 Revert "React to updated CoreCLR packages."
This reverts commit 428e6c2d80.
2016-05-18 09:40:34 -07:00
John Luo 428e6c2d80 React to updated CoreCLR packages.
https://github.com/aspnet/Coherence/issues/97
2016-05-17 12:22:30 -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
Hao Kung 0bf7ff2418 Add Unique constraint to user name index by default. 2016-04-18 14:51:13 -07:00
Pranav K b984f46096 Removing imports from src projects 2016-04-08 06:49:33 -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
Eilon Lipton f4b2548565 Update project.json 2016-03-27 23:00:19 -07:00
Eilon Lipton ebd6ed7d94 Update project.json 2016-03-27 22:31:19 -07:00
Eilon Lipton 32b2f1b528 Fix package metadata 2016-03-27 14:18:33 -07:00
Pranav K bbc507fe14 Reacting to CoreCLR package changes 2016-03-22 14:50:29 -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 41fa99e9f3 Make ThrowIfDisposed protected 2016-03-10 14:32:00 -08:00
Brice Lambson 6bea519092 Don't reference facades 2016-03-10 13:08:00 -08:00
John Luo 9071b8fbe7 Redress cookie name 2016-03-07 16:57:04 -08:00
Hao Kung 82863e9444 Add support for Authentication Tokens to Identity 2016-03-07 13:53:54 -08:00
John Luo c8849685cf Update cookie name 2016-03-04 12:14:43 -08:00
Ajay Bhargav Baaskaran 4792719236 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:53 -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
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 472c6f8734 Make ThrowIfDisposed protected 2016-02-26 11:45:58 -08:00
Chad Tolkien 7649b3ebb3 Fix typo in TotpSecurityStampBasedTokenProvider docs 2016-02-23 14:26:34 -08:00
Hao Kung f78c13c2fa Add + to allowed username characters by default 2016-02-23 13:18:11 -08:00
Caleb Nelton d1585617f9 Fixed parameter "role" cannot be resolved
Use 'nameof(*)' expression instead.
2016-02-22 11:40:38 -08:00
Ajay Bhargav Baaskaran e30653c71b Enabled xml doc generation 2016-02-18 16:01:36 -08:00
Hao Kung 06f4c306b7 Remove redundant setters for CookieAuthSchemes 2016-02-12 10:57:52 -08:00
Prasanna V. Loganathar edb1a1045a Correct Typo 2016-02-04 16:29:50 -08:00
Hao Kung 7ba61d6c6f UserManager should normalize role name 2016-02-04 14:09:11 -08:00
Hao Kung ada5756c87 Add more IdentityDbContext ctors 2016-02-04 13:23:42 -08:00
Daniel Roth 12da45653e Fixup doc comment formatting issues 2016-02-03 13:14:13 -08:00
Daniel Roth bc903bb3cd Fix up doc comment formatting issues 2016-02-02 22:19:56 -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
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
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
Frédéric Barrière 042588e1b2 Fix check of default value in ConvertIdToString if TKey is a class and not a structure. 2015-12-21 16:33:19 -08:00
Camilo Bernal d79c218210 Fix comment for DuplicateRoleName key in Resources.resx 2015-12-21 16:29:53 -08:00
Hao Kung f871d1fd91 OptionsModel => Options 2015-12-21 15:25:17 -08:00
Pranav K 4d877ec98e Fixing build break 2015-12-10 17:00:42 -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
Pranav K d3fbc1486f Removing extraneous dependencies 2015-12-08 17:55:08 -08:00
Hao Kung 267d0ac206 Initial identity 2/3 interop sample 2015-12-03 14:35:41 -08:00
Pavel Krymets 0249c6181c Fix functional unit test after hosting changes 2015-11-19 12:26:54 -08:00
Hao Kung 2084a95f0a Fix doc comments 2015-11-13 14:09:15 -08:00
N. Taylor Mullen b0480e874f Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:44 -08:00
Hao Kung 379f1928a4 Update doc comments 2015-11-05 13:22:27 -08:00
Cesar Blum Silveira 35871143e9 Strong name everything. 2015-11-03 21:42:07 -08:00
Pranav K 6d2b1e447b Adding System.Runtime to unbreak build 2015-10-28 19:12:17 -07:00
Pranav K f6a28b09a2 Switching to generations TFMs 2015-10-22 01:27:52 -07:00
Hao Kung 4ce3efd28f Add event ids for logging 2015-10-19 15:02:10 -07:00
Hao Kung 79d3723df5 Merge remote-tracking branch 'ka/dev' into dev 2015-10-16 14:02:41 -07:00
Hao Kung c847f9c50d Reenable tests / Opt into cascading delete support 2015-10-16 12:44:18 -07:00
Hao Kung 027bc5c6b8 React to AuthN changes 2015-10-14 23:17:13 -07:00
Hao Kung a754b9cb61 Switch to Relational from SqlServer for Identity.EF 2015-10-14 14:50:05 -07:00
Arthur Vickers daa50df87f React to EF fluent API changes 2015-10-06 22:11:01 -07:00
あまみや ゆうこ 22f1537abd Update Resources.resx 2015-10-06 22:02:44 +08: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 acfee9e7e0 Make UserManager protected 2015-10-02 14:29:09 -07:00
Hao Kung d60bcac9b4 Tweak AddToRole duplicate behavior 2015-09-28 13:57:49 -07:00
Arthur Vickers ca874a3ff7 React to EF fluent API changes 2015-09-24 10:42:20 -07:00
Hao Kung 3ef5caf1ab React to Caption => DisplayName rename 2015-09-23 15:04:12 -07:00
Hao Kung 5c0700791a Merge remote-tracking branch 'da/AddConstructorToDbContext' into haok/9-23m 2015-09-23 13:19:05 -07:00
Hao Kung df1fe83992 Add descriptions to project.json 2015-09-23 13:16:52 -07:00
Daniel Weber eadcae54d4 Add constructors to IdentityDbContext to allow dependency injection. The other approach (overriding 'OnConfiguring') does not work well with unit testing. 2015-09-18 16:39:49 +02:00
Daniel Lo Nigro bc8cf1f7b6 Update xmldoc for SetNormalizedUserNameAsync
The parameter name specified in the xmldoc didn't match the actual parameter name.
2015-09-15 15:20:02 -07:00
Hao Kung eb4aaa5800 Fix PR 2015-09-15 15:11:09 -07:00
Hisham Bin Ateya a2cbaa0666 Using 'nameof' operator instead of magic string 2015-09-15 23:25:37 +03:00
Pranav K 150df1659a Adding NeutralResourcesLanguageAttribute 2015-09-10 17:57:16 -07:00
Hao Kung a55248c549 Switch to protected constants for token purposes 2015-09-10 15:13:23 -07:00
Hao Kung e72e36af27 Restore old default AuthenticationType value 2015-09-03 17:13:43 -07:00
Hao Kung f8733aa103 Fix cookie authentication type regression 2015-09-03 15:43:56 -07:00
Chris R a506979db5 React to security API changes. 2015-09-03 14:44:21 -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 84259975ca Update exception text 2015-08-21 13:16:41 -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
Hao Kung 62a1d49710 Move generics off of Validator/TokenProvider interfaces 2015-08-13 18:49:04 -07:00
Chris R a7e7121c87 #540 React to CoreCLR Cryptography package changes and remove transitive dependencies. 2015-08-11 15:08:09 -07:00
Pranav K 7406e27981 Reacting to DI changes 2015-08-11 14:01:36 -07:00
Hao Kung ece1011536 Make Roles/Users virtual
Fixes https://github.com/aspnet/Identity/issues/514
2015-08-06 14:31:02 -07:00
Hao Kung 0e77bbdbbd Used scoped instead of transient lifetimes
Fixes https://github.com/aspnet/Identity/issues/519
2015-08-06 14:25:44 -07:00
Hao Kung b2eb5feb8c Replace regex with string of legal username chars 2015-08-06 14:24:12 -07:00
Troy Dai 31070b68f7 Update CoreCLR versions 2015-08-04 10:15:28 -07:00
Hao Kung 19d56be977 Delete unused classes
Fixes https://github.com/aspnet/Identity/issues/531
2015-08-03 17:43:14 -07:00
Hao Kung 6931ebe41d Fix but with RemoveRoleClaim 2015-07-27 14:53:38 -07:00
Brice Lambson 8e5e044c8b Merge branch 'release' into dev 2015-07-22 08:35:18 -07:00
Brice Lambson be98dfb7cf Revert "React to aspnet/EntityFramework#2613"
This reverts commit 769eb9f08b.
2015-07-21 15:38:28 -07:00
Arthur Vickers 8299bbf482 React to EF API change 2015-07-20 11:13:09 -07:00
Hao Kung 54db5d2c50 React to external => shared rename 2015-07-16 12:47:05 -07:00
Brice Lambson 769eb9f08b React to aspnet/EntityFramework#2613 2015-07-14 10:18:14 -07:00
Hao Kung 85d2d3d46a Reenable Functional tests/Fix security stamp 2015-07-02 12:10:36 -07:00
Victor Hurdugaci 9fc993122e Add repository information to project files 2015-07-01 20:10:53 -07:00
Hao Kung 670614cdc5 SignInManager fix for external auth 2015-06-30 10:29:19 -07:00
Arthur Vickers 8bace4b197 Stop calling UseIdentity since it is the default anyway 2015-06-26 16:08:25 -07:00
Hao Kung 2f7accb8fe policheck fix 2015-06-26 10:17:43 -07:00
Hao Kung 24cf9998f0 React to HTTP/Security changes 2015-06-25 19:08:58 -07:00
Arthur Vickers 32625917e3 React to EF changes 2015-06-25 16:00:53 -07:00
Hao Kung f4f7fac189 Remove extra config param that's not used 2015-06-23 13:30:55 -07:00
eduaglz 741f2b1cc7 Makes AddEntityFrameworkStores use TryAdd instead of Add 2015-06-17 16:03:26 -05: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 4e5bba35da Friendlier ToString 2015-06-08 14:32:39 -07:00
Hao Kung d8b3cf238e Set Max length for names to 256 and add index 2015-06-08 14:11:53 -07:00
Hao Kung 715790c213 Merge Barry's DocComments
(sorry barry, wasn't too hard to merge)
2015-06-08 11:09:25 -07:00
Hao Kung 6d206250b3 Remove SecurityToken internal class 2015-06-08 10:55:52 -07:00
Troy Dai 5c0521df63 Fix build break 2015-06-03 11:58:27 -07:00
Kirthi Krishnamraju 030459b8ba React to aspnet/Configuration #195,#198 2015-05-20 19:34:27 -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
Barry Dorrans eaa7ca9e81 Adding validation regex timeout. 2015-05-08 14:33:45 -07:00
Hao Kung f0098b6e1e No password = auto fail password checks
Rather than null ref boom...
2015-05-08 10:57:18 -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
ajcvickers b2a25ff288 Stop using ForRelational 2015-04-30 10:01:53 -07:00
Brennan fc38d7e7cf React to Hosting package rename 2015-04-29 18:56:15 -07:00
Chris Ross 3b32348cec React to Auth API changes. 2015-04-24 11:32:15 -07:00
Hao Kung a71dc5858d React to Security changes 2015-04-23 22:57:17 -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
Chris Ross de69da85fe Fix dependencies. 2015-04-22 12:36:13 -07:00
Hao Kung 3e94336390 Remove hosting and logging dependencies 2015-04-21 17:02:16 -07:00
Suhas Joshi b775e90b5b Use configure from cookies repo 2015-04-20 17:29:46 -07:00
N. Taylor Mullen b652ca3332 Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-07 14:46:20 -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 2ceb4b3a6c Add SQL Identity support 2015-04-01 17:24:44 -07:00
Suhas Joshi 28dc0245bf Moved POCOs to EF and fixed tests 2015-03-24 11:48:26 -07:00
ajcvickers 9e7f12a515 React to EF relationship API changes 2015-03-23 13:18:07 -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
Levi B 8592b2e7b1 React to DataProtection changes. 2015-03-17 22:09:53 -07:00
Hao Kung b0c6090774 Identity ApplicationCookie Automatic by default
React to cookie's not being automatic by default
2015-03-16 15:15:44 -07:00
Suhas Joshi c260beab52 If condition to NOP 2015-03-13 15:22:34 -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 7b3dbaa32b Switch to interfaces references 2015-03-11 15:43:55 -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
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
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
Suhas Joshi eeb6c983fe Update to new version of Linq.Expressions 2015-02-27 11:48:46 -08:00
Levi B 0b1858d5c1 React to DataProtection renaming 2015-02-25 16:59:57 -08:00
Levi B cad9ead28d PBKDF2 was moved to its own package 2015-02-24 16:30:29 -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
Hao Kung d45b796529 Loosen constraints on stores
Fixes https://github.com/aspnet/Identity/issues/323
2015-02-06 13:13:45 -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
ajcvickers 774d06e7a6 React to removal of AddAsync 2015-01-30 14:24:57 -08:00
AndriySvyryd dd4ad28e1b Reacting to EF changes 2015-01-16 13:12:50 -08:00
Suhas Joshi 7977cf6a46 Making file lock static 2015-01-15 16:50:20 -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 4eff17c9b2 Cleanup DataProtectionTokenProvider 2015-01-12 12:34:16 -08:00
Hao Kung b59440d95f Normalize all lookups with one service 2015-01-12 12:12:53 -08:00
Barry Dorrans 53b994da19 XMLDoc updates. Seperation of classes. 2015-01-08 11:09:08 -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
Barry Dorrans e76d1c2809 XMLDoc updates. 2015-01-07 12:28:35 -08:00
Barry Dorrans cf68fac658 XML Doc Update (one by one for ease of eventual merging) 2015-01-06 15:40:24 -08:00
Barry Dorrans 309fce19d7 XML Doc Update (one by one for ease of eventual merging) 2015-01-06 15:40:08 -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
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
ajcvickers 4030d77b31 React to EF API changes 2014-12-02 14:26:09 -08:00
Victor Hurdugaci 2801adb044 Add schema version to kproj files 2014-11-25 10:53:12 -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 42c809ca16 Updated to use EF Async methods 2014-11-14 11:47:51 -08:00
Victor Hurdugaci 53d89bb9b5 Update KProj to the latest format 2014-11-12 15:12:39 -08:00
Hao Kung 5c10f9e96b SignOut all identity cookies except for RememberMe
Fixes https://github.com/aspnet/Identity/issues/211
2014-11-12 12:38: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
Levi B bf8728bec9 Allow the application developer to specify the iteration count for membership passwords. 2014-11-05 12:08:20 -08:00
Hao Kung 8672bd7797 Rename parameter of IUserStore.SetNormalizedUserNameAsync method
Fixes https://github.com/aspnet/Identity/issues/244
2014-11-04 12:17:27 -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 556c15273e Add SignInManager CanSignIn
new hook which can be used to block sign in
Fixes https://github.com/aspnet/Identity/issues/129
2014-10-27 15:46:48 -07:00
Hao Kung 2c9f43a160 Enable and fix Async/Cancellation tests 2014-10-27 12:58:46 -07: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 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
Pranav K d56f6cbf8c Merge branch 'release' into dev 2014-10-21 18:15:51 -07:00
Pranav K 9bd1e8f0a9 Adding type constraint on IdentityBuilder.AddService 2014-10-21 18:08:24 -07:00
Pranav K a091c191bb React to DI changes 2014-10-21 17:37:35 -07:00
Hao Kung 23b4307f34 Add PasswordSignIn overload that takes TUser instead of username 2014-10-21 15:22:40 -07:00
Chris Ross be8b3b1bbf Update Claims dependency. 2014-10-17 10:19:01 -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 0df5dfd36b React to DI change for GetService 2014-10-16 15:33:59 -07:00
Hao Kung 3a9036a69f Rationalize IdentityDbContext ctors
Also clean up unit tests
2014-10-16 15:14:46 -07:00
ajcvickers e724e4248c Reacting to provider-specific EF API changes 2014-10-15 17:31:04 -07:00
Hao Kung 3abe532761 React to options and hosting changes 2014-10-14 19:19:44 -07:00
Pranav K 9255f200b0 Updating System.Text.RegularExpressions version 2014-10-10 13:59:32 -07:00
Levi B 0a91227a4d Update Identity to account for DataProtection changes. 2014-10-10 12:05:00 -07:00
Pranav K 121d0b1acf Reacting to CLR package versioning changes 2014-10-10 10:32:54 -07:00
Hao Kung a4ce31c30d Rename Identity.SqlServer back to EntityFramework 2014-10-08 13:36:38 -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
David Fowler 993827ee65 React to EF changes and fixed sample 2014-10-05 02:55:14 -07:00
Hao Kung 545ca2907f Bye Bye Primary Ctors :( 2014-09-29 11:35:49 -07:00
Hao Kung bd7ae6d8c0 Move extension method to IServiceCollection 2014-09-26 11:07:39 -07:00