Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
use OC\Authentication\Exceptions\PasswordLoginForbiddenException;
use OC\Authentication\Token\IProvider;
use OC\Authentication\Token\IToken;
+ use OC\Authentication\Token\PublicKeyToken;
+ use OC\Authentication\TwoFactorAuth\Manager as TwoFactorAuthManager;
use OC\Hooks\Emitter;
use OC\Hooks\PublicEmitter;
+use OC\Security\CSRF\CsrfTokenManager;
use OC_User;
use OC_Util;
use OCA\DAV\Connector\Sabre\Auth;
namespace OCP;
+ use bantu\IniGetWrapper\IniGetWrapper;
use OC\AppScriptDependency;
use OC\AppScriptSort;
- use bantu\IniGetWrapper\IniGetWrapper;
+use OC\Security\CSRF\CsrfTokenManager;
+ use OCP\Share\IManager;
use Psr\Container\ContainerExceptionInterface;
+ use Psr\Log\LoggerInterface;
/**
* This class provides different helper functions to make the life of a developer easier