@frontmcp/auth 1.9.4 → 1.9.5
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/README.md +11 -11
- package/esm/index.mjs +1 -1
- package/esm/package.json +6 -6
- package/index.js +1 -1
- package/package.json +6 -6
- package/session/secure-store.factory.d.ts +2 -0
- package/session/secure-store.factory.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -72,14 +72,14 @@ Apache-2.0 — see [LICENSE](../../LICENSE).
|
|
|
72
72
|
|
|
73
73
|
<!-- links -->
|
|
74
74
|
|
|
75
|
-
[docs-overview]: https://
|
|
76
|
-
[docs-remote]: https://
|
|
77
|
-
[docs-local]: https://
|
|
78
|
-
[docs-jwks]: https://
|
|
79
|
-
[docs-stores]: https://
|
|
80
|
-
[docs-vault]: https://
|
|
81
|
-
[docs-pkce]: https://
|
|
82
|
-
[docs-cimd]: https://
|
|
83
|
-
[docs-ui]: https://
|
|
84
|
-
[docs-audience]: https://
|
|
85
|
-
[docs-token-vault]: https://
|
|
75
|
+
[docs-overview]: https://frontmcp.dev/reference/auth
|
|
76
|
+
[docs-remote]: https://frontmcp.dev/reference/auth/remote
|
|
77
|
+
[docs-local]: https://frontmcp.dev/reference/auth/local
|
|
78
|
+
[docs-jwks]: https://frontmcp.dev/reference/auth/local
|
|
79
|
+
[docs-stores]: https://frontmcp.dev/reference/auth/production
|
|
80
|
+
[docs-vault]: https://frontmcp.dev/reference/auth/authorities
|
|
81
|
+
[docs-pkce]: https://frontmcp.dev/reference/auth/local
|
|
82
|
+
[docs-cimd]: https://frontmcp.dev/reference/auth/cimd
|
|
83
|
+
[docs-ui]: https://frontmcp.dev/reference/auth/login-ui
|
|
84
|
+
[docs-audience]: https://frontmcp.dev/reference/auth/tokens
|
|
85
|
+
[docs-token-vault]: https://frontmcp.dev/reference/auth/authorities
|
package/esm/index.mjs
CHANGED
|
@@ -3660,7 +3660,7 @@ async function createSecureStore(options) {
|
|
|
3660
3660
|
pepper: readPepper(config) ?? pepper,
|
|
3661
3661
|
logger
|
|
3662
3662
|
});
|
|
3663
|
-
return { backend, scope, ttlMs, kind };
|
|
3663
|
+
return { backend, scope, ttlMs, kind, ...storage ? {} : { close: () => adapter.disconnect() } };
|
|
3664
3664
|
}
|
|
3665
3665
|
|
|
3666
3666
|
// libs/auth/src/session/token.vault.ts
|
package/esm/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/auth",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"description": "FrontMCP Auth - Authentication, session management, and credential vault",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
|
-
"homepage": "https://
|
|
6
|
+
"homepage": "https://frontmcp.dev/reference/auth",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"mcp",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"node": ">=24.0.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@frontmcp/lazy-zod": "1.9.
|
|
51
|
-
"@frontmcp/storage-sqlite": "1.9.
|
|
50
|
+
"@frontmcp/lazy-zod": "1.9.5",
|
|
51
|
+
"@frontmcp/storage-sqlite": "1.9.5",
|
|
52
52
|
"@vercel/kv": "^3.0.0",
|
|
53
53
|
"ioredis": "^5.0.0"
|
|
54
54
|
},
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@frontmcp/di": "1.9.
|
|
68
|
-
"@frontmcp/utils": "1.9.
|
|
67
|
+
"@frontmcp/di": "1.9.5",
|
|
68
|
+
"@frontmcp/utils": "1.9.5",
|
|
69
69
|
"jose": "^6.0.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
package/index.js
CHANGED
|
@@ -3983,7 +3983,7 @@ async function createSecureStore(options) {
|
|
|
3983
3983
|
pepper: readPepper(config) ?? pepper,
|
|
3984
3984
|
logger
|
|
3985
3985
|
});
|
|
3986
|
-
return { backend, scope, ttlMs, kind };
|
|
3986
|
+
return { backend, scope, ttlMs, kind, ...storage ? {} : { close: () => adapter.disconnect() } };
|
|
3987
3987
|
}
|
|
3988
3988
|
|
|
3989
3989
|
// libs/auth/src/session/token.vault.ts
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/auth",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"description": "FrontMCP Auth - Authentication, session management, and credential vault",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
|
-
"homepage": "https://
|
|
6
|
+
"homepage": "https://frontmcp.dev/reference/auth",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"mcp",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"node": ">=24.0.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@frontmcp/lazy-zod": "1.9.
|
|
51
|
-
"@frontmcp/storage-sqlite": "1.9.
|
|
50
|
+
"@frontmcp/lazy-zod": "1.9.5",
|
|
51
|
+
"@frontmcp/storage-sqlite": "1.9.5",
|
|
52
52
|
"@vercel/kv": "^3.0.0",
|
|
53
53
|
"ioredis": "^5.0.0"
|
|
54
54
|
},
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@frontmcp/di": "1.9.
|
|
68
|
-
"@frontmcp/utils": "1.9.
|
|
67
|
+
"@frontmcp/di": "1.9.5",
|
|
68
|
+
"@frontmcp/utils": "1.9.5",
|
|
69
69
|
"jose": "^6.0.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
@@ -31,6 +31,8 @@ export interface ResolvedSecureStore {
|
|
|
31
31
|
scope: SecureStoreScope;
|
|
32
32
|
ttlMs?: number;
|
|
33
33
|
kind: SecureStoreBackendKind;
|
|
34
|
+
/** Closes the storage the factory opened for the backing; absent for a custom backend or a passed `storage`. */
|
|
35
|
+
close?: () => Promise<void>;
|
|
34
36
|
}
|
|
35
37
|
/**
|
|
36
38
|
* Options for {@link createSecureStore}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secure-store.factory.d.ts","sourceRoot":"","sources":["../../src/session/secure-store.factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,KAAK,iBAAiB,EAA0D,MAAM,uBAAuB,CAAC;AACvH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKhF,gEAAgE;AAChE,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE9E;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,gBAAgB,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"secure-store.factory.d.ts","sourceRoot":"","sources":["../../src/session/secure-store.factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,KAAK,iBAAiB,EAA0D,MAAM,uBAAuB,CAAC;AACvH,OAAO,E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