Buckets:

AnonymousSpottedToad/human_verified_bucket / human_annotated /interactions /python /authentication_pwd__cxmjg_yaml-to-backend.json
download
raw
5.13 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "cxmjg_yaml-to-backend",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "yaml_to_backend/api/auth_routes.py",
"line": 45,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "yaml_to_backend/api/auth_routes.py:<module>.login",
"file": "yaml_to_backend/api/auth_routes.py",
"line": 45,
"code": "auth_manager.authenticate_user(login_data.username, login_data.password, session)",
"callee": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "yaml_to_backend/security/auth.py",
"line": 73,
"via": [],
"mechanism": "data",
"path": [
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"file": "yaml_to_backend/security/auth.py",
"line": 73,
"code": "",
"callee": "session",
"mechanism": "data"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "yaml_to_backend/security/auth.py",
"line": 30,
"via": [
"yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"file": "yaml_to_backend/security/auth.py",
"line": 79,
"code": "self.verify_password(password, getattr(user_data, password_column))",
"callee": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"mechanism": "call"
},
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"file": "yaml_to_backend/security/auth.py",
"line": 30,
"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": "yaml_to_backend/security/auth.py",
"line": 30,
"via": [
"yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.authenticate_user",
"file": "yaml_to_backend/security/auth.py",
"line": 79,
"code": "self.verify_password(password, getattr(user_data, password_column))",
"callee": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"mechanism": "call"
},
{
"caller": "yaml_to_backend/security/auth.py:<module>.AuthManager.verify_password",
"file": "yaml_to_backend/security/auth.py",
"line": 30,
"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": "Hash manager",
"kind": "METHOD"
},
{
"role": "Hasher",
"kind": "external"
},
{
"role": "Password policy",
"kind": "external"
},
{
"role": "Password store",
"kind": "PARAM"
},
{
"role": "Pepper store",
"kind": "external"
},
{
"role": "Registrar",
"kind": "external"
},
{
"role": "Resetter",
"kind": "external"
},
{
"role": "SRNG",
"kind": "external"
},
{
"role": "Verification manager",
"kind": "METHOD"
}
],
"skippedRoles": [
"Subject",
"System"
]
}
}

Xet Storage Details

Size:
5.13 kB
·
Xet hash:
5231df0c264934c29064fa6ba09f8429b4d506e41d986f7b04e0a5cb0a8e6abc

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