@leanmcp/auth 0.4.0 → 0.4.2
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.
- package/LICENSE +21 -21
- package/README.md +396 -396
- package/package.json +120 -120
- package/dist/client/index.d.mts +0 -499
- package/dist/client/index.d.ts +0 -499
- package/dist/index.d.mts +0 -181
- package/dist/index.d.ts +0 -181
- package/dist/proxy/index.d.mts +0 -376
- package/dist/proxy/index.d.ts +0 -376
- package/dist/server/index.d.mts +0 -496
- package/dist/server/index.d.ts +0 -496
- package/dist/storage/index.d.mts +0 -181
- package/dist/storage/index.d.ts +0 -181
- package/dist/types-DMpGN530.d.mts +0 -122
- package/dist/types-DMpGN530.d.ts +0 -122
package/package.json
CHANGED
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@leanmcp/auth",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "Authentication and identity module with OAuth 2.1 client, token storage, and multiple providers",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"require": "./dist/index.js",
|
|
12
|
-
"import": "./dist/index.mjs"
|
|
13
|
-
},
|
|
14
|
-
"./client": {
|
|
15
|
-
"types": "./dist/client/index.d.ts",
|
|
16
|
-
"require": "./dist/client/index.js",
|
|
17
|
-
"import": "./dist/client/index.mjs"
|
|
18
|
-
},
|
|
19
|
-
"./storage": {
|
|
20
|
-
"types": "./dist/storage/index.d.ts",
|
|
21
|
-
"require": "./dist/storage/index.js",
|
|
22
|
-
"import": "./dist/storage/index.mjs"
|
|
23
|
-
},
|
|
24
|
-
"./proxy": {
|
|
25
|
-
"types": "./dist/proxy/index.d.ts",
|
|
26
|
-
"require": "./dist/proxy/index.js",
|
|
27
|
-
"import": "./dist/proxy/index.mjs"
|
|
28
|
-
},
|
|
29
|
-
"./server": {
|
|
30
|
-
"types": "./dist/server/index.d.ts",
|
|
31
|
-
"require": "./dist/server/index.js",
|
|
32
|
-
"import": "./dist/server/index.mjs"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"files": [
|
|
36
|
-
"dist",
|
|
37
|
-
"README.md",
|
|
38
|
-
"LICENSE"
|
|
39
|
-
],
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "tsup src/index.ts src/client/index.ts src/storage/index.ts src/proxy/index.ts src/server/index.ts --format esm,cjs --dts",
|
|
42
|
-
"dev": "tsup src/index.ts src/client/index.ts src/storage/index.ts src/proxy/index.ts src/server/index.ts --format esm,cjs --dts --watch",
|
|
43
|
-
"test": "jest --passWithNoTests",
|
|
44
|
-
"test:watch": "jest --watch"
|
|
45
|
-
},
|
|
46
|
-
"dependencies": {
|
|
47
|
-
"@leanmcp/core": "^0.3.0",
|
|
48
|
-
"reflect-metadata": "^0.2.1"
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@types/jest": "^29.5.0",
|
|
52
|
-
"@types/jsonwebtoken": "^9.0.10",
|
|
53
|
-
"@types/jwk-to-pem": "^2.0.3",
|
|
54
|
-
"@types/node": "^20.0.0",
|
|
55
|
-
"dotenv": "^17.2.3",
|
|
56
|
-
"jest": "^29.7.0",
|
|
57
|
-
"ts-jest": "^29.1.0",
|
|
58
|
-
"express": "^5.0.0"
|
|
59
|
-
},
|
|
60
|
-
"peerDependencies": {
|
|
61
|
-
"@aws-sdk/client-cognito-identity-provider": "^3.0.0",
|
|
62
|
-
"@leanmcp/env-injection": "^0.1.0",
|
|
63
|
-
"axios": "^1.0.0",
|
|
64
|
-
"jsonwebtoken": "^9.0.0",
|
|
65
|
-
"jwk-to-pem": "^2.0.0",
|
|
66
|
-
"keytar": "^7.0.0",
|
|
67
|
-
"open": "^10.0.0",
|
|
68
|
-
"express": "^5.0.0"
|
|
69
|
-
},
|
|
70
|
-
"peerDependenciesMeta": {
|
|
71
|
-
"@aws-sdk/client-cognito-identity-provider": {
|
|
72
|
-
"optional": true
|
|
73
|
-
},
|
|
74
|
-
"@leanmcp/env-injection": {
|
|
75
|
-
"optional": true
|
|
76
|
-
},
|
|
77
|
-
"axios": {
|
|
78
|
-
"optional": true
|
|
79
|
-
},
|
|
80
|
-
"jsonwebtoken": {
|
|
81
|
-
"optional": true
|
|
82
|
-
},
|
|
83
|
-
"jwk-to-pem": {
|
|
84
|
-
"optional": true
|
|
85
|
-
},
|
|
86
|
-
"keytar": {
|
|
87
|
-
"optional": true
|
|
88
|
-
},
|
|
89
|
-
"open": {
|
|
90
|
-
"optional": true
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"repository": {
|
|
94
|
-
"type": "git",
|
|
95
|
-
"url": "git+https://github.com/LeanMCP/leanmcp-sdk.git",
|
|
96
|
-
"directory": "packages/auth"
|
|
97
|
-
},
|
|
98
|
-
"homepage": "https://github.com/LeanMCP/leanmcp-sdk#readme",
|
|
99
|
-
"bugs": {
|
|
100
|
-
"url": "https://github.com/LeanMCP/leanmcp-sdk/issues"
|
|
101
|
-
},
|
|
102
|
-
"keywords": [
|
|
103
|
-
"mcp",
|
|
104
|
-
"model-context-protocol",
|
|
105
|
-
"typescript",
|
|
106
|
-
"decorators",
|
|
107
|
-
"authentication",
|
|
108
|
-
"auth",
|
|
109
|
-
"cognito",
|
|
110
|
-
"jwt",
|
|
111
|
-
"oauth",
|
|
112
|
-
"pkce",
|
|
113
|
-
"oauth2"
|
|
114
|
-
],
|
|
115
|
-
"author": "LeanMCP <admin@leanmcp.com>",
|
|
116
|
-
"license": "MIT",
|
|
117
|
-
"publishConfig": {
|
|
118
|
-
"access": "public"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@leanmcp/auth",
|
|
3
|
+
"version": "0.4.2",
|
|
4
|
+
"description": "Authentication and identity module with OAuth 2.1 client, token storage, and multiple providers",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"import": "./dist/index.mjs"
|
|
13
|
+
},
|
|
14
|
+
"./client": {
|
|
15
|
+
"types": "./dist/client/index.d.ts",
|
|
16
|
+
"require": "./dist/client/index.js",
|
|
17
|
+
"import": "./dist/client/index.mjs"
|
|
18
|
+
},
|
|
19
|
+
"./storage": {
|
|
20
|
+
"types": "./dist/storage/index.d.ts",
|
|
21
|
+
"require": "./dist/storage/index.js",
|
|
22
|
+
"import": "./dist/storage/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"./proxy": {
|
|
25
|
+
"types": "./dist/proxy/index.d.ts",
|
|
26
|
+
"require": "./dist/proxy/index.js",
|
|
27
|
+
"import": "./dist/proxy/index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./server": {
|
|
30
|
+
"types": "./dist/server/index.d.ts",
|
|
31
|
+
"require": "./dist/server/index.js",
|
|
32
|
+
"import": "./dist/server/index.mjs"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
39
|
+
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "tsup src/index.ts src/client/index.ts src/storage/index.ts src/proxy/index.ts src/server/index.ts --format esm,cjs --dts",
|
|
42
|
+
"dev": "tsup src/index.ts src/client/index.ts src/storage/index.ts src/proxy/index.ts src/server/index.ts --format esm,cjs --dts --watch",
|
|
43
|
+
"test": "jest --passWithNoTests",
|
|
44
|
+
"test:watch": "jest --watch"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@leanmcp/core": "^0.3.0",
|
|
48
|
+
"reflect-metadata": "^0.2.1"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/jest": "^29.5.0",
|
|
52
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
53
|
+
"@types/jwk-to-pem": "^2.0.3",
|
|
54
|
+
"@types/node": "^20.0.0",
|
|
55
|
+
"dotenv": "^17.2.3",
|
|
56
|
+
"jest": "^29.7.0",
|
|
57
|
+
"ts-jest": "^29.1.0",
|
|
58
|
+
"express": "^5.0.0"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"@aws-sdk/client-cognito-identity-provider": "^3.0.0",
|
|
62
|
+
"@leanmcp/env-injection": "^0.1.0",
|
|
63
|
+
"axios": "^1.0.0",
|
|
64
|
+
"jsonwebtoken": "^9.0.0",
|
|
65
|
+
"jwk-to-pem": "^2.0.0",
|
|
66
|
+
"keytar": "^7.0.0",
|
|
67
|
+
"open": "^10.0.0",
|
|
68
|
+
"express": "^5.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"@aws-sdk/client-cognito-identity-provider": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"@leanmcp/env-injection": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"axios": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"jsonwebtoken": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"jwk-to-pem": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"keytar": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"open": {
|
|
90
|
+
"optional": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"repository": {
|
|
94
|
+
"type": "git",
|
|
95
|
+
"url": "git+https://github.com/LeanMCP/leanmcp-sdk.git",
|
|
96
|
+
"directory": "packages/auth"
|
|
97
|
+
},
|
|
98
|
+
"homepage": "https://github.com/LeanMCP/leanmcp-sdk#readme",
|
|
99
|
+
"bugs": {
|
|
100
|
+
"url": "https://github.com/LeanMCP/leanmcp-sdk/issues"
|
|
101
|
+
},
|
|
102
|
+
"keywords": [
|
|
103
|
+
"mcp",
|
|
104
|
+
"model-context-protocol",
|
|
105
|
+
"typescript",
|
|
106
|
+
"decorators",
|
|
107
|
+
"authentication",
|
|
108
|
+
"auth",
|
|
109
|
+
"cognito",
|
|
110
|
+
"jwt",
|
|
111
|
+
"oauth",
|
|
112
|
+
"pkce",
|
|
113
|
+
"oauth2"
|
|
114
|
+
],
|
|
115
|
+
"author": "LeanMCP <admin@leanmcp.com>",
|
|
116
|
+
"license": "MIT",
|
|
117
|
+
"publishConfig": {
|
|
118
|
+
"access": "public"
|
|
119
|
+
}
|
|
120
|
+
}
|