Commit Graph

558 Commits

Author SHA1 Message Date
Mike Harder 43e5c8699c Rename Owin version property for consistency (#1317) 2017-07-14 18:27:23 -07:00
Hao Kung b355f59a01 TFA tweaks for templates (#1299) 2017-07-06 13:14:47 -07:00
Nate McMaster 74c1e19e6c React to changes in CookieAuthenticationOptions 2017-07-05 15:24:37 -07:00
Nate McMaster d4abd5499a React to API changes in CookieAuthenticationOptions 2017-07-05 10:16:00 -07:00
Hao Kung ef411276d6 Switch to new Auth API (#1296) 2017-07-03 11:54:01 -07:00
Nate McMaster 661f6d5103 Revert "React to change in session API"
This reverts commit 04d0fdd652.
2017-06-30 15:27:10 -07:00
Nate McMaster 04d0fdd652 React to change in session API 2017-06-30 15:25:28 -07:00
Hao Kung eb3ff7fc32 Move IdentityOptions namespace 2017-06-29 16:34:25 -07:00
Hao Kung dc4db92d5c Remove usage of IOptionsCache (#1287) 2017-06-26 12:14:02 -07:00
Hao Kung 980206cc26 Revert IdentityDbContext breaking change (#1286) 2017-06-21 16:47:44 -07:00
Hao Kung f555a26b4a Make roles optional in Extensions.Identity 2017-06-20 13:32:42 -07:00
Hao Kung a1b9857d94 Pass cancellationToken 2017-06-14 13:12:59 -07:00
Ponant 98263cca29 Enlarged access to SignInOrTwoFactorAsync (#1279)
Does https://github.com/aspnet/Identity/issues/1274
2017-06-14 10:52:42 -07:00
Hao Kung a9192d99dc Rollback optional stores + activity features (#1281)
* Rollback optional features/store versioning
2017-06-13 13:05:54 -07:00
Pranav K 32406953c4 Remove usage of TaskCache 2017-06-08 13:46:40 -07:00
Pavel Krymets 67234e8748 React to logging changes 2017-06-07 15:26:49 -07:00
Hao Kung 55e85e09ce Remove ConfigureDefaultOptions 2017-06-05 11:33:20 -07:00
Kiran Challa 6480e88f96 Removed unnecessary references 2017-06-01 06:21:54 -07:00
Javier Calvarro Nelson 904ff0e060 Added validation, storage tests 2017-05-30 11:03:25 -07:00
Javier Calvarro Nelson 8b41267e1a Runtime clean-up 2017-05-30 10:29:19 -07:00
Javier Calvarro Nelson 6a3fca86b5 Add support for proof of key for code exchange 2017-05-26 17:32:05 -07:00
Hao Kung be8232d3f9 Add support for store versioning + IUserActivityStore 2017-05-26 15:08:57 -07:00
Javier Calvarro Nelson f0a6eee30e Add support for keyvault 2017-05-26 13:16:29 -07:00
Javier Calvarro Nelson 63f7f9a62c Include the developer certificate by default, make it noop when environment != development 2017-05-26 12:51:39 -07:00
Hao Kung 45f9780d32 Switch back to netstandard2.0 2017-05-26 12:45:28 -07:00
bchavez 8682cc74c8 Fixes #1098. Allows derived types of UserClaimsPrincipalFactory to return their own ClaimsPrincipals. 2017-05-25 18:40:47 -07:00
Hao Kung 34e7a8df27 Switch to new default config options support 2017-05-25 18:39:55 -07:00
Pranav K 9559c454cd Fixing build break 2017-05-25 08:18:28 -07:00
Hao Kung e6f3ebf581 Refactor Identity into Core + Stores 2017-05-23 11:21:39 -07:00
Hao Kung e594854cd2 Add normalize back 2017-05-22 15:09:51 -07:00
Oleg Shevchenko 795040a8a1 Remove excessive periods in comments. (#1162) 2017-05-16 19:15:44 -07:00
Mathias Lykkegaard Lorenzen a664d38ecd fix for capitalization of file name (#1166) 2017-05-16 19:15:09 -07:00
Hao Kung 8a47c17685 Remove soon to be removed DisplayName set 2017-05-15 13:52:39 -07:00
Nate McMaster cc4183c7ed Upgrade test framework versions and fix test issues 2017-05-15 12:19:17 -07:00
Javier Calvarro Nelson 4083f3d597 React to changes in cryptography APIs 2017-05-12 14:04:14 -07:00
Javier Calvarro Nelson 21ea69ed63 Fix references 2017-05-12 13:38:26 -07:00
Javier Calvarro Nelson c7567f9f74 Add support for exposing identity as a service 2017-05-11 15:52:29 -07:00
Pavel Krymets ba64cd0fb0 Remove unnecessary package references (#1190) 2017-05-10 11:31:51 -07:00
Andrew Stanton-Nurse d19f44124b netcoreapp2.0 (#1183) 2017-05-04 15:49:48 -07:00
Smit Patel 660525a8ac Update API Check related files
React to aspnet/BuildTools#238
2017-04-25 08:18:46 -07:00
Hao Kung bc757faeba Add GetExternalAuthenticationSchemes back 2017-04-20 15:46:20 -07:00
Hao Kung c142085695 UseIdentity => UseAuthentication 2017-04-20 12:34:07 -07:00
Hao Kung 2b34372689 Disable API check for now 2017-04-19 17:06:29 -07:00
Hao Kung 14b4bea964 Identity => Auth 2.0 2017-04-19 13:02:19 -07:00
Barry Dorrans d4669453ba Merge pull request #1161 from Nordic-Dev/dev
Fixing minor typo
2017-04-19 12:10:21 -07:00
Pranav K ba8675507c Remove dependency on Microsoft.AspNetCore.Testing from test specifications 2017-04-13 10:19:06 -07:00
Alec Papierniak 6b65ed2d83 Fixing minor typo 2017-04-10 17:33:29 -05:00
Hao Kung 1ddc6b111a Remove call to Normlize() for now
https://github.com/aspnet/Identity/issues/1149#issuecomment-290142263

Can bring it back once we are on 2.0
2017-03-30 10:00:30 -07:00
Pranav K 234b882758 Remove net451 as a compilation target 2017-03-21 16:49:04 -07:00
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
Ansari b1e4df0c06 Typo Error Fixed. 2017-03-14 09:43:23 -07:00
Hao Kung 12aa4a3f81 Reenable email validation 2017-03-08 12:58:23 -08:00
Jamie West b10c8ec0b8 Update IdentityBuilder.cs <typeparam> tag definition
Updated the <typeparam> tag used for AddUserStore<T> to match the definition used for AddRoleStore<T>.
2017-03-07 16:32:23 -08:00
Cesar Blum Silveira fc56cba8e7 Bump Microsoft.AspNetCore.Identity.Specification.Tests to net452. 2017-02-22 15:49:10 -08:00
Hao Kung c9404e53d3 Rename tests 2017-02-22 13:08:43 -08:00
Hao Kung 119eb3fa68 Add test verifying SetEmail invalidates token 2017-02-22 13:03:22 -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
John Luo a5ca720ff1 Upgrading to VS 2017 2017-02-02 17:16:39 -08:00
Hao Kung 2d15778346 UserStore: Add protected virtuals for queries 2017-01-23 14:44:05 -08:00
Hao Kung 7fbc36c566 Remove cancellation token overload 2017-01-17 12:51:04 -08:00
Hao Kung b64a32f089 Expose options/other services on managers 2017-01-17 12:49:24 -08:00
Hao Kung 57a25d080d AddEFStores: Infer generics from DbContext 2017-01-17 12:45:45 -08:00
Fabiano França d4d105d5b5 Set ConcurrencyStamp current value using lambdas. 2017-01-04 13:29:39 -08:00
Fabiano França 830a1863a1 Fix property name. 2017-01-04 13:29:39 -08:00
Hao Kung 5aed9742a4 Add authenticator support 2016-12-27 12:59:44 -08:00
Ajay Bhargav Baaskaran a9ce48b911 Updating missed projects to 4.4 CoreFx packages 2016-12-22 14:27:42 -08:00
Pranav K 20a55b8d1f Updating to 4.4 CoreFx packages 2016-12-21 16:46:46 -08:00
Stephen Halter 1b394a1830 Barf even less (and move spec tests in sln) 2016-12-16 15:22:31 -08:00
Hao Kung ff5a8f33d5 Barf on this policheck. 2016-12-16 12:39:16 -08:00
Hao Kung f62ae89d78 Remove System.Collections from project.json 2016-12-12 14:08:47 -08:00
Hao Kung 5e4e9ccdf1 Add Identity.Specfification.Tests 2016-12-12 13:55:08 -08:00
Marco Miltenburg bb60afba28 There's no need to check IsLockedOut() anymore as this is already done in PreSignInCheck(). 2016-11-21 12:21:13 -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
jacalvar e72f98bc87 Created public API baselines 2016-11-07 22:06:44 -08:00
Kevin Walter 0332e91a08 Update UserStore.cs
Fixed incorrect code comment
2016-10-27 14:26:15 -07:00
Eilon Lipton b17cc007b5 Add period to project.json description. 2016-10-24 09:28:03 -07:00
Hao Kung aba7cf96b9 Add OnSecurityStampReplacingPrincipal event 2016-10-13 15:07:58 -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
Hao Kung dbec1c6236 Expose more for extensibility 2016-09-26 10:52:40 -07:00
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