Class/Module Index [+]

Quicksearch

Authlogic::Session::HttpAuth::Config

Configuration for the HTTP basic auth feature of Authlogic.

Public Instance Methods

allow_http_basic_auth(value = nil) click to toggle source

Do you want to allow your users to log in via HTTP basic auth?

I recommend keeping this enabled. The only time I feel this should be disabled is if you are not comfortable having your users provide their raw username and password. Whatever the reason, you can disable it here.

  • Default: true

  • Accepts: Boolean

# File lib/authlogic/session/http_auth.rb, line 27
def allow_http_basic_auth(value = nil)
  rw_config(:allow_http_basic_auth, value, true)
end
Also aliased as: allow_http_basic_auth=
allow_http_basic_auth=(value = nil) click to toggle source

[Validate]

Generated with the Darkfish Rdoc Generator 2.