feature: keep sidebar and add service layer
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Auth\Contracts;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
interface AuthServiceInterface
|
||||
{
|
||||
public function attemptLogin(array $credentials, Request $request): array;
|
||||
|
||||
public function logout(Request $request): void;
|
||||
|
||||
public function getRedirectRouteForUser(User $user): string;
|
||||
}
|
||||
Reference in New Issue
Block a user