src/Services/Contracts/SocialAccountServiceContract.php
<?php
namespace EscolaLms\Auth\Services\Contracts;
use EscolaLms\Auth\Exceptions\TokenExpiredException;
interface SocialAccountServiceContract
{
public function getReturnUrl(string $provider, ?string $returnUrl, ?string $state): string;
/**
* @throws TokenExpiredException
*/
public function completeData(string $token, string $email, ?string $returnUrl);
}