def _get_jwt_token(token_file):
    """Read and return content of token file. """
    try:
        with open(token_file, encoding="utf-8") as file:
            return {"access_token": file.read(), "expires_in": "0"}
    except (IOError, OSError) as exc:
        raise ValueError(
            "error in reading file {0}".format(token_file),
        ) from exc