'onInitTOTPLoginService', ]; } /** * @param ContainerInterface $container * * @return TOTPLoginService */ public static function onInitTOTPLoginService(ContainerInterface $container) { return new TOTPLoginService( $container->get('Database'), $container->get('BarcodeFactory'), $container->get('TOTPTokenManager') ); } }