<?php

namespace App\Http\Controllers\Accounts;

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

class UserCrossAuthenticationController
{

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

}
