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 |
public function __construct(IUserStorage $storage, IAuthenticator $authenticator = NULL, IAuthorizator $authorizator = NULL)
{
$this->storage = $storage;
$this->authenticator = $authenticator;
$this->authorizator = $authorizator;
}
public function __construct(IUserStorage $storage, IAuthenticator $authenticator = null, IAuthorizator $authorizator = null, UserService $userService) { parent::__construct($storage, $authenticator, $authorizator); $this->userService = $userService; }