Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /interactions /python /verifiable_token_based_authentication /GRID-INTELLIGENCE_GRID.json
| { | |
| "interaction_sequence": { | |
| "available": true, | |
| "language": "python", | |
| "repo": "GRID-INTELLIGENCE_GRID", | |
| "reason": "", | |
| "entryRole": "Enforcer", | |
| "entryRule": "behaviour", | |
| "interactions": [ | |
| { | |
| "order": 1, | |
| "interaction": "Enforcer → Key manager", | |
| "from": "Enforcer", | |
| "to": "Key manager", | |
| "file": "src/application/mothership/security/jwt.py", | |
| "line": 516, | |
| "via": [ | |
| "src/application/mothership/security/auth.py:<module>.verify_jwt_token", | |
| "src/application/mothership/security/jwt.py:<module>.get_jwt_manager" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "src/application/mothership/dependencies.py:<module>.verify_authentication", | |
| "file": "src/application/mothership/dependencies.py", | |
| "line": 254, | |
| "code": "verify_jwt_token(bearer_token, require_valid = True)", | |
| "callee": "src/application/mothership/security/auth.py:<module>.verify_jwt_token", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/application/mothership/security/auth.py:<module>.verify_jwt_token", | |
| "file": "src/application/mothership/security/auth.py", | |
| "line": 241, | |
| "code": "get_jwt_manager(secret_key = settings.security.secret_key, algorithm = settings.security.algorithm, environment = setti…", | |
| "callee": "src/application/mothership/security/jwt.py:<module>.get_jwt_manager", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/application/mothership/security/jwt.py:<module>.get_jwt_manager", | |
| "file": "src/application/mothership/security/jwt.py", | |
| "line": 516, | |
| "code": "JWTManager(secret_key = secret_key, algorithm = algorithm, access_token_expire_minutes = access_token_expire_minutes, r…", | |
| "callee": "src/application/mothership/security/jwt.py:<module>.JWTManager.__init__", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 2, | |
| "interaction": "Enforcer → Verifier", | |
| "from": "Enforcer", | |
| "to": "Verifier", | |
| "file": "src/application/mothership/security/auth.py", | |
| "line": 249, | |
| "via": [ | |
| "src/application/mothership/security/auth.py:<module>.verify_jwt_token" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "src/application/mothership/dependencies.py:<module>.verify_authentication", | |
| "file": "src/application/mothership/dependencies.py", | |
| "line": 254, | |
| "code": "verify_jwt_token(bearer_token, require_valid = True)", | |
| "callee": "src/application/mothership/security/auth.py:<module>.verify_jwt_token", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/application/mothership/security/auth.py:<module>.verify_jwt_token", | |
| "file": "src/application/mothership/security/auth.py", | |
| "line": 249, | |
| "code": "jwt_manager.verify_token(token, expected_type = \"access\")", | |
| "callee": "src/application/mothership/security/jwt.py:<module>.JWTManager.verify_token", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 3, | |
| "interaction": "Verifier → Cryptographer", | |
| "from": "Verifier", | |
| "to": "Cryptographer", | |
| "file": "src/application/mothership/security/jwt.py", | |
| "line": 72, | |
| "via": [ | |
| "src/application/mothership/security/jwt.py:<module>._decode_jwt" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "src/application/mothership/security/jwt.py:<module>.JWTManager.verify_token", | |
| "file": "src/application/mothership/security/jwt.py", | |
| "line": 390, | |
| "code": "_decode_jwt(token, self.secret_key, self.algorithm)", | |
| "callee": "src/application/mothership/security/jwt.py:<module>._decode_jwt", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "src/application/mothership/security/jwt.py:<module>._decode_jwt", | |
| "file": "src/application/mothership/security/jwt.py", | |
| "line": 72, | |
| "code": "jwt.decode(token, secret_key, algorithms = [algorithm], audience = audience, options = {\"verify_exp\":verify_exp})", | |
| "callee": "src/application/mothership/security/jwt.py:<module>.decode", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Enforcer → Verifier" | |
| } | |
| ], | |
| "anchoredRoles": [ | |
| { | |
| "role": "Cryptographer", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Key manager", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Verifier", | |
| "kind": "METHOD" | |
| } | |
| ], | |
| "skippedRoles": [ | |
| "Subject", | |
| "System" | |
| ] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 5.05 kB
- Xet hash:
- e9aa7589b7af88875c5547a531dd22b1177242bf17ac2e2e97b295e9f3a69291
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.