@celljs/oauth2-jose 4.6.1 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.zh-cn.md +11 -0
  2. package/package.json +4 -4
@@ -0,0 +1,11 @@
1
+ # Cell - OAuth2 JOSE 组件
2
+
3
+ 用于 OAuth2 包的 JSON Object Signing and Encryption:JWK 集合检索与缓存(`JwkSetManager`)、JWS 算法,以及解码和验证 JWT,例如 OpenID Connect ID token。
4
+
5
+ ```bash
6
+ npm install @celljs/oauth2-jose
7
+ ```
8
+
9
+ [`@celljs/oauth2-client`](../oauth2-client) 依赖它来针对 provider 的 `jwkSetUri` 验证 ID token;应用很少直接使用。要签名和验证自己的 token,使用 [`@celljs/jwt`](../jwt)。
10
+
11
+ 所有导出仅限后端使用。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celljs/oauth2-jose",
3
- "version": "4.6.1",
3
+ "version": "4.8.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "cell-component"
@@ -31,9 +31,9 @@
31
31
  "watch": "tsc -b -w --preserveWatchOutput"
32
32
  },
33
33
  "dependencies": {
34
- "@celljs/core": "4.6.1",
35
- "@celljs/http": "4.6.1",
36
- "@celljs/web": "4.6.1",
34
+ "@celljs/core": "4.8.0",
35
+ "@celljs/http": "4.8.0",
36
+ "@celljs/web": "4.8.0",
37
37
  "jose": "^4.9.3"
38
38
  },
39
39
  "publishConfig": {