Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[security] jwt token #175

Open
Alice52 opened this issue May 13, 2021 · 1 comment
Open

[security] jwt token #175

Alice52 opened this issue May 13, 2021 · 1 comment
Assignees
Labels
Java java implement important than extend Spring

Comments

@Alice52 Alice52 added Java java implement important than extend Spring labels May 13, 2021
@Alice52 Alice52 self-assigned this May 13, 2021
@Alice52
Copy link
Owner Author

Alice52 commented Jul 22, 2021

jwt token

  1. header

    • type: 类型
    • alg: 采用的算法
  2. payload

    • exp: 过期时间
    • aud: 受用者
    • iat: 颁发时间
    • iss: 颁发者
    • sub: jwt 面上的用户
    • 自定义信息: 明文, 注意信息安全
  3. signature

    • 前两部分不同, 则签名一般不同

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java java implement important than extend Spring
Projects
None yet
Development

No branches or pull requests

1 participant