Module: Warden::Mixins::Common
- Defined in:
- lib/devise/rails/warden_compat.rb
Instance Method Summary collapse
- #cookies ⇒ Object
- #request ⇒ Object
-
#reset_session! ⇒ Object
This is called internally by Warden on logout.
Instance Method Details
#cookies ⇒ Object
11 12 13 |
# File 'lib/devise/rails/warden_compat.rb', line 11 def request. end |
#request ⇒ Object
2 3 4 |
# File 'lib/devise/rails/warden_compat.rb', line 2 def request @request ||= ActionDispatch::Request.new(env) end |
#reset_session! ⇒ Object
This is called internally by Warden on logout
7 8 9 |
# File 'lib/devise/rails/warden_compat.rb', line 7 def reset_session! request.reset_session end |