nextcloud/lib/public
Lionel Elie Mamane ac8b40b8b1
Return correct loginname in credentials,
even when token is invalid or has no password.

Returning the uid as loginname is wrong, and leads to problems when
these differ. E.g. the getapppassword API was creating app token with
the uid as loginname. In a scenario with external authentication (such
as LDAP), these tokens were then invalidated next time their underlying
password was checked, and systematically ceased to function.

Co-authored-by: kesselb <mail@danielkesselberg.de>
for: switch to consistent camelCase

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-08-20 16:02:22 +02:00
..
Accounts Update license headers for 19 2020-04-29 11:57:22 +02:00
Activity allow grouping of activity settings 2020-08-05 16:13:03 +02:00
App Update license headers for 19 2020-04-29 11:57:22 +02:00
AppFramework Fix CS 2020-08-19 11:20:36 +02:00
Authentication Merge pull request #21344 from nextcloud/fix/twofactor-cleanup-event 2020-08-13 07:25:01 +02:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Update license headers for 19 2020-04-29 11:57:22 +02:00
Capabilities Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Move AutoComplete::filterResults to new event dispatcher and GenericEvent 2020-07-01 09:57:33 +02:00
Command Update license headers 2019-12-05 15:38:45 +01:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Console Update license headers for 19 2020-04-29 11:57:22 +02:00
Contacts contactsmanager shall limit number of results early 2020-07-31 12:42:17 +02:00
DB Update documentation for QueryBuilder::set 2020-08-14 19:55:01 +02:00
Dashboard Refactor API to match the widget wording 2020-08-05 17:03:38 +02:00
Diagnostics Update license headers for 19 2020-04-29 11:57:22 +02:00
DirectEditing Add PHP doc for events 2020-08-10 14:24:24 +02:00
Encryption Update license headers for 19 2020-04-29 11:57:22 +02:00
EventDispatcher Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Federation Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Files Properly add new methods to interface and document in PHPDoc for getRootMounts() 2020-08-17 17:13:46 +02:00
Files_FullTextSearch/Model Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
FullTextSearch Update license headers for 19 2020-04-29 11:57:22 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Add proper deprecation message 2020-08-07 17:45:45 +02:00
Http/Client Update license headers for 19 2020-04-29 11:57:22 +02:00
L10N Add a dedicated method to get the language for another user 2020-07-01 10:20:07 +02:00
LDAP Update license headers for 19 2020-04-29 11:57:22 +02:00
Lock add proper paths to locking exceptions 2020-06-30 18:10:42 +02:00
Lockdown Update license headers 2019-12-05 15:38:45 +01:00
Log Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Mail Add PHP doc for events 2020-08-10 14:24:24 +02:00
Migration Replace TYPE with TYPES 2020-06-30 23:46:22 +02:00
Notification Allow notification apps to defer and flush the sending 2020-07-03 16:44:43 +02:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Preview Update license headers 2019-12-05 15:38:45 +01:00
Remote Update license headers 2019-12-05 15:38:45 +01:00
RichObjectStrings Allow links to conversations 2020-05-13 16:05:55 +02:00
Route Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Search Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
Security Fix CS 2020-08-19 11:20:36 +02:00
Session/Exceptions Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Settings Add visibility to all constants 2020-04-10 16:54:27 +02:00
Share Always sort shares in a reliable way 2020-06-08 14:47:15 +02:00
Support Make the subscription registry lazy 2020-07-09 12:21:06 +02:00
SystemTag Update license headers for 19 2020-04-29 11:57:22 +02:00
User Return correct loginname in credentials, 2020-08-20 16:02:22 +02:00
UserStatus Provide a PHP Api for UserStatus 2020-08-05 13:48:46 +02:00
WorkflowEngine Add PHP doc for events 2020-08-10 14:24:24 +02:00
API.php Update license headers for 19 2020-04-29 11:57:22 +02:00
App.php Update license headers for 19 2020-04-29 11:57:22 +02:00
AutoloadNotAllowedException.php Update license headers 2019-12-05 15:38:45 +01:00
BackgroundJob.php Update license headers 2019-12-05 15:38:45 +01:00
Constants.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Defaults.php Provide the proper language to the mailer 2020-04-16 09:04:13 +02:00
Files.php Update license headers for 19 2020-04-29 11:57:22 +02:00
GroupInterface.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IAddressBook.php IAddressBook: add isShared and isSystemAddressBook 2020-08-05 09:04:41 +02:00
IAppConfig.php Update license headers 2019-12-05 15:38:45 +01:00
IAvatar.php Update license headers 2019-12-05 15:38:45 +01:00
IAvatarManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ICache.php Update license headers 2019-12-05 15:38:45 +01:00
ICacheFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ICertificate.php Update license headers 2019-12-05 15:38:45 +01:00
ICertificateManager.php Update license headers 2019-12-05 15:38:45 +01:00
IConfig.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IContainer.php Use PSR container interface and deprecate our own abstraction 2020-07-16 13:35:45 +02:00
IDBConnection.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
IDateTimeFormatter.php Update license headers 2019-12-05 15:38:45 +01:00
IDateTimeZone.php Update license headers 2019-12-05 15:38:45 +01:00
IEventSource.php Update license headers 2019-12-05 15:38:45 +01:00
IGroup.php Update license headers 2019-12-05 15:38:45 +01:00
IGroupManager.php Update license headers 2019-12-05 15:38:45 +01:00
IImage.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IInitialStateService.php Update license headers 2019-12-05 15:38:45 +01:00
IL10N.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
ILogger.php Deprecate ILogger 2020-07-16 19:19:23 +02:00
IMemcache.php Update license headers 2019-12-05 15:38:45 +01:00
IMemcacheTTL.php Update license headers 2019-12-05 15:38:45 +01:00
INavigationManager.php Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
IPreview.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IRequest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ISearch.php Deprecate \OCP\ISearch 2020-06-24 14:20:26 +02:00
IServerContainer.php Undeprecate IAppContainer and IServerContainer 2020-07-17 10:17:18 +02:00
ISession.php Update license headers 2019-12-05 15:38:45 +01:00
ITagManager.php Tags.php and the old sharing mechanism 2020-07-06 14:12:12 +02:00
ITags.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ITempManager.php Update license headers 2019-12-05 15:38:45 +01:00
IURLGenerator.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
IUser.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
IUserBackend.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IUserManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IUserSession.php Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
Image.php Update license headers 2019-12-05 15:38:45 +01:00
PreConditionNotMetException.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SabrePluginEvent.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SabrePluginException.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Share.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Share_Backend.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Share_Backend_Collection.php Update license headers 2019-12-05 15:38:45 +01:00
Share_Backend_File_Dependent.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
User.php Update license headers 2019-12-05 15:38:45 +01:00
UserInterface.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Util.php Add visibility to all constants 2020-04-10 16:54:27 +02:00