Module: AuthlogicConnect::Common::Session::InstanceMethods
- Defined in:
- lib/authlogic_connect/common/session.rb
Instance Method Summary collapse
-
#save(&block) ⇒ Object
core save method coordinating how to save the session.
Instance Method Details
#save(&block) ⇒ Object
core save method coordinating how to save the session
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/authlogic_connect/common/session.rb', line 14 def save(&block) block_destroyed = false if authenticating_with_openid? block_destroyed = save_with_openid(&block) elsif authenticating_with_oauth? block_destroyed = save_with_oauth(&block) end block = nil if block_destroyed super(&block) end |