Class | Rack::Auth::Basic |
In: |
lib/rack/auth/basic.rb
|
Parent: | AbstractHandler |
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