Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /interactions /python /verifiable_token_based_authentication /tyvekzhang_fastlib.json
| { | |
| "interaction_sequence": { | |
| "available": true, | |
| "language": "python", | |
| "repo": "tyvekzhang_fastlib", | |
| "reason": "", | |
| "entryRole": "Enforcer", | |
| "entryRule": "behaviour", | |
| "interactions": [ | |
| { | |
| "order": 1, | |
| "interaction": "Enforcer → Verifier", | |
| "from": "Enforcer", | |
| "to": "Verifier", | |
| "file": "fastlib/middleware/jwt.py", | |
| "line": 92, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "fastlib/middleware/jwt.py:<module>.jwt_middleware", | |
| "file": "fastlib/middleware/jwt.py", | |
| "line": 92, | |
| "code": "security.validate_token(token)", | |
| "callee": "fastlib/security.py:<module>.validate_token", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 2, | |
| "interaction": "Verifier → Cryptographer", | |
| "from": "Verifier", | |
| "to": "Cryptographer", | |
| "file": "fastlib/security.py", | |
| "line": 33, | |
| "via": [ | |
| "fastlib/security.py:<module>.decode_jwt_token" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "fastlib/security.py:<module>.validate_token", | |
| "file": "fastlib/security.py", | |
| "line": 153, | |
| "code": "decode_jwt_token(token)", | |
| "callee": "fastlib/security.py:<module>.decode_jwt_token", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "fastlib/security.py:<module>.decode_jwt_token", | |
| "file": "fastlib/security.py", | |
| "line": 33, | |
| "code": "jwt.decode(token, security_config.secret_key, algorithms = [security_config.algorithm])", | |
| "callee": "jwt.py:<module>.decode", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Enforcer → Verifier" | |
| }, | |
| { | |
| "order": 3, | |
| "interaction": "Enforcer → Cryptographer", | |
| "from": "Enforcer", | |
| "to": "Cryptographer", | |
| "file": "fastlib/security.py", | |
| "line": 33, | |
| "via": [ | |
| "fastlib/security.py:<module>.get_user_id", | |
| "fastlib/security.py:<module>.decode_jwt_token" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "fastlib/middleware/jwt.py:<module>.jwt_middleware", | |
| "file": "fastlib/middleware/jwt.py", | |
| "line": 93, | |
| "code": "security.get_user_id(token)", | |
| "callee": "fastlib/security.py:<module>.get_user_id", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "fastlib/security.py:<module>.get_user_id", | |
| "file": "fastlib/security.py", | |
| "line": 176, | |
| "code": "decode_jwt_token(token)", | |
| "callee": "fastlib/security.py:<module>.decode_jwt_token", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "fastlib/security.py:<module>.decode_jwt_token", | |
| "file": "fastlib/security.py", | |
| "line": 33, | |
| "code": "jwt.decode(token, security_config.secret_key, algorithms = [security_config.algorithm])", | |
| "callee": "jwt.py:<module>.decode", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| } | |
| ], | |
| "anchoredRoles": [ | |
| { | |
| "role": "Cryptographer", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Key manager", | |
| "kind": "LOCAL" | |
| }, | |
| { | |
| "role": "Verifier", | |
| "kind": "METHOD" | |
| } | |
| ], | |
| "skippedRoles": [ | |
| "Subject", | |
| "System" | |
| ] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 3.7 kB
- Xet hash:
- a97f20de1fff7f05dc7e12309d5763fb450eb2fa6fd6c508341e481ab4ec338d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.