Module: OpenidFu::ControllerMethods
- Defined in:
- lib/openid_fu/controller_methods.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/openid_fu/controller_methods.rb', line 7 def self.included(base) base.extend ClassMethods base.class_eval do verify :method => :post, :only => :begin, :params => :open_id_claimed_id, :redirect_to => {:action => 'new'} verify :method => :get, :only => :complete, :redirect_to => {:action => 'new'} before_filter :prepare_begin_open_id_auth, :only => :begin before_filter :prepare_complete_open_id_auth, :only => :complete attr_reader :open_id_request attr_reader :open_id_response attr_reader :open_id_fields cattr_accessor :open_id_consumer_options end end |