@@ -35,47 +35,20 @@ class Passport
35
35
//
36
36
];
37
37
38
- /**
39
- * The date when access tokens expire.
40
- *
41
- * @var \DateTimeInterface|null
42
- *
43
- * @deprecated Will be removed in the next major Passport release.
44
- */
45
- public static $ tokensExpireAt ;
46
-
47
38
/**
48
39
* The interval when access tokens expire.
49
40
*
50
41
* @var \DateInterval|null
51
42
*/
52
43
public static $ tokensExpireIn ;
53
44
54
- /**
55
- * The date when refresh tokens expire.
56
- *
57
- * @var \DateTimeInterface|null
58
- *
59
- * @deprecated Will be removed in the next major Passport release.
60
- */
61
- public static $ refreshTokensExpireAt ;
62
-
63
45
/**
64
46
* The date when refresh tokens expire.
65
47
*
66
48
* @var \DateInterval|null
67
49
*/
68
50
public static $ refreshTokensExpireIn ;
69
51
70
- /**
71
- * The date when personal access tokens expire.
72
- *
73
- * @var \DateTimeInterface|null
74
- *
75
- * @deprecated Will be removed in the next major Passport release.
76
- */
77
- public static $ personalAccessTokensExpireAt ;
78
-
79
52
/**
80
53
* The date when personal access tokens expire.
81
54
*
@@ -282,7 +255,6 @@ public static function tokensExpireIn(DateTimeInterface $date = null)
282
255
return static ::$ tokensExpireIn ?? new DateInterval ('P1Y ' );
283
256
}
284
257
285
- static ::$ tokensExpireAt = $ date ;
286
258
static ::$ tokensExpireIn = Carbon::now ()->diff ($ date );
287
259
288
260
return new static ;
@@ -300,7 +272,6 @@ public static function refreshTokensExpireIn(DateTimeInterface $date = null)
300
272
return static ::$ refreshTokensExpireIn ?? new DateInterval ('P1Y ' );
301
273
}
302
274
303
- static ::$ refreshTokensExpireAt = $ date ;
304
275
static ::$ refreshTokensExpireIn = Carbon::now ()->diff ($ date );
305
276
306
277
return new static ;
@@ -318,7 +289,6 @@ public static function personalAccessTokensExpireIn(DateTimeInterface $date = nu
318
289
return static ::$ personalAccessTokensExpireIn ?? new DateInterval ('P1Y ' );
319
290
}
320
291
321
- static ::$ personalAccessTokensExpireAt = $ date ;
322
292
static ::$ personalAccessTokensExpireIn = Carbon::now ()->diff ($ date );
323
293
324
294
return new static ;
0 commit comments