Commit Graph

82 Commits (d92bf388b1c553ecd6bfb2a7400b990dcafe9c54)

Author SHA1 Message Date
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 f6d6efef3a
refactor(Token): introduce scope constants 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Andrew Summers f9ce6bfdff Refactor `OC\Server::getHasher` 2 years ago
Benjamin Gaussorgues d1189f923c
feat(perf): add cache for authtoken lookup 2 years ago
Lucas Azevedo 771a7b92cc Add tests for occ user:auth-tokens:delete 2 years ago
Côme Chilliet f57c12b14e
Fix various deprecation warnings in tests on PHP 8.3 2 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Artur Neumann 37cfccabc1
unit tests for Manager::invalidateTokensOfUser 3 years ago
Joas Schilling a81d8ecef5
Fix unit tests 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Marcel Klehr adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash 3 years ago
Christoph Wurst 9d0e79f10d
Fix PublicKeyTokenProviderTest import and mock 3 years ago
Julius Härtl 2a684f6741
Fix some phpunit test warnings 3 years ago
Christoph Wurst c5922e67d3
Run session token renewals in a database transaction 3 years ago
Carl Schwan 702445ba3b
Handle one time password better 3 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 d683e0d3d1
Automatically cut the token name on the first level 4 years ago
Joas Schilling 343476f54f
Fix unit tests 4 years ago
Carl Schwan 01e2a26749 Fix unit tests 4 years ago
Joas Schilling 3e20cffc86
More test fixing 4 years ago
Joas Schilling c6ae53096c
More test fixing 4 years ago
Joas Schilling 9f00179037
More unit test adjustments 4 years ago
Christoph Wurst 7dd7256cfe
Prevent duplicate auth token activity updates 4 years ago
Roeland Jago Douma cd457cc68b Always renew apppasswords on login 5 years ago
Joas Schilling 49ff48fcd3
Use PSR logger in authentication 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Roeland Jago Douma 76a7600e2e
Allow configuring the activity update interval of token 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2a529e453a
Use a blank line after the opening tag 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Joas Schilling 9935c71ec3
Check the user on remote wipe 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Christoph Wurst 0299ea0a96
Handle token insert conflicts 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Christoph Wurst d058ef2b6c
Make it possible to wipe all tokens/devices of a user 7 years ago
Christoph Wurst 1c261675ad
Refactor: move remote wipe token logic to RW service 7 years ago
Christoph Wurst aa6622ccef Decouple remote wipe notifcation channels with events 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 7 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Roeland Jago Douma 19f84f7b54
Add tests 7 years ago
Daniel Kesselberg 6bdcec67ab
Add openssl to mock 7 years ago
Roeland Jago Douma df34571d1d
Use constant for token version 8 years ago