aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/User/Backend
Commit message (Collapse)AuthorAgeFilesLines
* Fix psalm issues related to the user backendCarl Schwan2022-05-201-1/+1
| | | | | | | | | | | | | - Reflect the actual return value returned by the implementation in the the interface. E.g. IUser|bool -> IUser|false - Remove $hasLoggedIn parameter from private countUser implementation. Replace the two call with the equivalent countSeenUser - getBackend is nuallable, add this to the interface - Use backend interface to make psalm happy about call to undefined methods. Also helps with getting rid at some point of the old implementActions Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0413-26/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Improve search results when only phonebook-matches can we autocompletedJoas Schilling2021-03-172-1/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-242-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use matching parameter names form interfaces and implementationsMorris Jobke2020-08-191-1/+1
| | | | | | Found by Psalm 3.14.1 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow user backends to specify a custom logout urlRoeland Jago Douma2020-07-231-0/+43
| | | | | | * Allows SSO backends to do a global logout Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix multiline commentsChristoph Wurst2020-04-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-0511-29/+52
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Get the proper UIDRoeland Jago Douma2019-08-131-0/+44
| | | | | | | | | | | | | | | | | | | | | Some user backends (like the database backend) allow us to obtain a user case insensitive. However the UID itself is case sensitive. Example: * create a user User1 * login as User1 - This results the data/User1 folder to be created etc * now have some code somewhere that obtains the userFolder (from IRootFolder) but pas in 'uSER1' as uid - The code will check if that is a valid user. And in this case it is since User1 and uSER1 both map to the same user - However the the UID in the user object is used for the folder a new folder fill be create data/uSER1 With this PR this is avoided now. Since we obtain the real UID casing in the backend before creating the user object. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* New user backend interface to check if a user can confirm passwordsRoeland Jago Douma2018-11-021-0/+36
| | | | | | | On some backends (saml for example) users can't revalidate their passwords as Nextcloud has no way to do verify it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Document parametersRoeland Jago Douma2018-03-229-0/+30
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move to ABackendRoeland Jago Douma2018-03-221-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove type declarations where not yet possibleRoeland Jago Douma2018-03-224-4/+4
| | | | | | Because we don't return consistent things yet :( Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix phpdocRoeland Jago Douma2018-03-229-0/+62
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add abstract bakend to still be backwards compatible with the old logicRoeland Jago Douma2018-03-221-0/+62
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add interfaces for user backend functionalityRoeland Jago Douma2018-03-228-0/+232
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>