Class

Rack::Auth::Digest::MD5

Inheritance
< AbstractHandler

Rack::Auth::Digest::MD5 implements the MD5 algorithm version of HTTP Digest Authentication, as per RFC 2617.

Initialize with the [Rack] application that you want protecting, and a block that looks up a plaintext password for a given username.

opaque needs to be set to a constant base64/hexadecimal string.

Constants

Name   Description
QOP = 'auth'.freeze

Attributes

Name Visibility R/W Description
opaque public RW
passwords_hashed public W

Methods

Class

Visibility Signature
public new (*args)

Instance

Visibility Signature
public call (env)
public passwords_hashed? ()

Class Method Detail

new(*args)

Instance Method Detail

call(env)

passwords_hashed?()