change order of fields in auth_data to match autoscaler for signature verification
This commit is contained in:
+4
-4
@@ -65,12 +65,12 @@ class ApiPayload(ABC):
|
|||||||
class AuthData:
|
class AuthData:
|
||||||
"""data used to authenticate requester"""
|
"""data used to authenticate requester"""
|
||||||
|
|
||||||
signature: str
|
|
||||||
cost: str
|
|
||||||
endpoint: str
|
endpoint: str
|
||||||
reqnum: int
|
|
||||||
url: str
|
|
||||||
request_idx: int
|
request_idx: int
|
||||||
|
url: str
|
||||||
|
cost: str
|
||||||
|
reqnum: int
|
||||||
|
signature: str
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_json_msg(cls, json_msg: Dict[str, Any]):
|
def from_json_msg(cls, json_msg: Dict[str, Any]):
|
||||||
|
|||||||
Reference in New Issue
Block a user