Module: DeviseRemote::HttpHeaderAuthenticatableBehavior
- Included in:
- Devise::Strategies::HttpHeaderAuthenticatable
- Defined in:
- lib/devise_remote/http_header_authenticatable_behavior.rb
Instance Method Summary collapse
Instance Method Details
#valid_user?(headers) ⇒ Boolean
Note:
Called if the user doesn’t already have a rails session cookie
23 24 25 |
# File 'lib/devise_remote/http_header_authenticatable_behavior.rb', line 23 def valid_user?(headers) remote_user(headers).present? end |