Commit Graph

574 Commits

Author SHA1 Message Date
Bjarke Berg
6d51dc4afa Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/6976-migrate-preview-middleware 2020-08-10 14:30:25 +02:00
Bjarke Berg
c57c42d2ec Fixes merge conflicts 2020-08-07 14:00:56 +02:00
Shannon
cca7303abd Migrates preview auth Middleware
Migrates UriExtensionsTests to netcore, fixes preview controller bits, adds tests for preview path for back office route check, fixes virtual paths for views,
2020-08-07 00:48:32 +10:00
Bjarke Berg
39162f0f6a Merge conflicts resolved 2020-08-06 12:59:21 +02:00
Claus
9ac3885488 Merge pull request #7596 from umbraco/v8/feature/7292-memberhasaccess
Adds new methods to MembershipHelper for dealing with checking bulk paths for access
2020-08-06 08:22:45 +02:00
Bjarke Berg
540195c597 Cleanup and fixed more tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-22 15:01:55 +02:00
Bjarke Berg
0714fc4734 Migrated some of the UserControllerTests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-22 14:11:01 +02:00
Shannon
6004a0fb44 wip starts migrating get remaining seconds, removes a bunch of code from netframework thats already been moved. 2020-06-03 17:47:32 +10:00
Shannon
d024443b23 Converts FromClaimsIdentity to a bool method 2020-06-03 15:00:39 +10:00
Shannon
c6481bdabb Migrates another methods of authentication controller over along with calculating the ticket's remaining seconds 2020-06-03 12:47:40 +10:00
Shannon
670d62a2dc Gets cookie authentication actually working along with session validation 2020-06-02 17:48:08 +10:00
Shannon
4afaade436 Gets WebSecurity implemented 2020-06-02 14:46:58 +10:00
Shannon
b75fba71f5 Cleaning up websecurity and implementing it, migrates security stamp and session id validation for cookie auth 2020-06-02 13:28:30 +10:00
Shannon
0ed9d1bd91 renames to LegacyPasswordSecurity 2020-05-28 23:24:32 +10:00
Shannon
1cfc490751 More signinmanager, signin now works and we set the user principal in the correct place on login 2020-05-27 18:27:49 +10:00
Shannon
e47f81efdc Gettting password formats and hashing sorted, ensuring the password format on the user is used 2020-05-27 13:48:26 +10:00
Shannon
d89337e3d5 Cleans up IdentityAuditEventArgs and handling of the current user since we cannot resolve it from the thread. 2020-05-21 16:33:24 +10:00
Shannon
f47ceb8bbe Implements more of identity and makes it more specific to the back office (less intrusive), starts adding cookie auth 2020-05-21 15:43:33 +10:00
Scott Brady
a44dde9432 Added IdentityExtensions 2020-05-18 13:00:32 +01:00
Scott Brady
6f75fe6cc4 Reintroduced missing OWIN user manager functionality 2020-05-18 12:51:24 +01:00
Scott Brady
7b1ce5bbe7 Removed duplication with user store and manager 2020-05-18 12:06:26 +01:00
Scott Brady
c92c633edb Reduced duplicated code 2020-05-18 08:21:34 +01:00
Bjarke Berg
e8fc2a766b Implemented GetUsersInRoleAsync and reintroduced email check 2020-05-05 11:33:19 +02:00
Scott Brady
c58f480d24 Addressed IdentityError changes (it's no longer a collection of string) 2020-05-04 18:49:06 +01:00
Scott Brady
04e9140486 Null checks and property uses 2020-05-04 18:32:57 +01:00
Scott Brady
f3f4537c58 Removed test settings 2020-04-30 15:50:19 +01:00
Scott Brady
077cf57abc PR recommendations: added null checks where FindByX was added, using the same exception as ASP.NET Identity 2 2020-04-30 15:48:32 +01:00
Scott Brady
2caab18d29 Reintroduced FindFirstValue extension method 2020-04-30 09:27:34 +01:00
Scott Brady
123b59506b Apply suggestions from code review
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-04-30 08:50:56 +01:00
Scott Brady
d08bb08f57 Cleanup 2020-04-28 13:05:40 +01:00
Scott Brady
3584aa9fa3 Fixed naming for login info wrapper 2020-04-28 13:00:02 +01:00
Scott Brady
1862bf033f Normalized int to string conversion 2020-04-28 12:20:04 +01:00
Scott Brady
0338c2fc4a Removed null checks from normalizer (breaks Umbraco bootstrap process) 2020-04-24 12:52:49 +01:00
Scott Brady
9c9bd1dd1e Merge fixes 2020-04-24 12:48:29 +01:00
Scott Brady
fed9d1c335 Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-24 12:46:48 +01:00
Bjarke Berg
56b94b53b1 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Services/UserServiceExtensions.cs
#	src/Umbraco.Infrastructure/Examine/ContentValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Infrastructure/Search/ExamineComposer.cs
#	src/Umbraco.PublishedCache.NuCache/DataSource/DatabaseDataSource.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexInitializer.cs
2020-04-24 08:34:48 +02:00
Scott Brady
d6036eb9f4 Added ASP.NET Core Identity token providers 2020-04-22 20:28:49 +01:00
Scott Brady
4763c28c4a Completed No-op lookup normalizer and OWIN daa protection token provider 2020-04-22 20:05:12 +01:00
Scott Brady
8fc2674426 Tests for v7 password hash 2020-04-22 15:58:28 +01:00
Scott Brady
e90778bd3d Extracted constant for 2FA remember me cookie 2020-04-20 20:20:04 +01:00
Scott Brady
96d9d3bd21 Removed use of Microsoft.AspNet.Identity.Owin, but had to port across some OWIN extensions 2020-04-20 20:14:36 +01:00
Scott Brady
11f5c98206 Finished security stamp validator 2020-04-20 19:45:08 +01:00
Scott Brady
989767b053 Merge fixes 2020-04-16 11:16:35 +01:00
Scott Brady
52d6c86d8b Merge branch 'netcore/dev' into netcore/feature/users 2020-04-16 09:41:27 +01:00
Shannon
f19e18e160 Removes new namespaces: Umbraco.Core.Cookie, Umbraco.Core.Session, Umbraco.Core.Request, these are web things and should be part of one namespace 2020-04-08 15:56:19 +10:00
Scott Brady
e5f3c4a186 Security stamp validator. Removed more references to ASP.NET Identity 2 2020-04-06 17:23:04 +01:00
Scott Brady
02dfa893e9 Cleanup 2020-04-04 19:58:09 +01:00
Scott Brady
809ead4223 Removed temporary class naming 2020-04-04 12:59:29 +01:00
Scott Brady
851ae1ba0f Initial working back office 2020-04-04 12:36:04 +01:00
Shannon
4349115f0d Fixes up some errors 2020-04-03 11:47:38 +11:00