async def _get_refresh_token(decrypted_credential: dict) -> str:
        """Get refresh token from decrypted credentials.

        Args:
        ----
            decrypted_credential (dict): The decrypted credentials containing the refresh token.

        Returns:
        -------
            str: The refresh token.

        Raises:
        ------
            TokenRefreshError: If no refresh token is found
        """
        refresh_token = decrypted_credential.get("refresh_token", None)
        if not refresh_token:
            error_message = "No refresh token found"
            oauth2_service_logger.error(error_message)
            raise TokenRefreshError(error_message)
        return refresh_token
Get refresh token from decrypted credentials.

        Args:
        ----
            decrypted_credential (dict): The decrypted credentials containing the refresh token.

        Returns:
        -------
            str: The refresh token.

        Raises:
        ------
            TokenRefreshError: If no refresh token is found
        
backend/airweave/platform/auth/services.py