Buckets:

AnonymousSpottedToad/human_verified_bucket / human_annotated /interactions /python /authentication_pwd__olaflaitinen_Promethium.json
download
raw
4.06 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "olaflaitinen_Promethium",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "src/promethium/api/routers/auth.py",
"line": 29,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "src/promethium/api/routers/auth.py:<module>.login_access_token",
"file": "src/promethium/api/routers/auth.py",
"line": 29,
"code": "AuthService.authenticate_user(db, email = form_data.username, password = form_data.password)",
"callee": "src/promethium/api/services/auth_service.py:<module>.AuthService.authenticate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "src/promethium/core/security.py",
"line": 6,
"via": [
"src/promethium/core/security.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "src/promethium/api/services/auth_service.py:<module>.AuthService.authenticate_user",
"file": "src/promethium/api/services/auth_service.py",
"line": 30,
"code": "verify_password(password, user.hashed_password)",
"callee": "src/promethium/core/security.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "src/promethium/core/security.py:<module>.verify_password",
"file": "src/promethium/core/security.py",
"line": 6,
"code": "pwd_context.verify(plain_password, hashed_password)",
"callee": "passlib/context.py:<module>.CryptContext.verify",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Comparator",
"from": "Verification manager",
"to": "Comparator",
"file": "src/promethium/core/security.py",
"line": 6,
"via": [
"src/promethium/core/security.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "src/promethium/api/services/auth_service.py:<module>.AuthService.authenticate_user",
"file": "src/promethium/api/services/auth_service.py",
"line": 30,
"code": "verify_password(password, user.hashed_password)",
"callee": "src/promethium/core/security.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "src/promethium/core/security.py:<module>.verify_password",
"file": "src/promethium/core/security.py",
"line": 6,
"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": "TYPE_DECL"
},
{
"role": "Pepper store",
"kind": "external"
},
{
"role": "Verification manager",
"kind": "METHOD"
}
],
"skippedRoles": [
"Subject",
"System"
]
}
}

Xet Storage Details

Size:
4.06 kB
·
Xet hash:
c6c6700f5941e7f20b4a36979334860767a9a82b3d0d508d44a41696d7ec6f7f

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