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
100644 15 lines (14 sloc) 0.35 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
begin
  gem 'ruby-openid'
  require 'openid'
rescue LoadError
  puts "Install the ruby-openid gem to enable OpenID support"
end
require 'open_id_store'
require 'controller_methods'
 
class << ActionController::Base
  def open_id_consumer(options = {})
    include OpenIdConsumer::ControllerMethods
    self.open_id_consumer_options = options
  end
end