fastmcp 4.28.3 → 4.29.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 (44) hide show
  1. package/README.md +21 -0
  2. package/dist/FastMCP.cjs +4 -4
  3. package/dist/FastMCP.d.cts +6 -4
  4. package/dist/FastMCP.d.ts +6 -4
  5. package/dist/FastMCP.js +3 -3
  6. package/dist/{OAuthProvider-D9JYSSem.d.cts → OAuthProvider-C2Z93xC5.d.cts} +2 -1
  7. package/dist/{OAuthProvider-D9JYSSem.d.ts → OAuthProvider-C2Z93xC5.d.ts} +2 -1
  8. package/dist/auth/index.cjs +2 -2
  9. package/dist/auth/index.d.cts +2 -2
  10. package/dist/auth/index.d.ts +2 -2
  11. package/dist/auth/index.js +1 -1
  12. package/dist/{chunk-SQS3SIW7.cjs → chunk-5EEESM57.cjs} +81 -94
  13. package/dist/chunk-5EEESM57.cjs.map +1 -0
  14. package/dist/{chunk-OCCYKYIM.cjs → chunk-FBDPX4H2.cjs} +30 -3
  15. package/dist/chunk-FBDPX4H2.cjs.map +1 -0
  16. package/dist/{chunk-B2QUCZGV.js → chunk-JCKJRUCE.js} +30 -3
  17. package/dist/chunk-JCKJRUCE.js.map +1 -0
  18. package/dist/{chunk-2RLFFOY2.js → chunk-RWPENEKV.js} +8 -1
  19. package/dist/chunk-RWPENEKV.js.map +1 -0
  20. package/dist/{chunk-A2TZVOOY.cjs → chunk-UHJQUSUX.cjs} +8 -1
  21. package/dist/chunk-UHJQUSUX.cjs.map +1 -0
  22. package/dist/{chunk-GAPP6V64.js → chunk-VN5SZ6IE.js} +48 -61
  23. package/dist/chunk-VN5SZ6IE.js.map +1 -0
  24. package/dist/edge/index.cjs +31 -9
  25. package/dist/edge/index.cjs.map +1 -1
  26. package/dist/edge/index.d.cts +4 -0
  27. package/dist/edge/index.d.ts +4 -0
  28. package/dist/edge/index.js +29 -7
  29. package/dist/edge/index.js.map +1 -1
  30. package/dist/examples/custom-routes.cjs +4 -4
  31. package/dist/examples/custom-routes.js +3 -3
  32. package/dist/openapi/index.cjs +145 -132
  33. package/dist/openapi/index.cjs.map +1 -1
  34. package/dist/openapi/index.d.cts +1 -1
  35. package/dist/openapi/index.d.ts +1 -1
  36. package/dist/openapi/index.js +136 -123
  37. package/dist/openapi/index.js.map +1 -1
  38. package/package.json +3 -3
  39. package/dist/chunk-2RLFFOY2.js.map +0 -1
  40. package/dist/chunk-A2TZVOOY.cjs.map +0 -1
  41. package/dist/chunk-B2QUCZGV.js.map +0 -1
  42. package/dist/chunk-GAPP6V64.js.map +0 -1
  43. package/dist/chunk-OCCYKYIM.cjs.map +0 -1
  44. package/dist/chunk-SQS3SIW7.cjs.map +0 -1
package/README.md CHANGED
@@ -1848,6 +1848,27 @@ server.addTool({
1848
1848
  });
1849
1849
  ```
1850
1850
 
1851
+ #### Loaders that use auth
1852
+
1853
+ `embedded()` is called on the server, not on a session, so by default the loader gets no `auth`. Pass the tool's `context` and the loader sees the same `auth` and load context it would get from `resources/read`:
1854
+
1855
+ ```js
1856
+ server.addTool({
1857
+ name: "get_my_profile",
1858
+ parameters: z.object({}),
1859
+ execute: async (args, context) => {
1860
+ return {
1861
+ content: [
1862
+ {
1863
+ type: "resource",
1864
+ resource: await server.embedded("user://me", context),
1865
+ },
1866
+ ],
1867
+ };
1868
+ },
1869
+ });
1870
+ ```
1871
+
1851
1872
  ### Prompts
1852
1873
 
1853
1874
  [Prompts](https://modelcontextprotocol.io/docs/concepts/prompts) enable servers to define reusable prompt templates and workflows that clients can easily surface to users and LLMs. They provide a powerful way to standardize and share common LLM interactions.
package/dist/FastMCP.cjs CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkSQS3SIW7cjs = require('./chunk-SQS3SIW7.cjs');
14
+ var _chunk5EEESM57cjs = require('./chunk-5EEESM57.cjs');
15
15
 
16
16
 
17
17
 
@@ -24,8 +24,8 @@ var _chunkSQS3SIW7cjs = require('./chunk-SQS3SIW7.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunkA2TZVOOYcjs = require('./chunk-A2TZVOOY.cjs');
28
- require('./chunk-OCCYKYIM.cjs');
27
+ var _chunkUHJQUSUXcjs = require('./chunk-UHJQUSUX.cjs');
28
+ require('./chunk-FBDPX4H2.cjs');
29
29
 
30
30
 
31
31
 
@@ -50,5 +50,5 @@ require('./chunk-OCCYKYIM.cjs');
50
50
 
51
51
 
52
52
 
53
- exports.AuthProvider = _chunkA2TZVOOYcjs.AuthProvider; exports.AzureProvider = _chunkA2TZVOOYcjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkSQS3SIW7cjs.DiscoveryDocumentCache; exports.FastMCP = _chunkSQS3SIW7cjs.FastMCP; exports.FastMCPError = _chunkSQS3SIW7cjs.FastMCPError; exports.FastMCPSession = _chunkSQS3SIW7cjs.FastMCPSession; exports.GitHubProvider = _chunkA2TZVOOYcjs.GitHubProvider; exports.GoogleProvider = _chunkA2TZVOOYcjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkSQS3SIW7cjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkA2TZVOOYcjs.OAuthProvider; exports.ServerState = _chunkSQS3SIW7cjs.ServerState; exports.SessionError = _chunkSQS3SIW7cjs.SessionError; exports.UnexpectedStateError = _chunkSQS3SIW7cjs.UnexpectedStateError; exports.UserError = _chunkSQS3SIW7cjs.UserError; exports.audioContent = _chunkSQS3SIW7cjs.audioContent; exports.getAuthSession = _chunkA2TZVOOYcjs.getAuthSession; exports.imageContent = _chunkSQS3SIW7cjs.imageContent; exports.jsonSchemaAdapter = _chunkSQS3SIW7cjs.jsonSchemaAdapter; exports.requireAll = _chunkA2TZVOOYcjs.requireAll; exports.requireAny = _chunkA2TZVOOYcjs.requireAny; exports.requireAuth = _chunkA2TZVOOYcjs.requireAuth; exports.requireRole = _chunkA2TZVOOYcjs.requireRole; exports.requireScopes = _chunkA2TZVOOYcjs.requireScopes;
53
+ exports.AuthProvider = _chunkUHJQUSUXcjs.AuthProvider; exports.AzureProvider = _chunkUHJQUSUXcjs.AzureProvider; exports.DiscoveryDocumentCache = _chunk5EEESM57cjs.DiscoveryDocumentCache; exports.FastMCP = _chunk5EEESM57cjs.FastMCP; exports.FastMCPError = _chunk5EEESM57cjs.FastMCPError; exports.FastMCPSession = _chunk5EEESM57cjs.FastMCPSession; exports.GitHubProvider = _chunkUHJQUSUXcjs.GitHubProvider; exports.GoogleProvider = _chunkUHJQUSUXcjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunk5EEESM57cjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkUHJQUSUXcjs.OAuthProvider; exports.ServerState = _chunk5EEESM57cjs.ServerState; exports.SessionError = _chunk5EEESM57cjs.SessionError; exports.UnexpectedStateError = _chunk5EEESM57cjs.UnexpectedStateError; exports.UserError = _chunk5EEESM57cjs.UserError; exports.audioContent = _chunk5EEESM57cjs.audioContent; exports.getAuthSession = _chunkUHJQUSUXcjs.getAuthSession; exports.imageContent = _chunk5EEESM57cjs.imageContent; exports.jsonSchemaAdapter = _chunk5EEESM57cjs.jsonSchemaAdapter; exports.requireAll = _chunkUHJQUSUXcjs.requireAll; exports.requireAny = _chunkUHJQUSUXcjs.requireAny; exports.requireAuth = _chunkUHJQUSUXcjs.requireAuth; exports.requireRole = _chunkUHJQUSUXcjs.requireRole; exports.requireScopes = _chunkUHJQUSUXcjs.requireScopes;
54
54
  //# sourceMappingURL=FastMCP.cjs.map
@@ -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-D9JYSSem.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-D9JYSSem.cjs';
15
+ import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-C2Z93xC5.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-C2Z93xC5.cjs';
17
17
  import 'node:http';
18
18
 
19
19
  declare class DiscoveryDocumentCache {
@@ -1102,9 +1102,10 @@ declare class FastMCP<T extends FastMCPSessionAuth = FastMCPSessionAuth> extends
1102
1102
  * Embeds a resource by URI, making it easy to include resources in tool responses.
1103
1103
  *
1104
1104
  * @param uri - The URI of the resource to embed
1105
+ * @param context - The calling tool's context; its `session` reaches the loader as `auth`
1105
1106
  * @returns Promise<ResourceContent> - The embedded resource content
1106
1107
  */
1107
- embedded(uri: string): Promise<ResourceContent["resource"]>;
1108
+ embedded(uri: string, context?: LoadContext<T>): Promise<ResourceContent["resource"]>;
1108
1109
  /**
1109
1110
  * Returns the underlying Hono app instance for direct access to Hono's native API.
1110
1111
  * This allows you to add custom routes, middleware, and handlers using Hono's standard methods.
@@ -1192,7 +1193,8 @@ declare class FastMCP<T extends FastMCPSessionAuth = FastMCPSessionAuth> extends
1192
1193
  }>): Promise<void>;
1193
1194
  /**
1194
1195
  * Stops transports created by `start()`. Transports passed to `connect()`
1195
- * remain open and belong to the caller.
1196
+ * remain open and belong to the caller, and continue receiving registration
1197
+ * updates until they are closed.
1196
1198
  */
1197
1199
  stop(): Promise<void>;
1198
1200
  }
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-D9JYSSem.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-D9JYSSem.js';
15
+ import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-C2Z93xC5.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-C2Z93xC5.js';
17
17
  import 'node:http';
18
18
 
19
19
  declare class DiscoveryDocumentCache {
@@ -1102,9 +1102,10 @@ declare class FastMCP<T extends FastMCPSessionAuth = FastMCPSessionAuth> extends
1102
1102
  * Embeds a resource by URI, making it easy to include resources in tool responses.
1103
1103
  *
1104
1104
  * @param uri - The URI of the resource to embed
1105
+ * @param context - The calling tool's context; its `session` reaches the loader as `auth`
1105
1106
  * @returns Promise<ResourceContent> - The embedded resource content
1106
1107
  */
1107
- embedded(uri: string): Promise<ResourceContent["resource"]>;
1108
+ embedded(uri: string, context?: LoadContext<T>): Promise<ResourceContent["resource"]>;
1108
1109
  /**
1109
1110
  * Returns the underlying Hono app instance for direct access to Hono's native API.
1110
1111
  * This allows you to add custom routes, middleware, and handlers using Hono's standard methods.
@@ -1192,7 +1193,8 @@ declare class FastMCP<T extends FastMCPSessionAuth = FastMCPSessionAuth> extends
1192
1193
  }>): Promise<void>;
1193
1194
  /**
1194
1195
  * Stops transports created by `start()`. Transports passed to `connect()`
1195
- * remain open and belong to the caller.
1196
+ * remain open and belong to the caller, and continue receiving registration
1197
+ * updates until they are closed.
1196
1198
  */
1197
1199
  stop(): Promise<void>;
1198
1200
  }
package/dist/FastMCP.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  audioContent,
12
12
  imageContent,
13
13
  jsonSchemaAdapter
14
- } from "./chunk-GAPP6V64.js";
14
+ } from "./chunk-VN5SZ6IE.js";
15
15
  import {
16
16
  AuthProvider,
17
17
  AzureProvider,
@@ -24,8 +24,8 @@ import {
24
24
  requireAuth,
25
25
  requireRole,
26
26
  requireScopes
27
- } from "./chunk-2RLFFOY2.js";
28
- import "./chunk-B2QUCZGV.js";
27
+ } from "./chunk-RWPENEKV.js";
28
+ import "./chunk-JCKJRUCE.js";
29
29
  export {
30
30
  AuthProvider,
31
31
  AzureProvider,
@@ -210,7 +210,8 @@ interface OAuthProxyConfig {
210
210
  * a host name does not reach into a longer one. A `?` in the host may also
211
211
  * be read as the start of the query, as in a URL. The patterns are checked
212
212
  * again at /oauth/authorize, so a registration they no longer allow cannot
213
- * be used. Once
213
+ * be used. A URI with a fragment (`#…`) is refused whatever the patterns
214
+ * say, as RFC 6749 §3.1.2 requires. Once
214
215
  * registered, the same exact URI must be echoed back at /oauth/authorize —
215
216
  * the proxy performs an exact per-client match per RFC 6749 §3.1.2.3.
216
217
  *
@@ -210,7 +210,8 @@ interface OAuthProxyConfig {
210
210
  * a host name does not reach into a longer one. A `?` in the host may also
211
211
  * be read as the start of the query, as in a URL. The patterns are checked
212
212
  * again at /oauth/authorize, so a registration they no longer allow cannot
213
- * be used. Once
213
+ * be used. A URI with a fragment (`#…`) is refused whatever the patterns
214
+ * say, as RFC 6749 §3.1.2 requires. Once
214
215
  * registered, the same exact URI must be echoed back at /oauth/authorize —
215
216
  * the proxy performs an exact per-client match per RFC 6749 §3.1.2.3.
216
217
  *
@@ -25,7 +25,7 @@
25
25
 
26
26
 
27
27
 
28
- var _chunkA2TZVOOYcjs = require('../chunk-A2TZVOOY.cjs');
28
+ var _chunkUHJQUSUXcjs = require('../chunk-UHJQUSUX.cjs');
29
29
 
30
30
 
31
31
 
@@ -53,5 +53,5 @@ var _chunkA2TZVOOYcjs = require('../chunk-A2TZVOOY.cjs');
53
53
 
54
54
 
55
55
 
56
- exports.AuthProvider = _chunkA2TZVOOYcjs.AuthProvider; exports.AzureProvider = _chunkA2TZVOOYcjs.AzureProvider; exports.ConsentManager = _chunkA2TZVOOYcjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunkA2TZVOOYcjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunkA2TZVOOYcjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunkA2TZVOOYcjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunkA2TZVOOYcjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunkA2TZVOOYcjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunkA2TZVOOYcjs.DiskStore; exports.EncryptedTokenStorage = _chunkA2TZVOOYcjs.EncryptedTokenStorage; exports.GitHubProvider = _chunkA2TZVOOYcjs.GitHubProvider; exports.GoogleProvider = _chunkA2TZVOOYcjs.GoogleProvider; exports.JWKSVerifier = _chunkA2TZVOOYcjs.JWKSVerifier; exports.JWTIssuer = _chunkA2TZVOOYcjs.JWTIssuer; exports.MemoryTokenStorage = _chunkA2TZVOOYcjs.MemoryTokenStorage; exports.OAuthProvider = _chunkA2TZVOOYcjs.OAuthProvider; exports.OAuthProxy = _chunkA2TZVOOYcjs.OAuthProxy; exports.OAuthProxyError = _chunkA2TZVOOYcjs.OAuthProxyError; exports.PKCEUtils = _chunkA2TZVOOYcjs.PKCEUtils; exports.TOKEN_ENDPOINT_AUTH_METHODS = _chunkA2TZVOOYcjs.TOKEN_ENDPOINT_AUTH_METHODS; exports.getAuthSession = _chunkA2TZVOOYcjs.getAuthSession; exports.requireAll = _chunkA2TZVOOYcjs.requireAll; exports.requireAny = _chunkA2TZVOOYcjs.requireAny; exports.requireAuth = _chunkA2TZVOOYcjs.requireAuth; exports.requireRole = _chunkA2TZVOOYcjs.requireRole; exports.requireScopes = _chunkA2TZVOOYcjs.requireScopes;
56
+ exports.AuthProvider = _chunkUHJQUSUXcjs.AuthProvider; exports.AzureProvider = _chunkUHJQUSUXcjs.AzureProvider; exports.ConsentManager = _chunkUHJQUSUXcjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunkUHJQUSUXcjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunkUHJQUSUXcjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunkUHJQUSUXcjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunkUHJQUSUXcjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunkUHJQUSUXcjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunkUHJQUSUXcjs.DiskStore; exports.EncryptedTokenStorage = _chunkUHJQUSUXcjs.EncryptedTokenStorage; exports.GitHubProvider = _chunkUHJQUSUXcjs.GitHubProvider; exports.GoogleProvider = _chunkUHJQUSUXcjs.GoogleProvider; exports.JWKSVerifier = _chunkUHJQUSUXcjs.JWKSVerifier; exports.JWTIssuer = _chunkUHJQUSUXcjs.JWTIssuer; exports.MemoryTokenStorage = _chunkUHJQUSUXcjs.MemoryTokenStorage; exports.OAuthProvider = _chunkUHJQUSUXcjs.OAuthProvider; exports.OAuthProxy = _chunkUHJQUSUXcjs.OAuthProxy; exports.OAuthProxyError = _chunkUHJQUSUXcjs.OAuthProxyError; exports.PKCEUtils = _chunkUHJQUSUXcjs.PKCEUtils; exports.TOKEN_ENDPOINT_AUTH_METHODS = _chunkUHJQUSUXcjs.TOKEN_ENDPOINT_AUTH_METHODS; exports.getAuthSession = _chunkUHJQUSUXcjs.getAuthSession; exports.requireAll = _chunkUHJQUSUXcjs.requireAll; exports.requireAny = _chunkUHJQUSUXcjs.requireAny; exports.requireAuth = _chunkUHJQUSUXcjs.requireAuth; exports.requireRole = _chunkUHJQUSUXcjs.requireRole; exports.requireScopes = _chunkUHJQUSUXcjs.requireScopes;
57
57
  //# sourceMappingURL=index.cjs.map
@@ -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-D9JYSSem.cjs';
2
- export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, E as DCRClientMetadata, F as DCRRequest, H 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, I as OAuthError, d as OAuthProvider, J as OAuthProviderConfig, a as OAuthProxy, K as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, L as ProxyDCRClient, R as RefreshRequest, y as TOKEN_ENDPOINT_AUTH_METHODS, M as TokenEndpointAuthMethod, N as TokenMapping, Q as TokenRequest, S 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-D9JYSSem.cjs';
1
+ import { p as OAuthTransaction, C as ConsentData, T as TokenStorage, q as TokenVerifier, s as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-C2Z93xC5.cjs';
2
+ export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, E as DCRClientMetadata, F as DCRRequest, H 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, I as OAuthError, d as OAuthProvider, J as OAuthProviderConfig, a as OAuthProxy, K as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, L as ProxyDCRClient, R as RefreshRequest, y as TOKEN_ENDPOINT_AUTH_METHODS, M as TokenEndpointAuthMethod, N as TokenMapping, Q as TokenRequest, S 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-C2Z93xC5.cjs';
3
3
  import 'node:http';
4
4
 
5
5
  /**
@@ -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-D9JYSSem.js';
2
- export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, E as DCRClientMetadata, F as DCRRequest, H 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, I as OAuthError, d as OAuthProvider, J as OAuthProviderConfig, a as OAuthProxy, K as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, L as ProxyDCRClient, R as RefreshRequest, y as TOKEN_ENDPOINT_AUTH_METHODS, M as TokenEndpointAuthMethod, N as TokenMapping, Q as TokenRequest, S 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-D9JYSSem.js';
1
+ import { p as OAuthTransaction, C as ConsentData, T as TokenStorage, q as TokenVerifier, s as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-C2Z93xC5.js';
2
+ export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, E as DCRClientMetadata, F as DCRRequest, H 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, I as OAuthError, d as OAuthProvider, J as OAuthProviderConfig, a as OAuthProxy, K as OAuthProxyConfig, t as OAuthProxyError, O as OAuthSession, L as ProxyDCRClient, R as RefreshRequest, y as TOKEN_ENDPOINT_AUTH_METHODS, M as TokenEndpointAuthMethod, N as TokenMapping, Q as TokenRequest, S 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-C2Z93xC5.js';
3
3
  import 'node:http';
4
4
 
5
5
  /**
@@ -25,7 +25,7 @@ import {
25
25
  requireAuth,
26
26
  requireRole,
27
27
  requireScopes
28
- } from "../chunk-2RLFFOY2.js";
28
+ } from "../chunk-RWPENEKV.js";
29
29
  export {
30
30
  AuthProvider,
31
31
  AzureProvider,