new

new(config, default=Config::BasicAuth)
Class Public methods

Creates a new BasicAuth instance.

See WEBrick::Config::BasicAuth for default configuration entries

You must supply the following configuration entries:

:Realm

The name of the realm being protected.

:UserDB

A database of usernames and passwords. A WEBrick::HTTPAuth::Htpasswd instance should be used.

doc_ruby_on_rails
2015-06-11 14:29:08
Comments
Leave a Comment

Please login to continue.