1 line
7.8 KiB
JSON
1 line
7.8 KiB
JSON
{"nodes": [{"id": "$graphify-root$_internal_auth_auth_go", "label": "auth.go", "file_type": "code", "source_file": "internal/auth/auth.go", "source_location": "L1"}, {"id": "auth_scope", "label": "Scope", "file_type": "code", "source_file": "internal/auth/auth.go", "source_location": "L20"}, {"id": "$graphify-root$_internal_auth_auth_authenticate", "label": "Authenticate()", "file_type": "code", "source_file": "internal/auth/auth.go", "source_location": "L33"}, {"id": "db", "label": "DB", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/auth/auth.go"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/auth/auth.go"}, {"id": "$graphify-root$_internal_auth_auth_checkapppassword", "label": "checkAppPassword()", "file_type": "code", "source_file": "internal/auth/auth.go", "source_location": "L53"}], "edges": [{"source": "$graphify-root$_internal_auth_auth_go", "target": "go_pkg_log_slog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_auth_auth_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L10", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_auth_auth_go", "target": "go_pkg_time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_auth_auth_go", "target": "go_pkg_gomail_internal_db", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L13", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_auth_auth_go", "target": "go_pkg_golang_org_x_crypto_bcrypt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L14", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_auth_auth_go", "target": "auth_scope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_internal_auth_auth_go", "target": "$graphify-root$_internal_auth_auth_authenticate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L33", "weight": 1.0}, {"source": "$graphify-root$_internal_auth_auth_authenticate", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L33", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_auth_auth_authenticate", "target": "auth_scope", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L33", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_auth_auth_authenticate", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L33", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_auth_auth_go", "target": "$graphify-root$_internal_auth_auth_checkapppassword", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_internal_auth_auth_checkapppassword", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L53", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_auth_auth_checkapppassword", "target": "auth_scope", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L53", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_auth_auth_authenticate", "target": "$graphify-root$_internal_auth_auth_checkapppassword", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/auth/auth.go", "source_location": "L46", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_auth_auth_authenticate", "callee": "LookupUserByEmail", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L34"}, {"caller_nid": "$graphify-root$_internal_auth_auth_authenticate", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L34"}, {"caller_nid": "$graphify-root$_internal_auth_auth_authenticate", "callee": "TrimSpace", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L34"}, {"caller_nid": "$graphify-root$_internal_auth_auth_authenticate", "callee": "CompareHashAndPassword", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L38"}, {"caller_nid": "$graphify-root$_internal_auth_auth_authenticate", "callee": "CompareHashAndPassword", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L42"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Query", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L54"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "UTC", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L57"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L57"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Close", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L62"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Next", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L64"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Scan", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L67"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Contains", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L70"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "string", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L70"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Contains", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L70"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "CompareHashAndPassword", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L73"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L74"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "UTC", "is_member_call": true, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L74"}, {"caller_nid": "$graphify-root$_internal_auth_auth_checkapppassword", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/auth/auth.go", "source_location": "L74"}]} |