EscolaLMS/Auth

View on GitHub
src/Services/Contracts/SocialAccountServiceContract.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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);
}