We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f358153 + 18d6946 commit e0e3536Copy full SHA for e0e3536
passport.md
@@ -160,7 +160,7 @@ Passport 配备了一些可以让你的用户自行创建客户端和私人访
160
<a name="token-lifetimes"></a>
161
### 令牌的有效期
162
163
-B默认情况下,Passport 发放的访问令牌是永久有效的,不需要刷新。但是如果你想给访问令牌配置一个短一些的有效期,那你就需要用到 `tokensExpireIn` 和 `refreshTokensExpireIn` 方法了,上述两个方法同样需要在 `AuthServiceProvider` 的 `boot` 方法中调用:
+默认情况下,Passport 发放的访问令牌是永久有效的,不需要刷新。但是如果你想给访问令牌配置一个短一些的有效期,那你就需要用到 `tokensExpireIn` 和 `refreshTokensExpireIn` 方法了,上述两个方法同样需要在 `AuthServiceProvider` 的 `boot` 方法中调用:
164
165
use Carbon\Carbon;
166
0 commit comments