__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
Beispiel #1
0
 public function __construct(IUserStorage $storage, IAuthenticator $authenticator = null, IAuthorizator $authorizator = null, UserService $userService)
 {
     parent::__construct($storage, $authenticator, $authorizator);
     $this->userService = $userService;
 }
 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;
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #5
0
 public function __construct(IUserStorage $storage, Container $context)
 {
     parent::__construct($storage, null);
     $this->context = $context;
 }
Beispiel #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);
 }