Sha256: 48131797ffcb6190292754f8398a4de55c519908ad2dead2f32bbd55259e5668

Contents?: true

Size: 158 Bytes

Versions: 14

Compression:

Stored size: 158 Bytes

Contents

require 'sinatra'

use Rack::Auth::Basic do |username, password|
  [username, password] == %w(username password)
end

get '/auth' do
    'authenticated!'
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/support/servers/arachni/http_auth.rb
arachni-0.4.6 spec/support/servers/arachni/http_auth.rb
arachni-0.4.5.2 spec/support/servers/arachni/http_auth.rb
arachni-0.4.5.1 spec/support/servers/arachni/http_auth.rb
arachni-0.4.5 spec/support/servers/arachni/http_auth.rb
arachni-0.4.4 spec/support/servers/arachni/http_auth.rb
arachni-0.4.3.2 spec/support/servers/arachni/http_auth.rb
arachni-0.4.3.1 spec/support/servers/arachni/http_auth.rb
arachni-0.4.3 spec/support/servers/arachni/http_auth.rb
arachni-0.4.2 spec/servers/arachni/http_auth.rb
arachni-0.4.1.3 spec/servers/arachni/http_auth.rb
arachni-0.4.1.2 spec/servers/arachni/http_auth.rb
arachni-0.4.1.1 spec/servers/arachni/http_auth.rb
arachni-0.4.1 spec/servers/arachni/http_auth.rb