Buckets:

AnonymousSpottedToad/human_verified_bucket / human_annotated /interactions /python /authentication_pwd__aspuru-guzik-group_molar.json
download
raw
5.1 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "aspuru-guzik-group_molar",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "molar/backend/api/api_v1/endpoints/login.py",
"line": 41,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "molar/backend/api/api_v1/endpoints/login.py:<module>.login_access_token",
"file": "molar/backend/api/api_v1/endpoints/login.py",
"line": 41,
"code": "crud.user.authenticate(db, email = form_data.username, password = form_data.password)",
"callee": "molar/backend/crud/crud_user.py:<module>.CRUDUser.authenticate",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "molar/backend/crud/crud_user.py",
"line": 58,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "molar/backend/crud/crud_user.py:<module>.CRUDUser.authenticate",
"file": "molar/backend/crud/crud_user.py",
"line": 58,
"code": "self.get_by_email(db, email = email)",
"callee": "molar/backend/crud/crud_user.py:<module>.CRUDUser.get_by_email",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "molar/backend/core/security.py",
"line": 32,
"via": [
"molar/backend/core/security.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "molar/backend/crud/crud_user.py:<module>.CRUDUser.authenticate",
"file": "molar/backend/crud/crud_user.py",
"line": 61,
"code": "verify_password(password, user.hashed_password)",
"callee": "molar/backend/core/security.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "molar/backend/core/security.py:<module>.verify_password",
"file": "molar/backend/core/security.py",
"line": 32,
"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": "molar/backend/core/security.py",
"line": 32,
"via": [
"molar/backend/core/security.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "molar/backend/crud/crud_user.py:<module>.CRUDUser.authenticate",
"file": "molar/backend/crud/crud_user.py",
"line": 61,
"code": "verify_password(password, user.hashed_password)",
"callee": "molar/backend/core/security.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "molar/backend/core/security.py:<module>.verify_password",
"file": "molar/backend/core/security.py",
"line": 32,
"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": "external"
},
{
"role": "Hasher",
"kind": "external"
},
{
"role": "Password policy",
"kind": "external"
},
{
"role": "Password store",
"kind": "METHOD"
},
{
"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.1 kB
·
Xet hash:
1e5f2f6244034f6c7c609951bb4c20699ecc03085717941a792d9db49e9506e6

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