class Rack::Auth::Basic::Request
Public Instance Methods
Source
# File lib/rack/auth/basic.rb, line 45 def basic? "basic" == scheme && credentials.length == 2 end
Source
# File lib/rack/auth/basic.rb, line 49 def credentials @credentials ||= params.unpack("m").first.split(':', 2) end