File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ interface Request
50
50
/**
51
51
* @return ${ authenticatable } |null
52
52
*/
53
- public function user();
53
+ public function user($guard = null );
54
54
}` ,
55
55
} ,
56
56
{
@@ -62,10 +62,40 @@ namespace Illuminate\\Support\\Facades;
62
62
63
63
interface Auth
64
64
{
65
+ /**
66
+ * @return ${ authenticatable } |false
67
+ */
68
+ public static function loginUsingId(mixed $id, bool $remember = false);
69
+
70
+ /**
71
+ * @return ${ authenticatable } |false
72
+ */
73
+ public static function onceUsingId(mixed $id);
74
+
65
75
/**
66
76
* @return ${ authenticatable } |null
67
77
*/
68
- public function user();
78
+ public static function getUser();
79
+
80
+ /**
81
+ * @return ${ authenticatable }
82
+ */
83
+ public static function authenticate();
84
+
85
+ /**
86
+ * @return ${ authenticatable } |null
87
+ */
88
+ public static function user();
89
+
90
+ /**
91
+ * @return ${ authenticatable } |null
92
+ */
93
+ public static function logoutOtherDevices(string $password);
94
+
95
+ /**
96
+ * @return ${ authenticatable }
97
+ */
98
+ public static function getLastAttempted();
69
99
}` ,
70
100
} ,
71
101
] ;
You can’t perform that action at this time.
0 commit comments