Buckets:

download
raw
4.55 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "AmberLee2427_nancy-brain",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "connectors/http_api/app.py",
"line": 324,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "connectors/http_api/app.py:<module>.login",
"file": "connectors/http_api/app.py",
"line": 324,
"code": "auth.authenticate_user(form_data.username, form_data.password)",
"callee": "connectors/http_api/auth.py:<module>.authenticate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "connectors/http_api/auth.py",
"line": 316,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "connectors/http_api/auth.py:<module>.authenticate_user",
"file": "connectors/http_api/auth.py",
"line": 316,
"code": "get_user(username)",
"callee": "connectors/http_api/auth.py:<module>.get_user",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "connectors/http_api/auth.py",
"line": 310,
"via": [
"connectors/http_api/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "connectors/http_api/auth.py:<module>.authenticate_user",
"file": "connectors/http_api/auth.py",
"line": 319,
"code": "verify_password(password, user[\"hashed_password\"])",
"callee": "connectors/http_api/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "connectors/http_api/auth.py:<module>.verify_password",
"file": "connectors/http_api/auth.py",
"line": 310,
"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": "connectors/http_api/auth.py",
"line": 310,
"via": [
"connectors/http_api/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "connectors/http_api/auth.py:<module>.authenticate_user",
"file": "connectors/http_api/auth.py",
"line": 319,
"code": "verify_password(password, user[\"hashed_password\"])",
"callee": "connectors/http_api/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "connectors/http_api/auth.py:<module>.verify_password",
"file": "connectors/http_api/auth.py",
"line": 310,
"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": "METHOD"
},
{
"role": "Pepper store",
"kind": "external"
},
{
"role": "Verification manager",
"kind": "METHOD"
}
],
"skippedRoles": [
"Subject",
"System"
]
}
}

Xet Storage Details

Size:
4.55 kB
·
Xet hash:
9683ddbb1a9a2d5cbd16e45f89f8adac51c77f097a461929c5cd7df1df5c47f4

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