summaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/DefaultTokenMapper.php
Commit message (Collapse)AuthorAgeFilesLines
* Make the Token Auth code strictRoeland Jago Douma2018-05-151-9/+9
| | | | | | In preparation for #9441 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move over TokenMapperRoeland Jago Douma2018-05-101-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix auth providerJoas Schilling2017-08-021-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix clob comparisonJoas Schilling2017-08-021-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* More phpstorm inspection fixesRoeland Jago Douma2017-07-241-2/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Minor typosMarcel Waldvogel2017-07-211-1/+1
| | | | Signed-off-by: Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de>
* Rename table back to lowercaseLukas Reschke2017-05-181-8/+8
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* delete auth token when client gets deletedBjoern Schiessle2017-05-181-7/+19
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Adds TokenProvider and Mapper testsRoeland Jago Douma2016-11-161-7/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow configuring filesystem accessRobin Appelman2016-11-161-0/+24
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* app password scope wipRobin Appelman2016-11-161-0/+1
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* read lockdown scope from tokenRobin Appelman2016-11-161-2/+2
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* bring back remember-meChristoph Wurst2016-11-021-8/+9
| | | | | | | | | | * try to reuse the old session token for remember me login * decrypt/encrypt token password and set the session id accordingly * create remember-me cookies only if checkbox is checked and 2fa solved * adjust db token cleanup to store remembered tokens longer * adjust unit tests Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Merge pull request #25172 from owncloud/token-login-validationVincent Petry2016-06-221-2/+2
|\ | | | | Token login validation
| * store last check timestamp in token instead of sessionChristoph Wurst2016-06-171-2/+2
| |
* | close cursor after loading a tokenChristoph Wurst2016-06-171-0/+1
|/
* Update license headersLukas Reschke2016-05-261-1/+0
|
* when generating browser/device token, save the login name for later password ↵Christoph Wurst2016-05-241-2/+2
| | | | checks
* add button to invalidate browser sessions/device tokensChristoph Wurst2016-05-231-0/+13
|
* add method to query all user auth tokensChristoph Wurst2016-05-181-0/+28
|
* use the query builder instead of raw sql statementsChristoph Wurst2016-05-111-18/+27
|
* Add index on 'last_activity'Christoph Wurst2016-05-111-2/+4
| | | | | | add token type column and delete only temporary tokens in the background job debounce token updates; fix wrong class import
* Check if session token is valid and log user out if the check failsChristoph Wurst2016-05-111-3/+3
| | | | | * Update last_activity timestamp of the session token * Check user backend credentials once in 5 minutes
* invalidate (delete) session token on logoutChristoph Wurst2016-05-111-0/+32
| | | | add 'last_activity' column to session tokens and delete old ones via a background job
* token based authChristoph Wurst2016-05-111-0/+43
* Add InvalidTokenException * add DefaultTokenMapper and use it to check if a auth token exists * create new token for the browser session if none exists hash stored token; save user agent * encrypt login password when creating the token