Buckets:

download
raw
5.02 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "digitranslab_kozmoai",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verification manager",
"from": "Enforcer",
"to": "Verification manager",
"file": "src/backend/base/kozmoai/api/v1/login.py",
"line": 31,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "src/backend/base/kozmoai/api/v1/login.py:<module>.login_to_get_access_token",
"file": "src/backend/base/kozmoai/api/v1/login.py",
"line": 31,
"code": "authenticate_user(form_data.username, form_data.password, db)",
"callee": "src/backend/base/kozmoai/services/auth/utils.py:<module>.authenticate_user",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verification manager → Password store",
"from": "Verification manager",
"to": "Password store",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 332,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "src/backend/base/kozmoai/services/auth/utils.py:<module>.authenticate_user",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 332,
"code": "get_user_by_username(db, username)",
"callee": "src/backend/base/kozmoai/services/database/models/user/crud.py:<module>.get_user_by_username",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 3,
"interaction": "Verification manager → Hasher",
"from": "Verification manager",
"to": "Hasher",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 187,
"via": [
"src/backend/base/kozmoai/services/auth/utils.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "src/backend/base/kozmoai/services/auth/utils.py:<module>.authenticate_user",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 342,
"code": "verify_password(password, user.password)",
"callee": "src/backend/base/kozmoai/services/auth/utils.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "src/backend/base/kozmoai/services/auth/utils.py:<module>.verify_password",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 187,
"code": "settings_service.auth_settings.pwd_context.verify(plain_password, hashed_password)",
"callee": "__builtin.dict.verify",
"mechanism": "call"
}
],
"parent": "Enforcer → Verification manager"
},
{
"order": 4,
"interaction": "Verification manager → Comparator",
"from": "Verification manager",
"to": "Comparator",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 187,
"via": [
"src/backend/base/kozmoai/services/auth/utils.py:<module>.verify_password"
],
"mechanism": "call",
"path": [
{
"caller": "src/backend/base/kozmoai/services/auth/utils.py:<module>.authenticate_user",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 342,
"code": "verify_password(password, user.password)",
"callee": "src/backend/base/kozmoai/services/auth/utils.py:<module>.verify_password",
"mechanism": "call"
},
{
"caller": "src/backend/base/kozmoai/services/auth/utils.py:<module>.verify_password",
"file": "src/backend/base/kozmoai/services/auth/utils.py",
"line": 187,
"code": "settings_service.auth_settings.pwd_context.verify(plain_password, hashed_password)",
"callee": "__builtin.dict.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:
5.02 kB
·
Xet hash:
21c3f61fdc1ac2b796450cab13f7f4202c200c57353779a0eeaf8930b7979036

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