Files
tfm_ainventory/graphify-out/cache/be0fefd2efc66aef999fa091f0ccb9e7b14c1cb04deb0f6c9936cfa906ec8dd1.json

1 line
21 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "label": "oauth2.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L1"}, {"id": "oauth2_oauth2passwordrequestform", "label": "OAuth2PasswordRequestForm", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L14"}, {"id": "oauth2_oauth2passwordrequestform_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L59"}, {"id": "oauth2_oauth2passwordrequestformstrict", "label": "OAuth2PasswordRequestFormStrict", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L162"}, {"id": "oauth2_oauth2passwordrequestformstrict_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L226"}, {"id": "oauth2_oauth2", "label": "OAuth2", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L330"}, {"id": "securitybase", "label": "SecurityBase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "oauth2_oauth2_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L343"}, {"id": "oauth2_oauth2_make_not_authenticated_error", "label": ".make_not_authenticated_error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L401"}, {"id": "oauth2_oauth2_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L423"}, {"id": "oauth2_oauth2passwordbearer", "label": "OAuth2PasswordBearer", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L433"}, {"id": "oauth2_oauth2passwordbearer_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L442"}, {"id": "oauth2_oauth2passwordbearer_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L536"}, {"id": "oauth2_oauth2authorizationcodebearer", "label": "OAuth2AuthorizationCodeBearer", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L547"}, {"id": "oauth2_oauth2authorizationcodebearer_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L553"}, {"id": "oauth2_oauth2authorizationcodebearer_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L642"}, {"id": "oauth2_securityscopes", "label": "SecurityScopes", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L653"}, {"id": "oauth2_securityscopes_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L666"}, {"id": "oauth2_rationale_15", "label": "This is a dependency class to collect the `username` and `password` as form data", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L15"}, {"id": "oauth2_rationale_163", "label": "This is a dependency class to collect the `username` and `password` as form data", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L163"}, {"id": "oauth2_rationale_331", "label": "This is the base class for OAuth2 authentication, an instance of it would be use", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L331"}, {"id": "oauth2_rationale_402", "label": "The OAuth 2 specification doesn't define the challenge that should be used,", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L402"}, {"id": "oauth2_rationale_434", "label": "OAuth2 flow for authentication using a bearer token obtained with a password.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L434"}, {"id": "oauth2_rationale_548", "label": "OAuth2 flow for authentication using a bearer token obtained with an OAuth2 code", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L548"}, {"id": "oauth2_rationale_654", "label": "This is a special class that you can define in a parameter in a dependency to", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L654"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "annotated_doc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "fastapi_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "fastapi_openapi_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "fastapi_openapi_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "fastapi_param_functions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "fastapi_security_base", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "fastapi_security_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "starlette_requests", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "starlette_status", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "oauth2_oauth2passwordrequestform", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L14", "weight": 1.0}, {"source": "oauth2_oauth2passwordrequestform", "target": "oauth2_oauth2passwordrequestform_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L59", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "oauth2_oauth2passwordrequestformstrict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L162", "weight": 1.0}, {"source": "oauth2_oauth2passwordrequestformstrict", "target": "oauth2_oauth2passwordrequestform", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L162", "weight": 1.0}, {"source": "oauth2_oauth2passwordrequestformstrict", "target": "oauth2_oauth2passwordrequestformstrict_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L226", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "oauth2_oauth2", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L330", "weight": 1.0}, {"source": "oauth2_oauth2", "target": "securitybase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L330", "weight": 1.0}, {"source": "oauth2_oauth2", "target": "oauth2_oauth2_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L343", "weight": 1.0}, {"source": "oauth2_oauth2", "target": "oauth2_oauth2_make_not_authenticated_error", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L401", "weight": 1.0}, {"source": "oauth2_oauth2", "target": "oauth2_oauth2_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L423", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "oauth2_oauth2passwordbearer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L433", "weight": 1.0}, {"source": "oauth2_oauth2passwordbearer", "target": "oauth2_oauth2", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L433", "weight": 1.0}, {"source": "oauth2_oauth2passwordbearer", "target": "oauth2_oauth2passwordbearer_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L442", "weight": 1.0}, {"source": "oauth2_oauth2passwordbearer", "target": "oauth2_oauth2passwordbearer_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L536", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "oauth2_oauth2authorizationcodebearer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L547", "weight": 1.0}, {"source": "oauth2_oauth2authorizationcodebearer", "target": "oauth2_oauth2", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L547", "weight": 1.0}, {"source": "oauth2_oauth2authorizationcodebearer", "target": "oauth2_oauth2authorizationcodebearer_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L553", "weight": 1.0}, {"source": "oauth2_oauth2authorizationcodebearer", "target": "oauth2_oauth2authorizationcodebearer_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L642", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_fastapi_security_oauth2_py", "target": "oauth2_securityscopes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L653", "weight": 1.0}, {"source": "oauth2_securityscopes", "target": "oauth2_securityscopes_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L666", "weight": 1.0}, {"source": "oauth2_oauth2passwordrequestformstrict_init", "target": "oauth2_securityscopes_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L320", "weight": 1.0}, {"source": "oauth2_oauth2_call", "target": "oauth2_oauth2_make_not_authenticated_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L427", "weight": 1.0}, {"source": "oauth2_oauth2passwordbearer_init", "target": "oauth2_securityscopes_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L529", "weight": 1.0}, {"source": "oauth2_oauth2passwordbearer_call", "target": "oauth2_oauth2_make_not_authenticated_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L541", "weight": 1.0}, {"source": "oauth2_oauth2authorizationcodebearer_init", "target": "oauth2_securityscopes_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L635", "weight": 1.0}, {"source": "oauth2_oauth2authorizationcodebearer_call", "target": "oauth2_oauth2_make_not_authenticated_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L647", "weight": 1.0}, {"source": "oauth2_rationale_15", "target": "oauth2_oauth2passwordrequestform", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L15", "weight": 1.0}, {"source": "oauth2_rationale_163", "target": "oauth2_oauth2passwordrequestformstrict", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L163", "weight": 1.0}, {"source": "oauth2_rationale_331", "target": "oauth2_oauth2", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L331", "weight": 1.0}, {"source": "oauth2_rationale_402", "target": "oauth2_oauth2_make_not_authenticated_error", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L402", "weight": 1.0}, {"source": "oauth2_rationale_434", "target": "oauth2_oauth2passwordbearer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L434", "weight": 1.0}, {"source": "oauth2_rationale_548", "target": "oauth2_oauth2authorizationcodebearer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L548", "weight": 1.0}, {"source": "oauth2_rationale_654", "target": "oauth2_securityscopes", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L654", "weight": 1.0}], "raw_calls": [{"caller_nid": "oauth2_oauth2passwordrequestform_init", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L157"}, {"caller_nid": "oauth2_oauth2passwordrequestformstrict_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L320"}, {"caller_nid": "oauth2_oauth2_init", "callee": "OAuth2Model", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L395"}, {"caller_nid": "oauth2_oauth2_init", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L396"}, {"caller_nid": "oauth2_oauth2_make_not_authenticated_error", "callee": "HTTPException", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L417"}, {"caller_nid": "oauth2_oauth2_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L424"}, {"caller_nid": "oauth2_oauth2passwordbearer_init", "callee": "OAuthFlowsModel", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L519"}, {"caller_nid": "oauth2_oauth2passwordbearer_init", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L520"}, {"caller_nid": "oauth2_oauth2passwordbearer_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L529"}, {"caller_nid": "oauth2_oauth2passwordbearer_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L537"}, {"caller_nid": "oauth2_oauth2passwordbearer_call", "callee": "get_authorization_scheme_param", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L538"}, {"caller_nid": "oauth2_oauth2passwordbearer_call", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L539"}, {"caller_nid": "oauth2_oauth2authorizationcodebearer_init", "callee": "OAuthFlowsModel", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L624"}, {"caller_nid": "oauth2_oauth2authorizationcodebearer_init", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L625"}, {"caller_nid": "oauth2_oauth2authorizationcodebearer_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L635"}, {"caller_nid": "oauth2_oauth2authorizationcodebearer_call", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L643"}, {"caller_nid": "oauth2_oauth2authorizationcodebearer_call", "callee": "get_authorization_scheme_param", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L644"}, {"caller_nid": "oauth2_oauth2authorizationcodebearer_call", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L645"}, {"caller_nid": "oauth2_securityscopes_init", "callee": "Doc", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L679"}, {"caller_nid": "oauth2_securityscopes_init", "callee": "Doc", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L687"}, {"caller_nid": "oauth2_securityscopes_init", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/fastapi/security/oauth2.py", "source_location": "L693"}]}