Commit Graph

30 Commits (1f42657bb9ea76353fbc02ee100cff5755b6384d)

Author SHA1 Message Date
Joas Schilling 49ff48fcd3
Use PSR logger in authentication 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 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Roeland Jago Douma 19f84f7b54
Add tests 7 years ago
Roeland Jago Douma df34571d1d
Use constant for token version 8 years ago
Roeland Jago Douma 4bbc21cb21
SetPassword on PublicKeyTokens 8 years ago
Roeland Jago Douma 6b7cf46727
Certain tokens can expire 8 years ago
Roeland Jago Douma aba255997a
Allow the rotation of tokens 8 years ago
Roeland Jago Douma 466297829e
Fix tests 8 years ago
Lukas Reschke 9ac878b6cb
Adjust tests for added lastCheck time 8 years ago
Christoph Wurst 38bb6e1477
Fix duplicate session token after remembered login 8 years ago
Joas Schilling d2d9f74707
Fix warning with undefined method 9 years ago
Christoph Wurst e782f90d98
DefaultTokenProviderTest mocked/asserted the wrong method 9 years ago
Christoph Wurst 2183a1f3e6 copy remember-me value when renewing a session token 9 years ago
Roeland Jago Douma e5bc80b31d
Adds TokenProvider and Mapper tests 9 years ago
Lukas Reschke 9d6e01ef40
Add missing tests and fix PHPDoc 9 years ago
Christoph Wurst d907666232
bring back remember-me 9 years ago
Roeland Jago Douma 4d3b92e687
Fix getMock Authentication 9 years ago
Christoph Wurst b805908dca
update session token password on user password change 10 years ago
Christoph Wurst 5c68084823
fix default token provider tests 10 years ago
Christoph Wurst c4149c59c2
use token last_activity instead of session value 10 years ago
Christoph Wurst c58d8159d7
Create session tokens for apache auth users 10 years ago
Christoph Wurst ad10485cec
when generating browser/device token, save the login name for later password checks 10 years ago
Christoph Wurst 74277c25be
add button to invalidate browser sessions/device tokens 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Christoph Wurst 0626578739
add method to query all user auth tokens 10 years ago
Christoph Wurst c28e462583
Use CLOB for auth token names to allow long user agent strings 10 years ago
Christoph Wurst 69dafd727d
delete the token in case an exception is thrown when decrypting the password 10 years ago
Christoph Wurst 46bdf6ea2b
fix PHPDoc and other minor issues 10 years ago
Christoph Wurst dff108e97b
fix mock builder for old phpunit versions 10 years ago
Christoph Wurst fbb5768587
add unit tests for all new classes 10 years ago