Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16766 | Rev 16769 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16766 Rev 16768
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea 4...
4
namespace LeadersLinked\Controller;
4
namespace LeadersLinked\Controller;
5
 
5
 
6
use Laminas\Authentication\Result as AuthResult;
-
 
-
 
6
use Laminas\Authentication\Result as AuthResult;
7
use Laminas\Db\Adapter\AdapterInterface;
7
use Laminas\Db\Adapter\AdapterInterface;
8
use LeadersLinked\Cache\CacheInterface;
8
 
Línea 9... Línea 9...
9
use Laminas\Mvc\Controller\AbstractActionController;
9
use Laminas\Mvc\Controller\AbstractActionController;
10
use Laminas\Log\LoggerInterface;
10
use Laminas\Log\LoggerInterface;
Línea 11... Línea 11...
11
 
11
 
12
use LeadersLinked\Authentication\AuthOneTimePasswordAdapter;
12
use LeadersLinked\Authentication\AuthOneTimePasswordAdapter;
13
use Laminas\Authentication\AuthenticationService;
13
use Laminas\Authentication\AuthenticationService;
14
 
14
 
-
 
15
use Laminas\View\Model\JsonModel;
-
 
16
use Laminas\View\Model\ViewModel;
Línea 15... Línea 17...
15
use Laminas\View\Model\JsonModel;
17
use LeadersLinked\Model\CalendarEvent;
16
use Laminas\View\Model\ViewModel;
18
use LeadersLinked\Library\Functions;
17
use LeadersLinked\Model\CalendarEvent;
19
use LeadersLinked\Cache\CacheInterface;
18
use LeadersLinked\Library\Functions;
20
use LeadersLinked\Cache\CacheImpl;
19
 
21
 
20
 
22
 
21
class AuthController extends AbstractActionController
23
class AuthController extends AbstractActionController
Línea 22... Línea -...
22
{
-
 
23
    /**
-
 
24
     *
-
 
25
     * @var AdapterInterface
-
 
26
     */
-
 
27
    private $adapter;
-
 
28
    
-
 
29
    
24
{
30
    /**
25
    /**
31
     *
26
     *
32
     * @var CacheInterface
27
     * @var AdapterInterface
33
     */
28
     */
34
    private $cache;
29
    private $adapter;
35
    
30
    
36
    /**
31
    /**
37
     *
32
     *
38
     * @var  LoggerInterface
33
     * @var  LoggerInterface
39
     */
34
     */
Línea 40... Línea -...
40
    private $logger;
-
 
41
 
-
 
42
    /**
-
 
43
     * 
35
    private $logger;
44
     * @var array
36
    
-
 
37
    /**
-
 
38
     *
-
 
39
     * @var array
-
 
40
     */
-
 
41
    private $config;
-
 
42
    
45
     */
43
    /**
46
    private $config;
-
 
47
    
44
     * 
48
    
45
     * @var CacheInterface
49
    
46
     */
50
    
47
    private $cache;
51
    /**
48
    
52
     * 
49
    /**
53
     * @param AdapterInterface $adapter
50
     *
54
     * @param CacheInterface $cache
51
     * @param AdapterInterface $adapter
55
     * @param LoggerInterface $logger
52
     * @param LoggerInterface $logger
56
     * @param array $config
53
     * @param array $config
-
 
54
     */
Línea 57... Línea 55...
57
     */
55
    public function __construct($adapter, $logger, $config)
58
    public function __construct($adapter, $cache , $logger, $config)
56
    {
59
    {
57
        $this->adapter = $adapter;
60
        $this->adapter      = $adapter;
58
        $this->logger = $logger;