Sha256: c9813ea9eeef266a5ac96c5d27ff327c2359bd23fbaef4f8218c448f945cc909

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

require 'rubygems'
require 'rack'
require 'rack/openid'
require 'lib/easy_rack_open_id'

use Rack::ShowExceptions

class HelloWorld
  def call(env)
    [200, {"Content-Type" => "text/plain"}, ["Made it through!"]]
  end
end


# require 'openid_mongodb_store'
# MongoMapper.database = 'testorama'

use Rack::Session::Cookie
use Rack::OpenID #, OpenidMongodbStore::Store.new
use EasyRackOpenID, :allowed_identifiers => ['http://example.com/'], :after_logout_path => '/login'
run HelloWorld.new

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easy-rack-open-id-0.1.0 config.ru