Buckets:

download
raw
4.57 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "farhan0167_otto-m8",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "lib/otto_backend/routers/auth_router.py",
"line": 39,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "lib/otto_backend/routers/auth_router.py:<module>.login",
"file": "lib/otto_backend/routers/auth_router.py",
"line": 39,
"code": "authenticate_user(email = form_data.username, password = form_data.password)",
"callee": "lib/otto_backend/db/auth.py:<module>.authenticate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "lib/otto_backend/db/auth.py",
"line": 45,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "lib/otto_backend/db/auth.py:<module>.authenticate_user",
"file": "lib/otto_backend/db/auth.py",
"line": 45,
"code": "db.query(Users).filter_by(email = email).first()",
"callee": "__builtin.dict.filter_by.first",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "lib/otto_backend/db/auth.py",
"line": 21,
"via": [
"lib/otto_backend/db/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "lib/otto_backend/db/auth.py:<module>.authenticate_user",
"file": "lib/otto_backend/db/auth.py",
"line": 46,
"code": "verify_password(password, user.password)",
"callee": "lib/otto_backend/db/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "lib/otto_backend/db/auth.py:<module>.verify_password",
"file": "lib/otto_backend/db/auth.py",
"line": 21,
"code": "pwd_context.verify(plain_password, 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": "lib/otto_backend/db/auth.py",
"line": 21,
"via": [
"lib/otto_backend/db/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "lib/otto_backend/db/auth.py:<module>.authenticate_user",
"file": "lib/otto_backend/db/auth.py",
"line": 46,
"code": "verify_password(password, user.password)",
"callee": "lib/otto_backend/db/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "lib/otto_backend/db/auth.py:<module>.verify_password",
"file": "lib/otto_backend/db/auth.py",
"line": 21,
"code": "pwd_context.verify(plain_password, 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.57 kB
·
Xet hash:
8d08503c0d2daf1f2e55ac8befb2899d56632e5b635f531cdae8ca07d0a0affd

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