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); }
/** * 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); }