def _validate_exp(self, payload, now, leeway):
        try:
            exp = int(payload['exp'])
        except __HOLE__:
            raise DecodeError('Expiration Time claim (exp) must be an'
                              ' integer.')

        if exp < (now - leeway):
            raise ExpiredSignatureError('Signature has expired')
dataset/ETHPy150Open jpadilla/pyjwt/jwt/api_jwt.py/PyJWT._validate_exp