Skip to content

Commit 933241b

Browse files
authored
Remove deprecated functionality (#1235)
1 parent bc39485 commit 933241b

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

src/Passport.php

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@ class Passport
1919
*/
2020
public static $implicitGrantEnabled = false;
2121

22-
/**
23-
* Indicates if Passport should revoke existing tokens when issuing a new one.
24-
*
25-
* @var bool
26-
*/
27-
public static $revokeOtherTokens = false;
28-
29-
/**
30-
* Indicates if Passport should prune revoked tokens.
31-
*
32-
* @var bool
33-
*/
34-
public static $pruneRevokedTokens = false;
35-
3622
/**
3723
* The personal access token client ID.
3824
*
@@ -203,30 +189,6 @@ public static function routes($callback = null, array $options = [])
203189
});
204190
}
205191

206-
/**
207-
* Instruct Passport to revoke other tokens when a new one is issued.
208-
*
209-
* @deprecated since 1.0. Listen to Passport events on token creation instead.
210-
*
211-
* @return static
212-
*/
213-
public static function revokeOtherTokens()
214-
{
215-
return new static;
216-
}
217-
218-
/**
219-
* Instruct Passport to keep revoked tokens pruned.
220-
*
221-
* @deprecated since 1.0. Listen to Passport events on token creation instead.
222-
*
223-
* @return static
224-
*/
225-
public static function pruneRevokedTokens()
226-
{
227-
return new static;
228-
}
229-
230192
/**
231193
* Set the client ID that should be used to issue personal access tokens.
232194
*

0 commit comments

Comments
 (0)