Method: Idsimple::Rack::Helper#unauthorized_response

Defined in:
lib/idsimple/rack/helper.rb

#unauthorized_response(req, res = ::Rack::Response.new) ⇒ Object



19
20
21
22
23
# File 'lib/idsimple/rack/helper.rb', line 19

def unauthorized_response(req, res = ::Rack::Response.new)
  logger.info("Unauthorized")
  configuration.unauthorized_response.call(req, res)
  res.finish
end