1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #2504 from uncle-lv/fix-typo

docs(jwt-intro.md): 错别字校正
This commit is contained in:
Guide 2024-10-16 07:21:00 +08:00 committed by GitHub
commit 1ba08ab91f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ head:
负载均衡可以简单分为 **服务端负载均衡****客户端负载均衡** 这两种。
服务端负载均衡涉及到的知识点更多,工作中遇到的也比较多,因,我会花更多时间来介绍。
服务端负载均衡涉及到的知识点更多,工作中遇到的也比较多,因,我会花更多时间来介绍。
### 服务端负载均衡

View File

@ -162,7 +162,7 @@ HMACSHA256(
3. JWT 存放在 localStorage 中而不是 Cookie 中,避免 CSRF 风险。
4. 一定不要将隐私信息存放在 Payload 当中。
5. 密钥一定保管好一定不要泄露出去。JWT 安全的核心在于签名,签名安全的核心在密钥。
6. Payload 要加入 `exp` JWT 的过期时间),永久有效的 JWT 不合理。并且JWT 的过期时间不过长。
6. Payload 要加入 `exp` JWT 的过期时间),永久有效的 JWT 不合理。并且JWT 的过期时间不过长。
7. ……
<!-- @include: @article-footer.snippet.md -->