Class

Rack::Auth::Basic

Inheritance
< Rack::Auth::AbstractHandler < Object

Rack::Auth::Basic implements HTTP Basic Authentication, as per RFC 2617.

Initialize with the Rack application that you want protecting, and a block that checks if a username and password pair are valid.

See also: example/protectedlobster.rb

Classes & Modules

Methods

Instance

Visibility Signature
public call (env)

Instance Method Detail

call(env)