Class

WEBrick::HTTPAuth::DigestAuth

Inheritance
< Object
Included Modules
Authenticator

Constants

Name   Description
AuthScheme = "Digest"
MustParams = ['username','realm','nonce','uri','response']
MustParamsAuth = ['cnonce','nc']
OpaqueInfo = Struct.new(:time, :nonce, :nc)

Attributes

Name Visibility R/W Description
algorithm public R
qop public R

Methods

Class

Visibility Signature
public make_passwd (realm, user, pass)
public new (config, default=Config::DigestAuth)

Instance

Visibility Signature
public authenticate (req, res)
public challenge (req, res, stale=false)

Class Method Detail

make_passwd(realm, user, pass)

new(config, default=Config::DigestAuth)

Instance Method Detail

authenticate(req, res)

challenge(req, res, stale=false)