src/Client/Middleware/RefreshToken/RefreshTokenMiddleware.php
public function handleRefreshToken(AccessToken $previousToken, int $tries): AccessToken
    {
        return $this->client->getConfiguration()->refreshToken($previousToken->getRefreshToken());
    }
public function handleRefreshToken(AccessToken $previousToken, int $tries): AccessToken
    {
        return $this->client->getConfiguration()->refreshToken($previousToken->getRefreshToken());
    }
public function handleRefreshToken ( AccessToken $ previousToken , int $ tries ) : AccessToken { return $ this -> client -> getConfiguration ( ) -> refreshToken ( $ previousToken -> getRefreshToken ( ) ) ; }
Take care of refreshing the token

@param AccessToken $previousToken

@param int         $tries

@return AccessToken
Take care of refreshing the token