new

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

Creates a new DigestAuth instance. Be sure to use the same DigestAuth instance for multiple requests as it saves state between requests in order to perform authentication.

See WEBrick::Config::DigestAuth 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::Htdigest instance should be used.

doc_ruby_on_rails
2015-06-11 14:56:37
Comments
Leave a Comment

Please login to continue.