lib/httpclient/auth.rb
# Challenge handler: remember URL and challenge token for response.
Challenge handler: remember URL and challenge token for response.
Challenge handler : remember URL and challenge token for response .
def challenge(uri, param_str)
      return false unless SSPIEnabled
      if param_str.nil? or @challenge[uri].nil?
        c = @challenge[uri] = {}
        c[:state] = :init
        c[:authenticator] = nil
        c[:authphrase] = ""
      else
        c = @challenge[uri]
        c[:state] = :response
        c[:authphrase] = param_str
      end
      true
    end
def challenge ( uri , param_str ) return false unless SSPIEnabled if param_str . nil? or @challenge [ uri ] . nil? c = @challenge [ uri ] = { } c [ :state ] = :init c [ :authenticator ] = nil c [ :authphrase ] = "" else c = @challenge [ uri ] c [ :state ] = :response c [ :authphrase ] = param_str end true end
Challenge handler: remember URL and challenge token for response.
Challenge handler : remember URL and challenge token for response .
uri
<not_specific>
param_str
<not_specific>