Exemple #1
0
 public function init(array $options)
 {
     parent::init($options);
     $this->key = $options['twitter']['key'];
     $this->secret = $options['twitter']['secret'];
     $this->consumer = new HTTP_OAuth_Consumer($this->key, $this->secret);
 }
Exemple #2
0
 /**
  * Verification step for the auth driver.  Returns an array currenty, which
  * sucks.
  *
  * @param array $options Optional set of options to pass to the driver
  *
  * @return array()
  */
 public function verify(array $options = array())
 {
     $this->getStore();
     return $this->driver->verify($options);
 }