Skip to content

Commit

Permalink
1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Jun 17, 2021
1 parent 27214c6 commit 4c70048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _extend/solon.extend.sessionstate.jwt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ server.session:
jwt:
name: TOKEN #变量名;(可不配,默认:TOKEN)
secret: "E3F9N2kRDQf55pnJPnFoo5+ylKmZQ7AXmWeOVPKbEd8=" #密钥(使用 JwtUtils.createKey() 生成);(可不配,默认:xxx)
allowExpire: true #充许超时;(可不配,默认:true)
allowIssue: true #充许输出;(可不配,默认:true)
allowUseHeader: false #充许使用Header传递;(可不配,默认:使用 Cookie 传递)
allowExpire: true #充许超时;(可不配,默认:true);false,则token一直有效
allowIssue: true #充许输出;(可不配,默认:true);flase,则不向header 或 cookie 设置值(由用户手动控制)
allowUseHeader: false #充许使用Header传递;(可不配,默认:使用 Cookie 传递);true,则使用 header 传递
```
生成密钥:
Expand Down

0 comments on commit 4c70048

Please sign in to comment.