if ``expiresIn`` is ``null``, I would return ``null`` here, as the value would not make sense otherwise