Skip to content

Commit e0e3536

Browse files
authored
Merge pull request #233 from wuwx/patch-1
Update passport.md
2 parents f358153 + 18d6946 commit e0e3536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

passport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Passport 配备了一些可以让你的用户自行创建客户端和私人访
160160
<a name="token-lifetimes"></a>
161161
### 令牌的有效期
162162

163-
B默认情况下,Passport 发放的访问令牌是永久有效的,不需要刷新。但是如果你想给访问令牌配置一个短一些的有效期,那你就需要用到 `tokensExpireIn``refreshTokensExpireIn` 方法了,上述两个方法同样需要在 `AuthServiceProvider``boot` 方法中调用:
163+
默认情况下,Passport 发放的访问令牌是永久有效的,不需要刷新。但是如果你想给访问令牌配置一个短一些的有效期,那你就需要用到 `tokensExpireIn``refreshTokensExpireIn` 方法了,上述两个方法同样需要在 `AuthServiceProvider``boot` 方法中调用:
164164

165165
use Carbon\Carbon;
166166

0 commit comments

Comments
 (0)