__construct() public method

public __construct ( Nette\Security\IUserStorage $storage, Nette\Security\IAuthenticator $authenticator = NULL, Nette\Security\IAuthorizator $authorizator = NULL )
$storage Nette\Security\IUserStorage
$authenticator Nette\Security\IAuthenticator
$authorizator Nette\Security\IAuthorizator
Ejemplo n.º 1
0
 public function __construct(IUserStorage $storage, IAuthenticator $authenticator = null, IAuthorizator $authorizator = null, UserService $userService)
 {
     parent::__construct($storage, $authenticator, $authorizator);
     $this->userService = $userService;
 }
Ejemplo n.º 2
0
 public function __construct(IUserStorage $storage, IAuthenticator $authenticator = NULL, IAuthorizator $authorizator = NULL, Acl $acl, RepositoryContainer $orm)
 {
     parent::__construct($storage, $authenticator, $authorizator);
     $this->acl = $acl;
     $this->orm = $orm;
 }
Ejemplo n.º 3
0
 public function __construct(Storage $storage, Authenticator $authenticator = NULL, Nette\Security\IAuthorizator $authorizator = NULL, IdentityHash $identityHash)
 {
     parent::__construct($storage, $authenticator, $authorizator);
     $this->storage = $storage;
     $this->identityHash = $identityHash;
 }
Ejemplo n.º 4
0
 public function __construct(UserFacade $userFacade, IUserStorage $storage, UserRepository $userRepository, IAuthenticator $authenticator = null, IAuthorizator $authorizator = null)
 {
     parent::__construct($storage, $authenticator, $authorizator);
     $this->userFacade = $userFacade;
     $this->userRepository = $userRepository;
 }
Ejemplo n.º 5
0
 public function __construct(IUserStorage $storage, Container $context)
 {
     parent::__construct($storage, null);
     $this->context = $context;
 }
Ejemplo n.º 6
0
 /**
  * @param IUserStorage $storage
  * @param IAuthenticator $authenticator
  * @param IAuthorizator $authorizator
  * @internal param \MYPS\Security\EntityManager $em
  */
 public function __construct(IUserStorage $storage, IAuthenticator $authenticator = NULL, IAuthorizator $authorizator = NULL)
 {
     parent::__construct($storage, $authenticator, $authorizator);
 }