https://github.com/dxvgef/tsing-authorization
Go开发的授权服务,支持HS 256、RS 256、SM2、SM4等多种算法的授权签发、校验、刷新功能
https://github.com/dxvgef/tsing-authorization
authorization hs256 jwt rs256 sm2 sm4
Last synced: 14 days ago
JSON representation
Go开发的授权服务,支持HS 256、RS 256、SM2、SM4等多种算法的授权签发、校验、刷新功能
- Host: GitHub
- URL: https://github.com/dxvgef/tsing-authorization
- Owner: dxvgef
- License: bsd-3-clause
- Created: 2020-09-04T10:22:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T14:04:18.000Z (over 3 years ago)
- Last Synced: 2025-04-14T12:04:45.109Z (14 days ago)
- Topics: authorization, hs256, jwt, rs256, sm2, sm4
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tsing-authorization
Go开发的授权服务,支持多种算法的授权签发、校验、刷新功能整体结构分为规则、HTTP API两个功能模块:
- 规则,每条规则都包含了授权器和更新器两部份的配置,授权器负责授权的签发和验证,并支持多种算法的授权。更新器负责刷新授权的生命周期。
- HTTP API,实现了对规则的维护管理,和对授权的所有操作。#### 授权算法
已实现的授权算法:
- JWT HS256
- JWT RS256
- JWT SM2
- JWT SM4