- Added a new column `national_code_verified` to the `users` table. - Normalized the `bank_account` field in the `representations` table from a single object to an array of IBANs with a default `verified` status of false. feat(ApiIrService): implement identity verification client for api.ir - Created `ApiIrService` to handle identity verification via api.ir. - Implemented methods for matching national code with mobile and IBAN with national code and birth date. - Added error handling and logging for external API requests.
1 line
8.8 KiB
JSON
1 line
8.8 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_auth_service_tokenservice_php", "label": "TokenService.php", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L1"}, {"id": "service_tokenservice_tokenservice", "label": "TokenService", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L11"}, {"id": "service_tokenservice_tokenservice_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L13"}, {"id": "service_tokenservice_tokenservice_issuetokens", "label": ".issueTokens()", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L19"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L19"}, {"id": "service_tokenservice_tokenservice_refreshtoken", "label": ".refreshToken()", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L33"}, {"id": "service_tokenservice_tokenservice_revokerefreshtoken", "label": ".revokeRefreshToken()", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L47"}, {"id": "service_tokenservice_tokenservice_storerefreshtoken", "label": ".storeRefreshToken()", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L52"}, {"id": "service_tokenservice_tokenservice_refreshkey", "label": ".refreshKey()", "file_type": "code", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L65"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_auth_service_tokenservice_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_auth_service_tokenservice_php", "target": "errorcodes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_auth_service_tokenservice_php", "target": "appexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_auth_service_tokenservice_php", "target": "jwttokenmanagerinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_auth_service_tokenservice_php", "target": "cacheinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_auth_service_tokenservice_php", "target": "service_tokenservice_tokenservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L11", "weight": 1.0}, {"source": "service_tokenservice_tokenservice", "target": "service_tokenservice_tokenservice_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L13", "weight": 1.0}, {"source": "service_tokenservice_tokenservice", "target": "service_tokenservice_tokenservice_issuetokens", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L19", "weight": 1.0}, {"source": "service_tokenservice_tokenservice_issuetokens", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L19", "weight": 1.0, "context": "parameter_type"}, {"source": "service_tokenservice_tokenservice", "target": "service_tokenservice_tokenservice_refreshtoken", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L33", "weight": 1.0}, {"source": "service_tokenservice_tokenservice", "target": "service_tokenservice_tokenservice_revokerefreshtoken", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L47", "weight": 1.0}, {"source": "service_tokenservice_tokenservice", "target": "service_tokenservice_tokenservice_storerefreshtoken", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L52", "weight": 1.0}, {"source": "service_tokenservice_tokenservice", "target": "service_tokenservice_tokenservice_refreshkey", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L65", "weight": 1.0}, {"source": "service_tokenservice_tokenservice_issuetokens", "target": "service_tokenservice_tokenservice_storerefreshtoken", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L22", "weight": 1.0}, {"source": "service_tokenservice_tokenservice_refreshtoken", "target": "service_tokenservice_tokenservice_refreshkey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L35", "weight": 1.0}, {"source": "service_tokenservice_tokenservice_revokerefreshtoken", "target": "service_tokenservice_tokenservice_refreshkey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L49", "weight": 1.0}, {"source": "service_tokenservice_tokenservice_storerefreshtoken", "target": "service_tokenservice_tokenservice_refreshkey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Auth/Service/TokenService.php", "source_location": "L55", "weight": 1.0}], "raw_calls": [{"caller_nid": "service_tokenservice_tokenservice_issuetokens", "callee": "create", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L21", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_issuetokens", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L22", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_refreshtoken", "callee": "getItem", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L36", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_refreshtoken", "callee": "isHit", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L38", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_refreshtoken", "callee": "get", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L42", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_revokerefreshtoken", "callee": "delete", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L49", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_storerefreshtoken", "callee": "bin2hex", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L54", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_storerefreshtoken", "callee": "random_bytes", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L54", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_storerefreshtoken", "callee": "getItem", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L57", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_storerefreshtoken", "callee": "expiresAfter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L59", "receiver": null}, {"caller_nid": "service_tokenservice_tokenservice_storerefreshtoken", "callee": "save", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Auth/Service/TokenService.php", "source_location": "L60", "receiver": null}]} |