We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c90b009 commit eef43caCopy full SHA for eef43ca
1 file changed
README.md
@@ -189,13 +189,25 @@ return [
189
190
前端需要接收最新 Token,下次异步请求时,携带此 Token。
191
192
-## 注销应用Token
+## 注销应用Token(所有)
193
194
注销指定应用下缓存的用户 (强制下线 重新登录)
195
196
```php
197
198
$store = 'wechat';
199
200
-app('jwt.manager')->resetStoreWhiteToken($store);
+app('jwt.manager')->destroyStoreWhitelist($store);
201
+```
202
+
203
+## 注销应用Token(指定某个)
204
205
+注销指定某个用户(强制下线 重新登录)
206
207
+```php
208
209
+$store = 'wechat';
210
+$uid = '9527';
211
212
+app('jwt.manager')->destroyToken($id, $store);
213
```
0 commit comments