{"nodes": [{"id": "home_asterix_desktop_app_main_updater_app_services_ipsecurity_ipsecurityguard_php", "label": "IpSecurityGuard.php", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L1"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard", "label": "IpSecurityGuard", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L9"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_construct", "label": ".__construct()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L11"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_shouldenforce", "label": ".shouldEnforce()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L16"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_check", "label": ".check()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L31"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_getblockreason", "label": ".getBlockReason()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L40"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_isblocked", "label": ".isBlocked()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L72"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_countryblockmessage", "label": ".countryBlockMessage()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L77"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "label": ".blockedResponse()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L88"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_loguseractivity", "label": ".logUserActivity()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L116"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_resolveforactivitylog", "label": ".resolveForActivityLog()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L125"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_basicclientlookup", "label": ".basicClientLookup()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L130"}, {"id": "ipsecurity_ipsecurityguard_ipsecurityguard_recordforuser", "label": ".recordForUser()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L141"}], "edges": [{"source": "home_asterix_desktop_app_main_updater_app_services_ipsecurity_ipsecurityguard_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L5", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_services_ipsecurity_ipsecurityguard_php", "target": "ipsecuritysetting", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L6", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_services_ipsecurity_ipsecurityguard_php", "target": "useriplog", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L7", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_services_ipsecurity_ipsecurityguard_php", "target": "ipsecurity_ipsecurityguard_ipsecurityguard", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L9", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L11", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_shouldenforce", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L16", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_check", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L31", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_getblockreason", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L40", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_isblocked", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L72", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_countryblockmessage", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L77", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L88", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_loguseractivity", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L116", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_resolveforactivitylog", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L125", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_basicclientlookup", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L130", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_recordforuser", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L141", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_check", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_shouldenforce", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L33", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_isblocked", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_getblockreason", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L74", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_getblockreason", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L90", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_countryblockmessage", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L95", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_loguseractivity", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_resolveforactivitylog", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L118", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_loguseractivity", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_recordforuser", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L121", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_resolveforactivitylog", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_check", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L127", "weight": 1.0}, {"source": "ipsecurity_ipsecurityguard_ipsecurityguard_resolveforactivitylog", "target": "ipsecurity_ipsecurityguard_ipsecurityguard_basicclientlookup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L127", "weight": 1.0}], "raw_calls": [{"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_shouldenforce", "callee": "ip_security_settings", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L18"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_check", "callee": "lookup", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L37"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_getblockreason", "callee": "ip_security_settings", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L42"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_getblockreason", "callee": "allowedCountryCodes", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L48"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_getblockreason", "callee": "in_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L49"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_countryblockmessage", "callee": "trans", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L82"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_countryblockmessage", "callee": "trans", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L85"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "expectsJson", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L92"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "request", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L92"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "json", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L94"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "response", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L94"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "json", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L99"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "response", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L99"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "view", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L103"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "response", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L103"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "trans", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L104"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "view", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L109"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_blockedresponse", "callee": "response", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L109"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_basicclientlookup", "callee": "resolveClientIpForLogging", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L132"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_recordforuser", "callee": "UserIpLog", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L143"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_recordforuser", "callee": "userAgent", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L154"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_recordforuser", "callee": "request", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L154"}, {"caller_nid": "ipsecurity_ipsecurityguard_ipsecurityguard_recordforuser", "callee": "save", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Services/IpSecurity/IpSecurityGuard.php", "source_location": "L162"}]}