If you want to use OAuth with many services out of box, you can use sfMelodyPlugin.
It's an implementation of OAuth version 1 and 2 for easy using with symfony.
Feel free to contribute on github : sfDoctrineOAuthPlugin
-
Install
$ symfony plugin:install sfDoctrineOAuthPlugin
-
Clear cache
$ symfony cc
-
Rebuild model and db by generating migrations (thanks to gimler for this parts)
$ symfony doctrine:generate-migrations-diff $ symfony doctrine:build --all-classes $ symfony doctrine:migrate
-
Or all in one
$ symfony doctrine:build --all
- Documentation ;-)