Commit Graph

49 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Joas Schilling 49ff48fcd3
Use PSR logger in authentication 5 years ago
Christoph Wurst 2006a6dd0e
Improve traces of invalid token exceptions 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Joas Schilling dc7913efcd
Fix recursive calls in logging via server methods 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 5122629bb0
Make renewSessionToken return the new token 6 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Roeland Jago Douma d9febae5b2
Update all the publickey tokens if needed on web login 7 years ago
Roeland Jago Douma 00e99af586
Mark token as invalid if the password doesn't match 7 years ago
Joas Schilling 5e6187926f
Copy the expiration from 480864b3e3 to getTokenById 7 years ago
Roeland Jago Douma 82959ca93e
Comments 8 years ago
Roeland Jago Douma df34571d1d
Use constant for token version 8 years ago
Roeland Jago Douma 4c0d710479
Just pass uid to the Token stuff 8 years ago
Roeland Jago Douma 480864b3e3
Make the token expiration also work for autocasting 0 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
Roeland Jago Douma 47388e1cfe
Make the Token Auth code strict 8 years ago
Flávio Gomes da Silva Lisboa 5ca9a7d6bc
Loss of performance on Login after upgrade from NC10 + LDAP to NC 12 + LDAP #6732 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Christoph Wurst 38bb6e1477
Fix duplicate session token after remembered login 8 years ago
Marcel Waldvogel 4e42f059ed Minor typos 9 years ago
Martin 53b8330e6d
Defining App "cron" for "Invalidating tokens older than" message #27167 (#27201) 9 years ago
Christoph Wurst 2183a1f3e6 copy remember-me value when renewing a session token 9 years ago
Robin Appelman 73dfe1835a
use lower loglevel for token cleanup messages 9 years ago
Robin Appelman 1afccde16a
allow configuring filesystem access 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
Joas Schilling ba87db3fcc
Fix others 10 years ago
Christoph Wurst b805908dca
update session token password on user password change 10 years ago
Christoph Wurst 0c0a216f42
store last check timestamp in token instead of session 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
Lukas Reschke aba539703c
Update license headers 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
Christoph Wurst 6495534bcd
add button to add new device tokens 10 years ago
Christoph Wurst 0626578739
add method to query all user auth tokens 10 years ago
Christoph Wurst 98b465a8b9
a single token provider suffices 10 years ago
Christoph Wurst ed01305e29
don't spam the log file with failed token validation entries 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 f0f8bdd495
PHPDoc and other minor fixes 10 years ago
Christoph Wurst fdc2cd7554
Add token auth for OCS APIs 10 years ago
Christoph Wurst 8d48502187
Add index on 'last_activity' 10 years ago
Christoph Wurst 3ab922601a
Check if session token is valid and log user out if the check fails 10 years ago
Christoph Wurst 2fa5e0a24e
invalidate (delete) session token on logout 10 years ago
Christoph Wurst d8cde414bd
token based auth 10 years ago