{"nodes": [{"id": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "label": "MfaRouter.py", "file_type": "code", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L1"}, {"id": "post", "label": "post", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/MfaRouter.py"}, {"id": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "label": "setup_mfa()", "file_type": "code", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L18", "_callable": true}, {"id": "user", "label": "User", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/MfaRouter.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/MfaRouter.py"}, {"id": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "label": "verify_mfa()", "file_type": "code", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L53", "_callable": true}], "edges": [{"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "base64", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "app_core_database_db_session", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "app_core_permissions_rolechecker", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "app_models_usermodel", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "app_utils_mfa_util", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "target": "post", "relation": "references", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L17", "weight": 1.0, "context": "decorator"}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "relation": "contains", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "target": "user", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "target": "post", "relation": "references", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L52", "weight": 1.0, "context": "decorator"}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_py", "target": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "relation": "contains", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "target": "user", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L53", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "lower", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L25", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L26", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "get", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L29", "receiver": "db"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "User", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L29"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L31", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "generate_mfa_secret", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L34", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "commit", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L37", "receiver": "db"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "get_mfa_uri", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L40", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "qr_code_png_base64", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L41", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "b64decode", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L42", "receiver": "base64"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_setup_mfa", "callee": "split", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L42", "receiver": "qr_b64"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "lower", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L60", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L61", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "get", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L63", "receiver": "db"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "User", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L63"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L65", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L68", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "verify_mfa_token", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L70", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L71", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_mfarouter_verify_mfa", "callee": "commit", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/MfaRouter.py", "source_location": "L74", "receiver": "db"}]}