latest
This commit is contained in:
1 parent
eb0d79d503
commit
b03c1d4619
12446 files changed
+1647557
-24
No files matched your search
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Auth;
|
||||
|
||||
interface Guard
|
||||
{
|
||||
/**
|
||||
* @return \App\Models\User|null
|
||||
*/
|
||||
public function user();
|
||||
}
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
interface Auth
|
||||
{
|
||||
/**
|
||||
* @return \App\Models\User|false
|
||||
*/
|
||||
public static function loginUsingId(mixed $id, bool $remember = false);
|
||||
|
||||
/**
|
||||
* @return \App\Models\User|false
|
||||
*/
|
||||
public static function onceUsingId(mixed $id);
|
||||
|
||||
/**
|
||||
* @return \App\Models\User|null
|
||||
*/
|
||||
public static function getUser();
|
||||
|
||||
/**
|
||||
* @return \App\Models\User
|
||||
*/
|
||||
public static function authenticate();
|
||||
|
||||
/**
|
||||
* @return \App\Models\User|null
|
||||
*/
|
||||
public static function user();
|
||||
|
||||
/**
|
||||
* @return \App\Models\User|null
|
||||
*/
|
||||
public static function logoutOtherDevices(string $password);
|
||||
|
||||
/**
|
||||
* @return \App\Models\User
|
||||
*/
|
||||
public static function getLastAttempted();
|
||||
}
|
||||
+1392
File diff suppressed because it is too large.
Load diff
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Http;
|
||||
|
||||
interface Request
|
||||
{
|
||||
/**
|
||||
* @return \App\Models\User|null
|
||||
*/
|
||||
public function user($guard = null);
|
||||
}
|
||||
Reference in new issue
Block a user