Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /interactions /python /session_based_access_control /FastJango_FastJango.json
| { | |
| "interaction_sequence": { | |
| "available": true, | |
| "language": "python", | |
| "repo": "FastJango_FastJango", | |
| "reason": "", | |
| "entryRole": "Authentication enforcer", | |
| "entryRule": "behaviour", | |
| "interactions": [ | |
| { | |
| "order": 1, | |
| "interaction": "Authentication enforcer → Verifier", | |
| "from": "Authentication enforcer", | |
| "to": "Verifier", | |
| "file": "fastjango/middleware/authentication.py", | |
| "line": 168, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "fastjango/middleware/authentication.py:<module>.AuthenticationMiddleware.dispatch", | |
| "file": "fastjango/middleware/authentication.py", | |
| "line": 168, | |
| "code": "backend.authenticate(request)", | |
| "callee": "fastjango/middleware/authentication.py:<module>.SessionAuthenticationBackend.authenticate", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 2, | |
| "interaction": "Verifier → Session manager", | |
| "from": "Verifier", | |
| "to": "Session manager", | |
| "file": "fastjango/middleware/session.py", | |
| "line": 321, | |
| "via": [ | |
| "fastjango/middleware/session.py:<module>.get_session_data" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "fastjango/middleware/authentication.py:<module>.SessionAuthenticationBackend.authenticate", | |
| "file": "fastjango/middleware/authentication.py", | |
| "line": 67, | |
| "code": "get_session_data(request, 'user_id')", | |
| "callee": "fastjango/middleware/session.py:<module>.get_session_data", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "fastjango/middleware/session.py:<module>.get_session_data", | |
| "file": "fastjango/middleware/session.py", | |
| "line": 321, | |
| "code": "session.get(key, default)", | |
| "callee": "fastjango/middleware/session.py:<module>.MemorySessionStore.get", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Authentication enforcer → Verifier" | |
| }, | |
| { | |
| "order": 3, | |
| "interaction": "Verifier → Policy provider", | |
| "from": "Verifier", | |
| "to": "Policy provider", | |
| "file": "fastjango/middleware/authentication.py", | |
| "line": 69, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "fastjango/middleware/authentication.py:<module>.SessionAuthenticationBackend.authenticate", | |
| "file": "fastjango/middleware/authentication.py", | |
| "line": 69, | |
| "code": "self.get_user(user_id)", | |
| "callee": "fastjango/middleware/authentication.py:<module>.SessionAuthenticationBackend.get_user", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Authentication enforcer → Verifier" | |
| } | |
| ], | |
| "anchoredRoles": [ | |
| { | |
| "role": "Authentication enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Authorisation enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Decider", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Policy provider", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Session manager", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Verifier", | |
| "kind": "METHOD" | |
| } | |
| ], | |
| "skippedRoles": [ | |
| "Subject", | |
| "System" | |
| ] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 3.53 kB
- Xet hash:
- 69b3e445c699fa892326b4a91fb6786bb02defc7973af12b16c56e65cea1cde5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.