lib/warden/manager.rb
# Invoke the application guarding for throw :warden.
# If this is downstream from another warden instance, don't do anything.
# :api: private
Invoke the application guarding for throw :warden.
If this is downstream from another warden instance, don't do anything.
:api: private
Invoke the application guarding for throw : warden . If this is downstream from another warden instance don ' t do anything . : api : private
def call(env) 
      return @app.call(env) if env['warden'] && env['warden'].manager != self
      env['warden'] = Proxy.new(env, self)
      result = catch(:warden) do
        env['warden'].on_request
        @app.call(env)
      end
      result ||= {}
      case result
      when Array
        handle_chain_result(result.first, result, env)
      when Hash
        process_unauthenticated(env, result)
      when Rack::Response
        handle_chain_result(result.status, result, env)
      end
    end
def call ( env ) return @app . call ( env ) if env [ 'warden' ] && env [ 'warden' ] . manager != self env [ 'warden' ] = Proxy . new ( env , self ) result = catch ( :warden ) do env [ 'warden' ] . on_request @app . call ( env ) end result ||= { } case result when Array handle_chain_result ( result . first , result , env ) when Hash process_unauthenticated ( env , result ) when Rack :: Response handle_chain_result ( result . status , result , env ) end end
Invoke the application guarding for throw :warden.
Invoke the application guarding for throw : warden .
# :nodoc:
env
<not_specific>