Buckets:

download
raw
4.89 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "cxmjg_yaml-to-backend",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "yaml_to_backend/api/auth_routes.py",
"line": 45,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "yaml_to_backend/api/auth_routes.py:<module>.login",
"file": "yaml_to_backend/api/auth_routes.py",
"line": 45,
"code": "auth_manager.authenticate_user(login_data.username, login_data.password, session)",
"callee": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "yaml_to_backend/security/auth.py",
"line": 73,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"file": "yaml_to_backend/security/auth.py",
"line": 73,
"code": "session.execute(text(f\"SELECT * FROM usuarios WHERE {user_column} = :username\"), {\"username\":username})",
"callee": "AsyncSession.execute",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "yaml_to_backend/security/auth.py",
"line": 30,
"via": [
"yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"file": "yaml_to_backend/security/auth.py",
"line": 79,
"code": "self.verify_password(password, getattr(user_data, password_column))",
"callee": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"mechanism": "call"
},
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"file": "yaml_to_backend/security/auth.py",
"line": 30,
"code": "pwd_context.verify(plain_password, hashed_password)",
"callee": "passlib/context.py:<module>.CryptContext.verify",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 4,
"interaction": "Verification manager → Comparator",
"from": "Verification manager",
"to": "Comparator",
"file": "yaml_to_backend/security/auth.py",
"line": 30,
"via": [
"yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"file": "yaml_to_backend/security/auth.py",
"line": 79,
"code": "self.verify_password(password, getattr(user_data, password_column))",
"callee": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"mechanism": "call"
},
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"file": "yaml_to_backend/security/auth.py",
"line": 30,
"code": "pwd_context.verify(plain_password, hashed_password)",
"callee": "passlib/context.py:<module>.CryptContext.verify",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
}
],
"anchoredRoles": [
{
"role": "Comparator",
"kind": "external"
},
{
"role": "Encrypter",
"kind": "external"
},
{
"role": "Enforcer",
"kind": "METHOD"
},
{
"role": "Hasher",
"kind": "external"
},
{
"role": "Password store",
"kind": "external"
},
{
"role": "Pepper store",
"kind": "external"
},
{
"role": "Verification manager",
"kind": "METHOD"
}
],
"skippedRoles": [
"Subject",
"System"
]
}
}

Xet Storage Details

Size:
4.89 kB
·
Xet hash:
1fd1cd096ec4b9bbe2a1ba2c1cd0b8366d0e674bd04eaf701722a9b1199539ad

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.