<?php

namespace App\Http\Controllers\Accounts;

use App\Classes\Modules\Accounts\ControllersLogic\RefreshAuthenticationTokenLogic ;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class RefreshAuthenticationTokenController
{

    /**
     * @param Request $request
     * @param RefreshAuthenticationTokenLogic  $logic
     * @return JsonResponse
     */
    public function refresh(Request $request, RefreshAuthenticationTokenLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
