def METHOD_NAME(self) -> None:
    """
    Given token data from _get_token_response and _extract_token_data,
    set the access token and expiration time, calculate the new token
    hash, and call on_refresh
    """
    # get the first (and only) token
    res = self._get_token_response()
    token_data = self._extract_token_data(res)
    self.expires_at = token_data["expires_at_seconds"]
    self.access_token = token_data["access_token"]
    log.info(
        "RenewingAuthorizer.access_token updated to "
        f'token with hash "{self._access_token_hash}"'
    )
    if callable(self.on_refresh):
        log.debug("will call on_refresh callback")
        self.on_refresh(res)
        log.debug("on_refresh callback finished")