fastmcp 4.17.0 → 4.18.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.
- package/README.md +18 -0
- package/dist/FastMCP.cjs +2 -2
- package/dist/FastMCP.d.cts +2 -2
- package/dist/FastMCP.d.ts +2 -2
- package/dist/FastMCP.js +1 -1
- package/dist/{OAuthProvider-BWezdrAA.d.cts → OAuthProvider-Dy1PbWAT.d.cts} +7 -0
- package/dist/{OAuthProvider-BWezdrAA.d.ts → OAuthProvider-Dy1PbWAT.d.ts} +7 -0
- package/dist/auth/index.cjs +2 -2
- package/dist/auth/index.d.cts +2 -2
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +1 -1
- package/dist/{chunk-BL2SWQWP.cjs → chunk-E3HXGE2O.cjs} +25 -3
- package/dist/chunk-E3HXGE2O.cjs.map +1 -0
- package/dist/{chunk-UKKIJDLP.js → chunk-KWRV7CHJ.js} +25 -3
- package/dist/chunk-KWRV7CHJ.js.map +1 -0
- package/dist/examples/custom-routes.cjs +1 -1
- package/dist/examples/custom-routes.js +1 -1
- package/dist/openapi/index.cjs +482 -0
- package/dist/openapi/index.cjs.map +1 -0
- package/dist/openapi/index.d.cts +171 -0
- package/dist/openapi/index.d.ts +171 -0
- package/dist/openapi/index.js +482 -0
- package/dist/openapi/index.js.map +1 -0
- package/package.json +10 -1
- package/dist/chunk-BL2SWQWP.cjs.map +0 -1
- package/dist/chunk-UKKIJDLP.js.map +0 -1
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ A TypeScript framework for building [MCP](https://glama.ai/mcp) servers capable
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
11
|
- Simple Tool, Resource, Prompt definition
|
|
12
|
+
- [OpenAPI to MCP conversion](#openapi)
|
|
12
13
|
- [Authentication](#authentication)
|
|
13
14
|
- [Passing headers through context](#passing-headers-through-context)
|
|
14
15
|
- [Session ID and Request ID tracking](#session-id-and-request-id-tracking)
|
|
@@ -1873,6 +1874,23 @@ server.addPrompt({
|
|
|
1873
1874
|
});
|
|
1874
1875
|
```
|
|
1875
1876
|
|
|
1877
|
+
### OpenAPI
|
|
1878
|
+
|
|
1879
|
+
`fromOpenAPI()` (from `fastmcp/openapi`) converts an OpenAPI 3.x document into a FastMCP server, one tool per operation — handling external `$ref`s (multi-file specs), relative `servers[0].url` resolution, and parameter-flattening collisions along the way:
|
|
1880
|
+
|
|
1881
|
+
```ts
|
|
1882
|
+
import { fromOpenAPI } from "fastmcp/openapi";
|
|
1883
|
+
|
|
1884
|
+
const server = await fromOpenAPI({
|
|
1885
|
+
spec: "https://petstore3.swagger.io/api/v3/openapi.json",
|
|
1886
|
+
include: (operation) => operation.tags.includes("pet"),
|
|
1887
|
+
});
|
|
1888
|
+
|
|
1889
|
+
await server.start({ transportType: "stdio" });
|
|
1890
|
+
```
|
|
1891
|
+
|
|
1892
|
+
See [OpenAPI to MCP](docs/openapi.md) for the full option reference, authentication, and known limitations.
|
|
1893
|
+
|
|
1876
1894
|
### Authentication
|
|
1877
1895
|
|
|
1878
1896
|
FastMCP supports OAuth 2.1 authentication with pre-configured providers, allowing you to secure your server with minimal setup.
|
package/dist/FastMCP.cjs
CHANGED
|
@@ -24,7 +24,7 @@ var _chunkSYZRGVQXcjs = require('./chunk-SYZRGVQX.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkE3HXGE2Ocjs = require('./chunk-E3HXGE2O.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -49,5 +49,5 @@ var _chunkBL2SWQWPcjs = require('./chunk-BL2SWQWP.cjs');
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
exports.AuthProvider =
|
|
52
|
+
exports.AuthProvider = _chunkE3HXGE2Ocjs.AuthProvider; exports.AzureProvider = _chunkE3HXGE2Ocjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkSYZRGVQXcjs.DiscoveryDocumentCache; exports.FastMCP = _chunkSYZRGVQXcjs.FastMCP; exports.FastMCPError = _chunkSYZRGVQXcjs.FastMCPError; exports.FastMCPSession = _chunkSYZRGVQXcjs.FastMCPSession; exports.GitHubProvider = _chunkE3HXGE2Ocjs.GitHubProvider; exports.GoogleProvider = _chunkE3HXGE2Ocjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkSYZRGVQXcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkE3HXGE2Ocjs.OAuthProvider; exports.ServerState = _chunkSYZRGVQXcjs.ServerState; exports.SessionError = _chunkSYZRGVQXcjs.SessionError; exports.UnexpectedStateError = _chunkSYZRGVQXcjs.UnexpectedStateError; exports.UserError = _chunkSYZRGVQXcjs.UserError; exports.audioContent = _chunkSYZRGVQXcjs.audioContent; exports.getAuthSession = _chunkE3HXGE2Ocjs.getAuthSession; exports.imageContent = _chunkSYZRGVQXcjs.imageContent; exports.jsonSchemaAdapter = _chunkSYZRGVQXcjs.jsonSchemaAdapter; exports.requireAll = _chunkE3HXGE2Ocjs.requireAll; exports.requireAny = _chunkE3HXGE2Ocjs.requireAny; exports.requireAuth = _chunkE3HXGE2Ocjs.requireAuth; exports.requireRole = _chunkE3HXGE2Ocjs.requireRole; exports.requireScopes = _chunkE3HXGE2Ocjs.requireScopes;
|
|
53
53
|
//# sourceMappingURL=FastMCP.cjs.map
|
package/dist/FastMCP.d.cts
CHANGED
|
@@ -12,8 +12,8 @@ import { CorsOptions } from 'mcp-proxy';
|
|
|
12
12
|
export { CorsOptions } from 'mcp-proxy';
|
|
13
13
|
import { StrictEventEmitter } from 'strict-event-emitter-types';
|
|
14
14
|
import { z } from 'zod';
|
|
15
|
-
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-
|
|
16
|
-
export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-
|
|
15
|
+
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-Dy1PbWAT.cjs';
|
|
16
|
+
export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-Dy1PbWAT.cjs';
|
|
17
17
|
import 'node:http';
|
|
18
18
|
|
|
19
19
|
declare class DiscoveryDocumentCache {
|
package/dist/FastMCP.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ import { CorsOptions } from 'mcp-proxy';
|
|
|
12
12
|
export { CorsOptions } from 'mcp-proxy';
|
|
13
13
|
import { StrictEventEmitter } from 'strict-event-emitter-types';
|
|
14
14
|
import { z } from 'zod';
|
|
15
|
-
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-
|
|
16
|
-
export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-
|
|
15
|
+
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-Dy1PbWAT.js';
|
|
16
|
+
export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-Dy1PbWAT.js';
|
|
17
17
|
import 'node:http';
|
|
18
18
|
|
|
19
19
|
declare class DiscoveryDocumentCache {
|
package/dist/FastMCP.js
CHANGED
|
@@ -354,6 +354,13 @@ interface ProxyDCRClient {
|
|
|
354
354
|
redirectUris: string[];
|
|
355
355
|
/** Client registration timestamp */
|
|
356
356
|
registeredAt: Date;
|
|
357
|
+
/**
|
|
358
|
+
* How this client came to be known, when that changes the rules applied to
|
|
359
|
+
* it. `"cimd"` marks a public client whose identity is a URL anyone can
|
|
360
|
+
* name and which holds no secret, so the proxy requires S256 PKCE from it.
|
|
361
|
+
* Absent for a Dynamic Client Registration.
|
|
362
|
+
*/
|
|
363
|
+
source?: "cimd";
|
|
357
364
|
}
|
|
358
365
|
/**
|
|
359
366
|
* OAuth refresh token request
|
|
@@ -354,6 +354,13 @@ interface ProxyDCRClient {
|
|
|
354
354
|
redirectUris: string[];
|
|
355
355
|
/** Client registration timestamp */
|
|
356
356
|
registeredAt: Date;
|
|
357
|
+
/**
|
|
358
|
+
* How this client came to be known, when that changes the rules applied to
|
|
359
|
+
* it. `"cimd"` marks a public client whose identity is a URL anyone can
|
|
360
|
+
* name and which holds no secret, so the proxy requires S256 PKCE from it.
|
|
361
|
+
* Absent for a Dynamic Client Registration.
|
|
362
|
+
*/
|
|
363
|
+
source?: "cimd";
|
|
357
364
|
}
|
|
358
365
|
/**
|
|
359
366
|
* OAuth refresh token request
|
package/dist/auth/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkE3HXGE2Ocjs = require('../chunk-E3HXGE2O.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -51,5 +51,5 @@ var _chunkBL2SWQWPcjs = require('../chunk-BL2SWQWP.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
exports.AuthProvider =
|
|
54
|
+
exports.AuthProvider = _chunkE3HXGE2Ocjs.AuthProvider; exports.AzureProvider = _chunkE3HXGE2Ocjs.AzureProvider; exports.ConsentManager = _chunkE3HXGE2Ocjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunkE3HXGE2Ocjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunkE3HXGE2Ocjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunkE3HXGE2Ocjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunkE3HXGE2Ocjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunkE3HXGE2Ocjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunkE3HXGE2Ocjs.DiskStore; exports.EncryptedTokenStorage = _chunkE3HXGE2Ocjs.EncryptedTokenStorage; exports.GitHubProvider = _chunkE3HXGE2Ocjs.GitHubProvider; exports.GoogleProvider = _chunkE3HXGE2Ocjs.GoogleProvider; exports.JWKSVerifier = _chunkE3HXGE2Ocjs.JWKSVerifier; exports.JWTIssuer = _chunkE3HXGE2Ocjs.JWTIssuer; exports.MemoryTokenStorage = _chunkE3HXGE2Ocjs.MemoryTokenStorage; exports.OAuthProvider = _chunkE3HXGE2Ocjs.OAuthProvider; exports.OAuthProxy = _chunkE3HXGE2Ocjs.OAuthProxy; exports.OAuthProxyError = _chunkE3HXGE2Ocjs.OAuthProxyError; exports.PKCEUtils = _chunkE3HXGE2Ocjs.PKCEUtils; exports.getAuthSession = _chunkE3HXGE2Ocjs.getAuthSession; exports.requireAll = _chunkE3HXGE2Ocjs.requireAll; exports.requireAny = _chunkE3HXGE2Ocjs.requireAny; exports.requireAuth = _chunkE3HXGE2Ocjs.requireAuth; exports.requireRole = _chunkE3HXGE2Ocjs.requireRole; exports.requireScopes = _chunkE3HXGE2Ocjs.requireScopes;
|
|
55
55
|
//# sourceMappingURL=index.cjs.map
|
package/dist/auth/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as OAuthTransaction, C as ConsentData, T as TokenStorage, q as TokenVerifier, s as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-
|
|
2
|
-
export { A as AuthProvider, j as AuthProviderConfig, y as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, z as ClientCode, B as DCRClientMetadata, E as DCRRequest, F as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, u as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, v as DEFAULT_AUTHORIZATION_CODE_TTL, w as DEFAULT_REFRESH_TOKEN_TTL, x as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, H as OAuthError, d as OAuthProvider, I as OAuthProviderConfig, a as OAuthProxy, J as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, K as ProxyDCRClient, R as RefreshRequest, L as TokenMapping, M as TokenRequest, N as TokenResponse, U as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-
|
|
1
|
+
import { p as OAuthTransaction, C as ConsentData, T as TokenStorage, q as TokenVerifier, s as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-Dy1PbWAT.cjs';
|
|
2
|
+
export { A as AuthProvider, j as AuthProviderConfig, y as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, z as ClientCode, B as DCRClientMetadata, E as DCRRequest, F as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, u as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, v as DEFAULT_AUTHORIZATION_CODE_TTL, w as DEFAULT_REFRESH_TOKEN_TTL, x as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, H as OAuthError, d as OAuthProvider, I as OAuthProviderConfig, a as OAuthProxy, J as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, K as ProxyDCRClient, R as RefreshRequest, L as TokenMapping, M as TokenRequest, N as TokenResponse, U as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-Dy1PbWAT.cjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as OAuthTransaction, C as ConsentData, T as TokenStorage, q as TokenVerifier, s as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-
|
|
2
|
-
export { A as AuthProvider, j as AuthProviderConfig, y as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, z as ClientCode, B as DCRClientMetadata, E as DCRRequest, F as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, u as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, v as DEFAULT_AUTHORIZATION_CODE_TTL, w as DEFAULT_REFRESH_TOKEN_TTL, x as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, H as OAuthError, d as OAuthProvider, I as OAuthProviderConfig, a as OAuthProxy, J as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, K as ProxyDCRClient, R as RefreshRequest, L as TokenMapping, M as TokenRequest, N as TokenResponse, U as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-
|
|
1
|
+
import { p as OAuthTransaction, C as ConsentData, T as TokenStorage, q as TokenVerifier, s as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-Dy1PbWAT.js';
|
|
2
|
+
export { A as AuthProvider, j as AuthProviderConfig, y as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, z as ClientCode, B as DCRClientMetadata, E as DCRRequest, F as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, u as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, v as DEFAULT_AUTHORIZATION_CODE_TTL, w as DEFAULT_REFRESH_TOKEN_TTL, x as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, H as OAuthError, d as OAuthProvider, I as OAuthProviderConfig, a as OAuthProxy, J as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, K as ProxyDCRClient, R as RefreshRequest, L as TokenMapping, M as TokenRequest, N as TokenResponse, U as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-Dy1PbWAT.js';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/auth/index.js
CHANGED
|
@@ -75,7 +75,8 @@ var proxyDcrClientStorageSchema = _zod.z.object({
|
|
|
75
75
|
expiresAt: storedDateSchema.optional(),
|
|
76
76
|
metadata: dcrClientMetadataSchema.optional(),
|
|
77
77
|
redirectUris: _zod.z.array(_zod.z.string()),
|
|
78
|
-
registeredAt: storedDateSchema
|
|
78
|
+
registeredAt: storedDateSchema,
|
|
79
|
+
source: _zod.z.literal("cimd").optional()
|
|
79
80
|
});
|
|
80
81
|
var upstreamTokenSetStorageSchema = _zod.z.object({
|
|
81
82
|
accessToken: _zod.z.string(),
|
|
@@ -356,7 +357,8 @@ async function resolveCimdClient(clientId, requestedRedirectUri, validateRedirec
|
|
|
356
357
|
expiresAt: new Date(Date.now() + CIMD_CLIENT_TTL_MS),
|
|
357
358
|
metadata,
|
|
358
359
|
redirectUris,
|
|
359
|
-
registeredAt: /* @__PURE__ */ new Date()
|
|
360
|
+
registeredAt: /* @__PURE__ */ new Date(),
|
|
361
|
+
source: "cimd"
|
|
360
362
|
};
|
|
361
363
|
}
|
|
362
364
|
function expandIPv6(host) {
|
|
@@ -1427,6 +1429,20 @@ var OAuthProxy = (_class4 = class {
|
|
|
1427
1429
|
"code_challenge_method 'plain' is not supported; use S256"
|
|
1428
1430
|
);
|
|
1429
1431
|
}
|
|
1432
|
+
if (registeredClient.source === "cimd") {
|
|
1433
|
+
if (!params.code_challenge) {
|
|
1434
|
+
throw new OAuthProxyError(
|
|
1435
|
+
"invalid_request",
|
|
1436
|
+
"code_challenge is required for Client ID Metadata Document clients"
|
|
1437
|
+
);
|
|
1438
|
+
}
|
|
1439
|
+
if (params.code_challenge_method !== "S256") {
|
|
1440
|
+
throw new OAuthProxyError(
|
|
1441
|
+
"invalid_request",
|
|
1442
|
+
"code_challenge_method must be S256 for Client ID Metadata Document clients"
|
|
1443
|
+
);
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1430
1446
|
const transaction = await this.createTransaction(params);
|
|
1431
1447
|
if (this.config.consentRequired && !transaction.consentGiven) {
|
|
1432
1448
|
return this.consentManager.createConsentResponse(
|
|
@@ -1479,6 +1495,12 @@ var OAuthProxy = (_class4 = class {
|
|
|
1479
1495
|
if (clientCode.clientId !== request.client_id) {
|
|
1480
1496
|
throw new OAuthProxyError("invalid_client", "Client ID mismatch");
|
|
1481
1497
|
}
|
|
1498
|
+
if (registeredClient.source === "cimd" && !clientCode.codeChallenge) {
|
|
1499
|
+
throw new OAuthProxyError(
|
|
1500
|
+
"invalid_grant",
|
|
1501
|
+
"PKCE is required for Client ID Metadata Document clients"
|
|
1502
|
+
);
|
|
1503
|
+
}
|
|
1482
1504
|
if (clientCode.codeChallenge) {
|
|
1483
1505
|
if (!request.code_verifier) {
|
|
1484
1506
|
throw new OAuthProxyError(
|
|
@@ -3054,4 +3076,4 @@ Original error: ${error.message}`
|
|
|
3054
3076
|
|
|
3055
3077
|
|
|
3056
3078
|
exports.getAuthSession = getAuthSession; exports.requireAll = requireAll; exports.requireAny = requireAny; exports.requireAuth = requireAuth; exports.requireRole = requireRole; exports.requireScopes = requireScopes; exports.DEFAULT_ACCESS_TOKEN_TTL = DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_REFRESH_TOKEN_TTL = DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_AUTHORIZATION_CODE_TTL = DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_TRANSACTION_TTL = DEFAULT_TRANSACTION_TTL; exports.ConsentManager = ConsentManager; exports.JWTIssuer = JWTIssuer; exports.PKCEUtils = PKCEUtils; exports.EncryptedTokenStorage = EncryptedTokenStorage; exports.MemoryTokenStorage = MemoryTokenStorage; exports.OAuthProxy = OAuthProxy; exports.OAuthProxyError = OAuthProxyError; exports.AuthProvider = AuthProvider; exports.AzureProvider = AzureProvider; exports.GitHubProvider = GitHubProvider; exports.GoogleProvider = GoogleProvider; exports.OAuthProvider = OAuthProvider; exports.DiskStore = DiskStore; exports.JWKSVerifier = JWKSVerifier;
|
|
3057
|
-
//# sourceMappingURL=chunk-
|
|
3079
|
+
//# sourceMappingURL=chunk-E3HXGE2O.cjs.map
|