Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/everzet/sfopenidconsumerplugin
OpenID consumer plugin for symfony
https://github.com/everzet/sfopenidconsumerplugin
Last synced: about 1 month ago
JSON representation
OpenID consumer plugin for symfony
- Host: GitHub
- URL: https://github.com/everzet/sfopenidconsumerplugin
- Owner: everzet
- Created: 2010-04-09T11:34:21.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2010-04-09T11:34:39.000Z (almost 15 years ago)
- Last Synced: 2024-10-15T13:25:51.312Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
sfOpenIDConsumerPlugin
====*OpenID consumer plugin for symfony*
sfOpenIDConsumerPlugin is a plugin for symfony applications. It implements basic OpenID authorization process, that you can hook in.
Installation
============Prerequisites: Zend Framework
-----------------------------------There's need to install zend framework for your application. To do this:
1. Download zend framework & unzip it;
2. Put library/Zend folder under your project's lib/vendor/zend
3. Add this to your `ProjectConfiguration::setup()` method:// Integrate Zend Framework
if ($sf_zend_lib_dir = sfConfig::get('sf_lib_dir') . '/vendor')
{
set_include_path($sf_zend_lib_dir.PATH_SEPARATOR.get_include_path());
require_once($sf_zend_lib_dir.'/zend/Loader/Autoloader.php');
spl_autoload_register(array('Zend_Loader_Autoloader', 'autoload'));
}Using git clone
-----------------------------------Use this to install as a plugin in a symfony app:
$ cd plugins && git clone git://github.com/everzet/sfOpenIDConsumerPlugin.git
Using git submodules
-----------------------------------Use this if you prefer to use git submodules for plugins:
$ git submodule add git://github.com/everzet/sfOpenIDConsumerPlugin.git plugins/sfOpenIDConsumerPlugin
Configuring your applications
-----------------------------------Add this line to `ProjectConfiguration::setup()` method:
$this->enablePlugins('sfOpenIDConsumerPlugin');
Usage
=====After installation, you need to write your own actions, that will extends `sfOpenIDConsumerBaseActions`. Look at `sfOpenIDConsumerBaseActions::executeLogin()` & `sfOpenIDConsumerBaseActions::executeVerify()` actions to understand how controller works. You can hook in
Contributors
============* everzet (lead): [http://github.com/everzet](http://github.com/everzet)
Based on [zend framework's](http://framework.zend.com/) OpenID consumer plugin