EscolaLMS/Auth

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace EscolaLms\Auth\Services\Contracts;

use EscolaLms\Auth\Models\User;
use Laravel\Passport\PersonalAccessTokenResult;

interface AuthServiceContract
{
    public function forgotPassword(string $email, string $returnUrl): void;

    public function resetPassword(string $email, string $token, string $password): void;

    public function createTokenForUser(User $user, bool $rememberMe = false): PersonalAccessTokenResult;

    public function refreshToken(User $user): PersonalAccessTokenResult;
}