Buckets:

download
raw
4.69 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "Nanguage_executor-http",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "executor/http/server/routers/user.py",
"line": 24,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "executor/http/server/routers/user.py:<module>.token",
"file": "executor/http/server/routers/user.py",
"line": 24,
"code": "auth_user(db, form_data.username, form_data.password)",
"callee": "executor/http/server/utils/auth.py:<module>.auth_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "executor/http/server/utils/auth.py",
"line": 82,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "executor/http/server/utils/auth.py:<module>.auth_user",
"file": "executor/http/server/utils/auth.py",
"line": 82,
"code": "crud.get_user_by_username(db, username)",
"callee": "executor/http/server/user_db/crud.py:<module>.get_user_by_username",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "executor/http/server/user_db/utils.py",
"line": 12,
"via": [
"executor/http/server/user_db/utils.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "executor/http/server/utils/auth.py:<module>.auth_user",
"file": "executor/http/server/utils/auth.py",
"line": 88,
"code": "utils.verify_password(password, hashed)",
"callee": "executor/http/server/user_db/utils.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "executor/http/server/user_db/utils.py:<module>.verify_password",
"file": "executor/http/server/user_db/utils.py",
"line": 12,
"code": "password_context.verify(password, hashed_pass)",
"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": "executor/http/server/user_db/utils.py",
"line": 12,
"via": [
"executor/http/server/user_db/utils.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "executor/http/server/utils/auth.py:<module>.auth_user",
"file": "executor/http/server/utils/auth.py",
"line": 88,
"code": "utils.verify_password(password, hashed)",
"callee": "executor/http/server/user_db/utils.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "executor/http/server/user_db/utils.py:<module>.verify_password",
"file": "executor/http/server/user_db/utils.py",
"line": 12,
"code": "password_context.verify(password, hashed_pass)",
"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": "METHOD"
},
{
"role": "Pepper store",
"kind": "external"
},
{
"role": "Verification manager",
"kind": "METHOD"
}
],
"skippedRoles": [
"Subject",
"System"
]
}
}

Xet Storage Details

Size:
4.69 kB
·
Xet hash:
2584cdfde859343629abc72750c153b900e809588b62b1c892c71d459cc3857c

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