Buckets:

download
raw
4.63 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "DiamondLightSource_python-murfey",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "src/murfey/server/api/auth.py",
"line": 408,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "src/murfey/server/api/auth.py:<module>.generate_token",
"file": "src/murfey/server/api/auth.py",
"line": 408,
"code": "validate_user(form_data.username, form_data.password)",
"callee": "src/murfey/server/api/auth.py:<module>.validate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "src/murfey/server/api/auth.py",
"line": 353,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "src/murfey/server/api/auth.py:<module>.validate_user",
"file": "src/murfey/server/api/auth.py",
"line": 353,
"code": "murfey_db.exec(select(User).where(User.username == username))",
"callee": "murfey/server/murfey_db.py:<module>.murfey_db.exec",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "src/murfey/server/api/auth.py",
"line": 347,
"via": [
"src/murfey/server/api/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "src/murfey/server/api/auth.py:<module>.validate_user",
"file": "src/murfey/server/api/auth.py",
"line": 356,
"code": "verify_password(password, user.hashed_password)",
"callee": "src/murfey/server/api/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "src/murfey/server/api/auth.py:<module>.verify_password",
"file": "src/murfey/server/api/auth.py",
"line": 347,
"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": "src/murfey/server/api/auth.py",
"line": 347,
"via": [
"src/murfey/server/api/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "src/murfey/server/api/auth.py:<module>.validate_user",
"file": "src/murfey/server/api/auth.py",
"line": 356,
"code": "verify_password(password, user.hashed_password)",
"callee": "src/murfey/server/api/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "src/murfey/server/api/auth.py:<module>.verify_password",
"file": "src/murfey/server/api/auth.py",
"line": 347,
"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.63 kB
·
Xet hash:
74fdb52b71ed67e71885d25db792baa338f0773d043a1bb6047d716539439904

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