OAuth Consumer And Server Library For PHP
A PHP library for OAuth consumers and servers. Complete with an extensible OAuth store, including a full working implementation of a MySQL store.
The library implements methods to:
- verify incoming requests against the library
- sign outgoing requests, with curl support for actually doing the request
- sign requests with a body
- administrate consumer keys and tokens for multiple users (server and consumer side)
- log incoming and outgoing requests handled by the library (optionally in the database)
This code is in active use for the anyMeta CMS. anyMeta is developed by Mediamatic Lab in Amsterdam, The Netherlands.
OAuth Consumer (client) How To
ConsumerHowTo describes the basic way to make an OAuth consumer.
OAuth Server (service provider) How To
ServerHowTo describes the basic way to make an OAuth enabled site (aka service provider).
Files
In OauthPhpFiles you can see an overview of the files in this projects.