class Rack::Auth::AbstractHandler

Rack::Auth::AbstractHandler implements common authentication functionality.

realm should be set for all handlers.

Attributes

realm[RW]

Public Class Methods

new(app, realm=nil, &authenticator) click to toggle source
# File lib/rack/auth/abstract/handler.rb, line 11
def initialize(app, realm=nil, &authenticator)
  @app, @realm, @authenticator = app, realm, authenticator
end