Пример #1
0
 public function __construct(ClassResolverInterface $classResolver, ObjectManager $objectManager, $rememberTime = 2419200)
 {
     parent::__construct('authentication');
     $this->classResolver = $classResolver;
     $this->objectManager = $objectManager;
     $this->rememberTime = $rememberTime;
 }
Пример #2
0
 /**
  * Constructor
  *
  * @param array $options
  */
 public function __construct($options = array())
 {
     $namespace = $options['namespace'];
     $member = $options['member'];
     $sessionManager = isset($options['session_manager']) ? $options['session_manager'] : Pi::service('session')->manager();
     parent::__construct($namespace, $member, $sessionManager);
     $this->setOptions($options);
 }
Пример #3
0
 /**
  *
  */
 public function __construct($namespace = 'Msingi\\Cms\\Service\\AuthStorage')
 {
     parent::__construct($namespace);
 }
Пример #4
0
 /**
  * __construct
  * @todo Passing null SessionManager can have unintended consequences
  *
  * @param string         $namespace namespace
  * @param string         $member    member
  * @param SessionManager $manager   manager
  */
 public function __construct($namespace = 'RcmUser', $member = 'user', SessionManager $manager = null)
 {
     parent::__construct($namespace, $member, $manager);
 }
 public function __construct($namespace = null)
 {
     parent::__construct($namespace);
     $this->namespace = $namespace;
 }
Пример #6
0
 /**
  * Sets session storage options and initializes session namespace object
  *
  * @param  mixed $namespace
  * @param  mixed $member
  * @param  SessionManager $manager
  * @param array | \DoctrineModule\Options\Authentication $options
  */
 public function __construct($namespace = null, $member = null, SessionManager $manager = null, $options = [])
 {
     parent::__construct($namespace, $member, $manager);
     $this->setOptions($options);
 }
Пример #7
0
 public function __construct($namespace = 'auth', $member = null, SessionManager $manager = null)
 {
     parent::__construct($namespace, $member, $manager);
 }