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