laminas / laminas-oauth

BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Class 'Zend_Oauth_Consumer' not found #4

Closed weierophinney closed 3 years ago

weierophinney commented 4 years ago

Hi,

I am using ZendOAuth to authenticate with an OAuth authentication. I have installed the package and all it dependencies using composer. But when I try to use this code, it can't find the Zend classes.

The code I use is the following

$consumer = new Zend_Oauth_Consumer($this->options);
$token = $consumer->getRequestToken();
echo $token;

I have included the autoloader from composer, All my other packages work fine.

Thank you for your help, Jerodev


Originally posted by @jerodev at https://github.com/zendframework/ZendOAuth/issues/24

weierophinney commented 3 years ago

Closing. The code refers to the Zend_Oauth component from ZF1, which is not relevant to this library.