def METHOD_NAME(self, token: dict):
    # Ensures that the issued expiry time in the access token is in sync with the
    #  one we have stored in the token dictionary. So `exchangelib` will know for
    #  sure when to refresh a potentially expired token.
    try:
        access_token = jwt.decode(
            token["access_token"], options={"verify_signature": False}
        )
    except jwt.exceptions.DecodeError:
        # Logger object declared in every derived class.
        self.logger.debug("Couldn't decode access token or token isn't valid JWT")
    else:
        token["expires_at"] = access_token["exp"]