Module: Authlogic::Session::HttpAuth
- Included in:
- Base
- Defined in:
- lib/authlogic/session/http_auth.rb
Overview
Handles all authentication that deals with basic HTTP auth. Which is authentication built into the HTTP protocol:
http://username:[email protected]
Also, if you are not comfortable letting users pass their raw username and password you can always use the single access token. See Authlogic::Session::Params for more info.
Defined Under Namespace
Modules: Config, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/authlogic/session/http_auth.rb', line 10 def self.included(klass) klass.class_eval do extend Config include InstanceMethods persist :persist_by_http_auth, :if => :persist_by_http_auth? end end |