<?php

namespace App\Contracts;

use App\Models\PlatformConnection;

interface PlatformTokenRefresher
{
    /**
     * Refresh the connection's access token and return the updated model.
     */
    public function refresh(PlatformConnection $connection): PlatformConnection;
}
