mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
add oauth2 dependency
This commit is contained in:
@@ -4,12 +4,12 @@ namespace App\Auth;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Auth\GuardHelpers;
|
||||
use Illuminate\Contracts\Auth\Authenticatable;
|
||||
use Illuminate\Contracts\Auth\Guard;
|
||||
use Illuminate\Contracts\Auth\StatefulGuard;
|
||||
use Illuminate\Contracts\Auth\UserProvider;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\App;
|
||||
|
||||
class NexusWebGuard implements Guard
|
||||
class NexusWebGuard implements StatefulGuard
|
||||
{
|
||||
use GuardHelpers;
|
||||
|
||||
@@ -88,4 +88,33 @@ class NexusWebGuard implements Guard
|
||||
}
|
||||
|
||||
|
||||
public function attempt(array $credentials = [], $remember = false)
|
||||
{
|
||||
// TODO: Implement attempt() method.
|
||||
}
|
||||
|
||||
public function once(array $credentials = [])
|
||||
{
|
||||
// TODO: Implement once() method.
|
||||
}
|
||||
|
||||
public function login(Authenticatable $user, $remember = false)
|
||||
{
|
||||
// TODO: Implement login() method.
|
||||
}
|
||||
|
||||
public function loginUsingId($id, $remember = false)
|
||||
{
|
||||
// TODO: Implement loginUsingId() method.
|
||||
}
|
||||
|
||||
public function onceUsingId($id)
|
||||
{
|
||||
// TODO: Implement onceUsingId() method.
|
||||
}
|
||||
|
||||
public function viaRemember()
|
||||
{
|
||||
// TODO: Implement viaRemember() method.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user