Buckets:

download
raw
4.5 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "tristeng_tasos-apiauth",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "tasos/apiauth/api/base.py",
"line": 82,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "tasos/apiauth/api/base.py:<module>.add_base_endpoints_to_app.login_for_access_token",
"file": "tasos/apiauth/api/base.py",
"line": 82,
"code": "authenticate_user(form_data.username, form_data.password, db)",
"callee": "tasos/apiauth/auth.py:<module>.authenticate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "tasos/apiauth/auth.py",
"line": 80,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "tasos/apiauth/auth.py:<module>.authenticate_user",
"file": "tasos/apiauth/auth.py",
"line": 80,
"code": "get_user_by_email(email, db)",
"callee": "tasos/apiauth/auth.py:<module>.get_user_by_email",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "tasos/apiauth/auth.py",
"line": 33,
"via": [
"tasos/apiauth/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "tasos/apiauth/auth.py:<module>.authenticate_user",
"file": "tasos/apiauth/auth.py",
"line": 81,
"code": "verify_password(password, user.hashed_pw)",
"callee": "tasos/apiauth/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "tasos/apiauth/auth.py:<module>.verify_password",
"file": "tasos/apiauth/auth.py",
"line": 33,
"code": "pwd_context.verify(plain_password, hashed_password)",
"callee": "pwdlib.py:<module>.PasswordHash.recommended.<returnValue>.verify",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 4,
"interaction": "Verification manager → Comparator",
"from": "Verification manager",
"to": "Comparator",
"file": "tasos/apiauth/auth.py",
"line": 33,
"via": [
"tasos/apiauth/auth.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "tasos/apiauth/auth.py:<module>.authenticate_user",
"file": "tasos/apiauth/auth.py",
"line": 81,
"code": "verify_password(password, user.hashed_pw)",
"callee": "tasos/apiauth/auth.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "tasos/apiauth/auth.py:<module>.verify_password",
"file": "tasos/apiauth/auth.py",
"line": 33,
"code": "pwd_context.verify(plain_password, hashed_password)",
"callee": "pwdlib.py:<module>.PasswordHash.recommended.<returnValue>.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.5 kB
·
Xet hash:
fa7c4d4bb47e221597b668d4d6e2f1e3bba1b174d25e45bf26f7709557ecfedd

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