Commit Graph

524 Commits

Author SHA1 Message Date
Hao Kung 3a208fe41c Fix params name and AddRoles (#1406)
AddRoles should not be adding a store, that's done by the store
implementation, it should only be registering the role services.  Also
fixed the TUser/TRole generic parameters names since they were actually
the store types
2017-09-05 10:46:55 -07:00
Javier Calvarro Nelson f11d692976 Rename the area IdentityService to Identity 2017-09-01 14:05:00 -07:00
Nate McMaster c8cf56520a Remove DotNetCliToolReference to workaround NuGet/Home#5716 2017-08-29 15:43:06 -07:00
Nate McMaster 1734c7ff3d Use PackageLineup to manage PackageReference versions 2017-08-29 14:55:50 -07:00
Nate McMaster dce4f48e73 Make changes to test code to fix warnings from xunit.analyzers 2017-08-29 14:51:41 -07:00
Nate McMaster 55a5001c03 Use Directory.Build.props/targets 2017-08-29 14:13:32 -07:00
Hao Kung b865d58786 [2.0.1] Allow use of base identity pocos (#1385) 2017-08-24 14:21:09 -07:00
Hao Kung e36e681d54 Fix regression with ChangePhoneNumber tokens (#1392) 2017-08-24 14:20:32 -07:00
Javier Calvarro Nelson b3c8ff4ae5 Add a website for functional E2E tests and make an OIDC id_token flow succeed
Add a couple of functional tests for doing an id_token flow and an authorization_code flow
2017-08-15 18:04:39 -07:00
Hao Kung f3e2511672 Expose some internal helpers (#1348)
Validate/UpdateUser/Role are now protected
2017-08-14 10:27:30 -07:00
Jim Counts e2ef51b57c Update UserValidator.cs (#1340)
Fix typo
2017-08-07 13:30:57 -07:00
Hao Kung 3a13eec829 Make token purpose consts public (#1344) 2017-08-03 13:00:27 -07:00
Ryan Brandenburg 51eed9332b Update VersionPrefix 2017-07-26 16:37:28 -07:00
Pranav K a6af4a71f9 Change xunit version in specs to 2.2.0 2017-07-24 14:06:08 -07:00
Pranav K 185e9e055f Change xunit version in specs to 2.2.0 2017-07-24 10:39:21 -07:00
Nate McMaster 94635ec5ed Fix the obsolete message on UseIdentity() (#1322) 2017-07-19 21:20:14 -07:00
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