# File lib/openid/consumer.rb, line 377 def complete_id_res(message, current_url) if message.is_openid1 setup_url = message.get_arg(OPENID_NS, 'user_setup_url') if !setup_url.nil? return SetupNeededResponse.new(last_requested_endpoint, setup_url) end end begin idres = handle_idres(message, current_url) rescue OpenIDError => why return FailureResponse.new(last_requested_endpoint, why.message) else return SuccessResponse.new(idres.endpoint, message, idres.signed_fields) end end