(client_id)
| 37 | |
| 38 | |
| 39 | def create_internal_authorization_header(client_id): |
| 40 | secret = current_app.config["INTERNAL_CLIENT_API_KEYS"][client_id][0] |
| 41 | token = create_jwt_token(secret=secret, client_id=client_id) |
| 42 | return "Authorization", f"Bearer {token}" |
| 43 | |
| 44 | |
| 45 | def unwrap_function(fn): |
no outgoing calls
no test coverage detected