Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /interactions /python /session_based_access_control /rubelw_OSSS.json
| { | |
| "interaction_sequence": { | |
| "available": true, | |
| "language": "python", | |
| "repo": "rubelw_OSSS", | |
| "reason": "", | |
| "entryRole": "Authentication enforcer", | |
| "entryRule": "behaviour", | |
| "interactions": [ | |
| { | |
| "order": 1, | |
| "interaction": "Authentication enforcer → Verifier", | |
| "from": "Authentication enforcer", | |
| "to": "Verifier", | |
| "file": "src/OSSS/api/routers/me.py", | |
| "line": 54, | |
| "via": [], | |
| "mechanism": "dependency-injection", | |
| "path": [ | |
| { | |
| "caller": "src/OSSS/api/routers/me.py:<module>.me", | |
| "file": "src/OSSS/api/routers/me.py", | |
| "line": 54, | |
| "code": "", | |
| "callee": "src/OSSS/auth/deps.py:<module>.get_current_user", | |
| "mechanism": "dependency-injection" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 2, | |
| "interaction": "Verifier → Session manager", | |
| "from": "Verifier", | |
| "to": "Session manager", | |
| "file": "src/OSSS/ai/orchestration/planning/planner.py", | |
| "line": 163, | |
| "via": [ | |
| "src/OSSS/auth/deps.py:<module>._decode_jwt", | |
| "src/OSSS/auth/deps.py:<module>.verify_with_auto_refresh", | |
| "src/OSSS/auth/deps.py:<module>.AuthError.__init__", | |
| "src/OSSS/ai/orchestration/planning/planner.py:<module>.Planner.plan", | |
| "src/OSSS/ai/orchestration/planning/planner.py:<module>._wizard_collect_details_fastpath" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "src/OSSS/auth/deps.py:<module>.get_current_user", | |
| "file": "src/OSSS/auth/deps.py", | |
| "line": 255, | |
| "code": "_decode_jwt(raw)", | |
| "callee": "src/OSSS/auth/deps.py:<module>._decode_jwt", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/OSSS/auth/deps.py:<module>._decode_jwt", | |
| "file": "src/OSSS/auth/deps.py", | |
| "line": 224, | |
| "code": "verify_with_auto_refresh(token)", | |
| "callee": "src/OSSS/auth/deps.py:<module>.verify_with_auto_refresh", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/OSSS/auth/deps.py:<module>.verify_with_auto_refresh", | |
| "file": "src/OSSS/auth/deps.py", | |
| "line": 198, | |
| "code": "AuthError(f\"Unsupported token algorithm: {alg}\")", | |
| "callee": "src/OSSS/auth/deps.py:<module>.AuthError.__init__", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/OSSS/auth/deps.py:<module>.AuthError.__init__", | |
| "file": "src/OSSS/auth/deps.py", | |
| "line": 186, | |
| "code": "", | |
| "callee": "src/OSSS/ai/orchestration/planning/planner.py:<module>.Planner.plan", | |
| "mechanism": "dependency-injection" | |
| }, | |
| { | |
| "caller": "src/OSSS/ai/orchestration/planning/planner.py:<module>.Planner.plan", | |
| "file": "src/OSSS/ai/orchestration/planning/planner.py", | |
| "line": 200, | |
| "code": "_wizard_collect_details_fastpath(exec_state)", | |
| "callee": "src/OSSS/ai/orchestration/planning/planner.py:<module>._wizard_collect_details_fastpath", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/OSSS/ai/orchestration/planning/planner.py:<module>._wizard_collect_details_fastpath", | |
| "file": "src/OSSS/ai/orchestration/planning/planner.py", | |
| "line": 163, | |
| "code": "wizard.get(\"step\")", | |
| "callee": "src/OSSS/sessions.py:<module>.RedisSession.get", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Authentication enforcer → Verifier" | |
| }, | |
| { | |
| "order": 3, | |
| "interaction": "Authentication enforcer → Session manager", | |
| "from": "Authentication enforcer", | |
| "to": "Session manager", | |
| "file": "src/OSSS/api/routers/me.py", | |
| "line": 97, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "src/OSSS/api/routers/me.py:<module>.me", | |
| "file": "src/OSSS/api/routers/me.py", | |
| "line": 97, | |
| "code": "user.get(\"_roles\", [])", | |
| "callee": "src/OSSS/sessions.py:<module>.RedisSession.get", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| } | |
| ], | |
| "anchoredRoles": [ | |
| { | |
| "role": "Authentication enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Authorisation enforcer", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Decider", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Policy provider", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Session manager", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Verifier", | |
| "kind": "METHOD" | |
| } | |
| ], | |
| "skippedRoles": [ | |
| "Subject", | |
| "System" | |
| ] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 4.99 kB
- Xet hash:
- 52ed64b298f8bba7c4943be43c71e66348a0271d9544795b13464de81be108d2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.