Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Zend_Auth adapter for authenticating with Twitter's OAuth service
PHP
branch: master
Failed to load latest commit information.
example Splitting adapters for ZF1 and ZF2
library/Ja/Auth/Adapter/Oauth
zf1 Splitting adapters for ZF1 and ZF2
zf2 Modification of adapter to use latest ZF2 release. Also migrated to its
.gitignore
README Updated readme with ZF2 references

README

This is example code showing the theoretical implementation of an OAuth authentication
adapter for Zend Framework.  There are 2 separate implementations of this adapter.

The first is for ZF 1.x releases.  The other is for the impending ZF 2.0 release.

This code corresponds to the proposal for the Zend_Auth_Adapter_Twitter 
component.

http://framework.zend.com/wiki/display/ZFPROP/Zend_Auth_Adapter_Twitter+-+Jason+Austin

The example code for ZF1 was created using Zend Framework 1.11.  Download this yourself 
and put the Zend/ folder in the library folder.

Also, you will need to rename /example/config.example.php to /example/config.php.

You will need to register your application with Twitter.com.  To do so, go to
http://twitter.com/apps/ and "Register a new Application".  You will get a 
consumer key and secret, which you will need to put into the config.php file
you just created.  Also, you will need to provide a callback URL.  For this 
example, it is http://{whatever your URL is}/zf[1 or 2]/example/auth.php.

For questions, contact Jason Austin at jfaustin at gmail dot com. 

Jason Austin
@jason_austin
http://jasonawesome.com
 
Something went wrong with that request. Please try again.