Exemplo n.º 1
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @throws ezcBaseFileNotFoundException
  *         if the $value file does not exist
  * @throws ezcBaseFilePermissionException
  *         if the $value file cannot be opened for reading
  * @param array(string=>mixed) $options Options for this class
  */
 public function __construct(array $options = array())
 {
     $this->validity = 0;
     // seconds
     $this->keysFile = 'http://www.typekey.com/extras/regkeys.txt';
     $this->requestSource = $_GET !== null ? $_GET : array();
     parent::__construct($options);
 }
Exemplo n.º 2
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options Options for this class
  */
 public function __construct(array $options = array())
 {
     $this->mode = ezcAuthenticationOpenidFilter::MODE_DUMB;
     // stateless mode
     $this->store = null;
     $this->nonceKey = 'nonce';
     $this->nonceLength = 6;
     // characters
     $this->nonceValidity = 24 * 60 * 60;
     // seconds
     $this->timeout = 3;
     // seconds
     $this->timeoutOpen = 3;
     // seconds
     $this->requestSource = $_GET !== null ? $_GET : array();
     $this->immediate = false;
     $this->returnUrl = null;
     // default = return to the currently called URL
     parent::__construct($options);
 }
Exemplo n.º 3
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options Options for this class
  */
 public function __construct(array $options = array())
 {
     parent::__construct($options);
 }
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options Options for this class
  */
 public function __construct(array $options = array())
 {
     $this->mode = ezcAuthenticationGroupFilter::MODE_OR;
     $this->multipleCredentials = false;
     parent::__construct($options);
 }
Exemplo n.º 5
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options Options for this class
  */
 public function __construct(array $options = array())
 {
     $this->protocol = ezcAuthenticationLdapFilter::PROTOCOL_PLAIN;
     parent::__construct($options);
 }
Exemplo n.º 6
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options Options for this class
  */
 public function __construct(array $options = array())
 {
     $this->plain = false;
     parent::__construct($options);
 }