1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "$graphify-root$_internal_webtoken_webtoken_go", "label": "webtoken.go", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L1"}, {"id": "webtoken_claims", "label": "Claims", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L21"}, {"id": "$graphify-root$_internal_webtoken_webtoken_issue", "label": "Issue()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L34"}, {"id": "duration", "label": "Duration", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/webtoken/webtoken.go"}, {"id": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "label": "IssueWithPurpose()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L42"}, {"id": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "label": "IssueResetToken()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L64"}, {"id": "$graphify-root$_internal_webtoken_webtoken_fingerprint", "label": "Fingerprint()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L85"}, {"id": "$graphify-root$_internal_webtoken_webtoken_fingerprintmatches", "label": "FingerprintMatches()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L92"}, {"id": "$graphify-root$_internal_webtoken_webtoken_verify", "label": "Verify()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L97"}, {"id": "$graphify-root$_internal_webtoken_webtoken_sign", "label": "sign()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L125"}, {"id": "$graphify-root$_internal_webtoken_webtoken_base64urlencode", "label": "base64URLEncode()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L131"}, {"id": "$graphify-root$_internal_webtoken_webtoken_base64urldecode", "label": "base64URLDecode()", "file_type": "code", "source_file": "internal/webtoken/webtoken.go", "source_location": "L135"}], "edges": [{"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_crypto_hmac", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_crypto_sha256", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_crypto_subtle", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L13", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_encoding_base64", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L14", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_encoding_json", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L15", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_fmt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L16", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L17", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "go_pkg_time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L18", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "webtoken_claims", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_issue", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issue", "target": "duration", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L34", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L42", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "target": "duration", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L42", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L64", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "target": "duration", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L64", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_fingerprint", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L85", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_fingerprintmatches", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L92", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_fingerprintmatches", "target": "webtoken_claims", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L92", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_verify", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L97", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_verify", "target": "webtoken_claims", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L97", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_sign", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L125", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_base64urlencode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L131", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_go", "target": "$graphify-root$_internal_webtoken_webtoken_base64urldecode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L135", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issue", "target": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "target": "$graphify-root$_internal_webtoken_webtoken_base64urlencode", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L52", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "target": "$graphify-root$_internal_webtoken_webtoken_sign", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L55", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "target": "$graphify-root$_internal_webtoken_webtoken_base64urlencode", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L75", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "target": "$graphify-root$_internal_webtoken_webtoken_sign", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_fingerprintmatches", "target": "$graphify-root$_internal_webtoken_webtoken_fingerprint", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L93", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_verify", "target": "$graphify-root$_internal_webtoken_webtoken_sign", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L103", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_verify", "target": "$graphify-root$_internal_webtoken_webtoken_base64urldecode", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L110", "weight": 1.0}, {"source": "$graphify-root$_internal_webtoken_webtoken_sign", "target": "$graphify-root$_internal_webtoken_webtoken_base64urlencode", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/webtoken/webtoken.go", "source_location": "L128", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "callee": "UTC", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L43"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L43"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "callee": "Unix", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L46"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "callee": "Unix", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L46"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "callee": "Add", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L46"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "callee": "Marshal", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L48"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issuewithpurpose", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L50"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "callee": "UTC", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L65"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L65"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "callee": "Unix", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L69"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "callee": "Unix", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L69"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "callee": "Add", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L69"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "callee": "Marshal", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L71"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_issueresettoken", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L73"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_fingerprint", "callee": "Sum256", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L86"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_fingerprint", "callee": "EncodeToString", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L87"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_fingerprintmatches", "callee": "ConstantTimeCompare", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L93"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Split", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L98"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L100"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "ConstantTimeCompare", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L106"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L107"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L112"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Unmarshal", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L115"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L116"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Unix", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L119"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "UTC", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L119"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L119"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_verify", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L120"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_sign", "callee": "New", "is_member_call": false, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L126"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_sign", "callee": "Write", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L127"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_sign", "callee": "Sum", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L128"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_base64urlencode", "callee": "EncodeToString", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L132"}, {"caller_nid": "$graphify-root$_internal_webtoken_webtoken_base64urldecode", "callee": "DecodeString", "is_member_call": true, "language": "go", "source_file": "internal/webtoken/webtoken.go", "source_location": "L136"}]} |