class Rack::Auth::Basic::Request
def basic?
def basic? "basic" == scheme && credentials.length == 2 end
def credentials
def credentials @credentials ||= Base64.decode64(params).split(':', 2) end
def username
def username credentials.first end
def basic? "basic" == scheme && credentials.length == 2 end
def credentials @credentials ||= Base64.decode64(params).split(':', 2) end
def username credentials.first end