public
Description: A Ruby on Rails plugin for OpenID authentication and profile exchange
Homepage: http://identity.eastmedia.com/identity/show/Restful+OpenID+Authentication
Clone URL: git://github.com/ReinH/restful_open_id_authentication.git
name age message
file README Mon Feb 26 22:07:23 -0800 2007 * Update accuracy of README git-svn-id: http:/... [matt]
file Rakefile Mon Feb 26 03:35:46 -0800 2007 * Adding first version of restful_authenticatio... [matt]
directory generators/ Mon Feb 26 23:46:17 -0800 2007 * Update generator messaging * Consolidate Acti... [matt]
file init.rb Mon Feb 26 23:46:17 -0800 2007 * Update generator messaging * Consolidate Acti... [matt]
file install.rb Mon Feb 26 03:35:46 -0800 2007 * Adding first version of restful_authenticatio... [matt]
directory lib/ Mon Feb 26 23:46:17 -0800 2007 * Update generator messaging * Consolidate Acti... [matt]
README
RESTful OpenID Authentication 0.1
===================

A Ruby on Rails plugin for OpenID authentication and profile exchange

Developed by EastMedia (http://www.eastmedia.com) for VeriSign
Contact Matt Pelletier - matt AT eastmedia.com

Thanks to atmos for working on an extension of restful_authentication that piggy-backed
the original open_id_consumer plugin. This plugin merges some of those ideas with others
and merged them with the open_id_consumer plugin.


WHAT IS IT?
-----------

Installing this plugin allows you to extend your Rails application with OpenID authentication and profile exchange.


PRE-REQUISITES
--------------

* JanRain's Yadis and OpenID 1.1 libraries in Ruby.
  * These can be obtained using 'gem install ruby-openid'
* Requires you have an OpenID account, such as from one of the following:
  * http://pip.verisignlabs.com
  * http://www.myopenid.com
* Rails 1.2.2 (for the singular resource routes. otherwise 1.2.1 should be fine)
* SimplyRestful plugin from Rails
  * ./script/plugin install http://svn.rubonrails.org/rails/plugins/simply_restful


INSTALLATION
------------

To install you need to run the generator script. This script will:
* Create a migration to create tables for the user and OpenID-related tables
* Generate two controllers (one for the model and one for the session)
* Generate the user model

  ./script/generate open_id_authenticated USERMODEL CONTROLLERNAME
  
Where USERMODEL would be 'User' and CONTROLLERNAME would be 'Session' by default

You should add RESTful routes (this is also recommended in the generator output).
For example, if your model is 'User' and your login controller is 'Session':

  map.resources :users
  map.resource  :session, :collection => { :begin => :post, :complete => :get }


EDUCATION
---------

On the Web:
http://www.openidenabled.com/
http://www.openidenabled.com/openid/simple-registration-extension/

On IRC:
Freenode: #openid and ##identity

More to come