Sha256: 259886a07af424f003882f6350efb3e0c7abdf6a9d5133b5bd091b241b8f4c2c

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

require 'rack/lobster'
require 'rack/simple_auth'

request_config = {
  'GET' => 'pathasdf',
  'POST' => 'paramas',
  'DELETE' => 'path',
  'PUT' => 'path',
  'PATCH' => 'path',
}

# Middleware should not be runnable...
run Rack::SimpleAuth::HMAC::Middleware do |options|
  options.tolerance = 0.5
  options.stepsize  = 0.01

  options.secret = 'test_secret'
  options.signature = 'test_signature'

  options.logpath = "#{File.expand_path('..', __FILE__)}/logs"
  options.request_config = request_config
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-simple_auth-1.0.0rc test/rack/simple_auth/hmac/config_fail_run.ru