Add SessionManager::invalidateSessionsForUser
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 10 May 2016 20:40:46 +0000 (16:40 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 10 May 2016 21:04:18 +0000 (17:04 -0400)
commit3e618de36377403ab0f853101c0d88c33e27ae21
treecd2519c686d80dfe977932eef8d449a48e86e413
parentb1d31d60f6a060cc78d8d495884404ee7ddc118f
Add SessionManager::invalidateSessionsForUser

Most of the time calling User::setToken() is enough, but CentralAuth
needs to be able to call CentralAuthUser::resetAuthToken() on command.

Change-Id: Iad2ae914a81481f040e047b550f3fd3437277626
includes/AuthPlugin.php
includes/session/SessionManager.php
includes/session/SessionManagerInterface.php
includes/session/SessionProvider.php
includes/specials/SpecialUserlogin.php
includes/user/User.php
tests/phpunit/includes/session/SessionManagerTest.php
tests/phpunit/includes/session/SessionProviderTest.php