def create_jwt(self, expiration=<NUM_LIT>):
now = int(time.time())<EOL>payload = {<EOL>"<STR_LIT>": now,<EOL>"<STR_LIT>": now + expiration,<EOL>"<STR_LIT>": self.integration_id<EOL>}<EOL>encrypted = jwt.encode(<EOL>payload,<EOL>key=self.private_key,<EOL>algorithm="<STR_LIT>"<EOL>)<EOL>if atLeastPython3:<EOL><INDENT>encrypted = encrypted.decode('<STR_LIT:utf-8>')<EOL><DEDENT>return encrypted<EOL>
Creates a signed JWT, valid for 60 seconds by default.
The expiration can be extended beyond this, to a maximum of 600 seconds.

:param expiration: int
:return: