Commit Graph

88 Commits (addParameterTypingVersionsMapper)

Author SHA1 Message Date
Julien Veyssier 3d36834284
feat(auth): include the token entity in TokenInvalidatedEvent 4 months ago
Julien Veyssier 4a35837741
feat(auth): adjust PublicKeyTokenProviderTest 4 months ago
Julien Veyssier 3da919c783
feat(auth): dispatch new TokenInvalidatedEvent when PublicKeyTokenProvider::invalidateToken is called 4 months ago
Julien Veyssier 8ffd30bbf9
feat(auth): dispatch new TokenInvalidatedEvent when PublicKeyTokenProvider::invalidateTokenById is called 4 months ago
Ferdinand Thiessen a8f46af20f
chore: Add proper deprecation dates where missing 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Christoph Wurst 5100e3152d
feat(auth): Clean-up unused auth tokens and wipe tokens 1 year ago
Arthur Schiwon 99182aac37
fix(Token): take over scope in token refresh with login by cookie 1 year ago
Arthur Schiwon 6a783d9b08
fix(Session): avoid race conditions on clustered setups 1 year ago
Arthur Schiwon 340939e688
fix(Session): avoid password confirmation on SSO 2 years ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Christoph Wurst bcc02a3c71
fix(auth): Update authtoken activity selectively 2 years ago
Julius Härtl 04780ae30a fix: Always set last activity if we update the row of an authtoken anyways 2 years ago
Joas Schilling bc4a102f52
fix(session): Avoid race condition for cache::get() vs. cache::hasKey() 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Benjamin Gaussorgues d1189f923c
feat(perf): add cache for authtoken lookup 2 years ago
Côme Chilliet a526a382bf
Import OCP IToken as OCPIToken to avoid a name clash in lib/private 2 years ago
Côme Chilliet 8fc39aeb1c Use IToken from OCP instead of OC 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Lucas Azevedo fe9b9c1955 Add last-used-before option 2 years ago
Christoph Wurst 5eb768ac5e
fix(auth): Run token statements in atomic transaction 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Ember 'n0emis' Keske 6881d2f2f1
Don't try to hash a nonexisting password 3 years ago
Joas Schilling 6417ea0265
fix(authentication): Handle null or empty string password hash 3 years ago
Julius Härtl 580feecdbf
fix(authtoken): Store only one hash for authtokens with the current password per user 3 years ago
Joas Schilling 7a85a1596e
fix(authentication): Check minimum length when creating app tokens 3 years ago
Joas Schilling 03a585ab4f
fix(performance): Only search for auth tokens when the provided login is long enough 3 years ago
Joas Schilling 2fb4dac7ad
fix(authentication): Update the token when the hash is null or can not be verified 3 years ago
Joas Schilling 28b18d561c
fix(authentication): Only hash the new password when needed 3 years ago
Joas Schilling c5bb19641c
fix(authentication): Invert the logic to the original intention 3 years ago
Joas Schilling 55d8aec759
fix(authentication): Only verify each hash once 3 years ago
Joas Schilling b4a29644cc
Add a const for the max user password length 3 years ago
Marcel Klehr adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash 3 years ago
Christoph Wurst c5922e67d3
Run session token renewals in a database transaction 3 years ago
Carl Schwan ef31396727
Mark method as deprecated 3 years ago
Julius Härtl 9d1ec582ba
Do not update passwords if nothing changed 3 years ago
Carl Schwan 702445ba3b
Handle one time password better 3 years ago
Carl Schwan d5c23dbb9f Move CappedMemoryCache to OCP 4 years ago
Carl Schwan 1c23c029af Handler large passwords 4 years ago
Carl Schwan cdf3b60555 Handle one time passwords 4 years ago
Joas Schilling 7b3e2217de
Fix user agent trimming on installation 4 years ago
Joas Schilling a0c7798c7d
Limit the length of app password names 4 years ago
Julius Härtl 553cb499b2
Rotate token after fallback 4 years ago
Julius Härtl 81f8719cc0
Add fallback routines for empty secret cases 4 years ago
Joas Schilling 397b9098e8
Also cache non-existing to reuse it 4 years ago
Joas Schilling c0ba89ecc9
Remove default token which is deprecated since Nextcloud 13 4 years ago
Christoph Wurst 7dd7256cfe
Prevent duplicate auth token activity updates 4 years ago
Christoph Wurst 01b8291c76
Type the autentication provider passwords as nullable strings 4 years ago
Tobias Assmann ee049a159b prevent the invalidation of pw based authn tokens on a pw less login 5 years ago
Tobias Assmann 669bd4d718 add spaces around operators 5 years ago