Example #1
0
 /**
  * @param string $realm
  * @param null $loop
  */
 function __construct($realm, $loop = null)
 {
     parent::__construct($realm, $loop);
     $this->setReady(false);
     $this->rules = [];
     $this->flushAuthorizationRules();
 }
Example #2
0
 /**
  * @param string $realm
  * @param LoopInterface $loop
  */
 function __construct($realm, LoopInterface $loop = null)
 {
     $this->stateHandlerMap = new \SplObjectStorage();
     $this->setReady(false);
     parent::__construct($realm, $loop);
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('thruway.auth');
     $this->authMethods = [];
     $this->ready = false;
 }