fastmcp 4.16.14 → 4.17.1

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/dist/FastMCP.cjs CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkKEGPQRWFcjs = require('./chunk-KEGPQRWF.cjs');
14
+ var _chunkSYZRGVQXcjs = require('./chunk-SYZRGVQX.cjs');
15
15
 
16
16
 
17
17
 
@@ -24,7 +24,7 @@ var _chunkKEGPQRWFcjs = require('./chunk-KEGPQRWF.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunkYZWUEW3Acjs = require('./chunk-YZWUEW3A.cjs');
27
+ var _chunkE3HXGE2Ocjs = require('./chunk-E3HXGE2O.cjs');
28
28
 
29
29
 
30
30
 
@@ -49,5 +49,5 @@ var _chunkYZWUEW3Acjs = require('./chunk-YZWUEW3A.cjs');
49
49
 
50
50
 
51
51
 
52
- exports.AuthProvider = _chunkYZWUEW3Acjs.AuthProvider; exports.AzureProvider = _chunkYZWUEW3Acjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkKEGPQRWFcjs.DiscoveryDocumentCache; exports.FastMCP = _chunkKEGPQRWFcjs.FastMCP; exports.FastMCPError = _chunkKEGPQRWFcjs.FastMCPError; exports.FastMCPSession = _chunkKEGPQRWFcjs.FastMCPSession; exports.GitHubProvider = _chunkYZWUEW3Acjs.GitHubProvider; exports.GoogleProvider = _chunkYZWUEW3Acjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkKEGPQRWFcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkYZWUEW3Acjs.OAuthProvider; exports.ServerState = _chunkKEGPQRWFcjs.ServerState; exports.SessionError = _chunkKEGPQRWFcjs.SessionError; exports.UnexpectedStateError = _chunkKEGPQRWFcjs.UnexpectedStateError; exports.UserError = _chunkKEGPQRWFcjs.UserError; exports.audioContent = _chunkKEGPQRWFcjs.audioContent; exports.getAuthSession = _chunkYZWUEW3Acjs.getAuthSession; exports.imageContent = _chunkKEGPQRWFcjs.imageContent; exports.jsonSchemaAdapter = _chunkKEGPQRWFcjs.jsonSchemaAdapter; exports.requireAll = _chunkYZWUEW3Acjs.requireAll; exports.requireAny = _chunkYZWUEW3Acjs.requireAny; exports.requireAuth = _chunkYZWUEW3Acjs.requireAuth; exports.requireRole = _chunkYZWUEW3Acjs.requireRole; exports.requireScopes = _chunkYZWUEW3Acjs.requireScopes;
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
@@ -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-Bvt5a7yr.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-Bvt5a7yr.cjs';
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 {
@@ -504,6 +504,7 @@ type ServerOptions<T extends FastMCPSessionAuth> = {
504
504
  */
505
505
  authorizationServer?: {
506
506
  authorizationEndpoint: string;
507
+ clientIdMetadataDocumentSupported?: boolean;
507
508
  codeChallengeMethodsSupported?: string[];
508
509
  dpopSigningAlgValuesSupported?: string[];
509
510
  grantTypesSupported?: string[];
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-Bvt5a7yr.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-Bvt5a7yr.js';
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 {
@@ -504,6 +504,7 @@ type ServerOptions<T extends FastMCPSessionAuth> = {
504
504
  */
505
505
  authorizationServer?: {
506
506
  authorizationEndpoint: string;
507
+ clientIdMetadataDocumentSupported?: boolean;
507
508
  codeChallengeMethodsSupported?: string[];
508
509
  dpopSigningAlgValuesSupported?: string[];
509
510
  grantTypesSupported?: string[];
package/dist/FastMCP.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  audioContent,
12
12
  imageContent,
13
13
  jsonSchemaAdapter
14
- } from "./chunk-GABSX3WB.js";
14
+ } from "./chunk-UODI5E6U.js";
15
15
  import {
16
16
  AuthProvider,
17
17
  AzureProvider,
@@ -24,7 +24,7 @@ import {
24
24
  requireAuth,
25
25
  requireRole,
26
26
  requireScopes
27
- } from "./chunk-IUDWO3A2.js";
27
+ } from "./chunk-KWRV7CHJ.js";
28
28
  export {
29
29
  AuthProvider,
30
30
  AzureProvider,
@@ -238,6 +238,17 @@ interface OAuthProxyConfig {
238
238
  * Default: true (enabled with default settings)
239
239
  */
240
240
  customClaimsPassthrough?: boolean | CustomClaimsPassthroughConfig;
241
+ /**
242
+ * Accept Client ID Metadata Documents (CIMD) as an alternative to Dynamic
243
+ * Client Registration (default: false).
244
+ *
245
+ * When enabled, an unregistered `client_id` that is an HTTPS URL is
246
+ * resolved by fetching it as a CIMD document (see `resolveCimdClient` in
247
+ * `utils/cimd.ts` for validation details) and advertised via
248
+ * `client_id_metadata_document_supported` in the AS metadata. See the MCP
249
+ * authorization spec's CIMD mechanism (SEP-991).
250
+ */
251
+ enableCimd?: boolean;
241
252
  /** Enable token swap pattern (default: true) - issues short-lived JWTs instead of passing through upstream tokens */
242
253
  enableTokenSwap?: boolean;
243
254
  /** Encryption key for token storage (default: auto-generated). Set to false to disable encryption. */
@@ -331,12 +342,25 @@ interface ProxyDCRClient {
331
342
  clientId: string;
332
343
  /** Proxy-issued client secret (not the upstream provider's client_secret) */
333
344
  clientSecret?: string;
345
+ /**
346
+ * When set, this is a cached resolution of a live document (CIMD) rather
347
+ * than a permanent registration: past this instant the copy is dropped and
348
+ * the document is fetched again.
349
+ */
350
+ expiresAt?: Date;
334
351
  /** Client metadata from registration request */
335
352
  metadata?: DCRClientMetadata;
336
353
  /** All redirect URIs registered by this client */
337
354
  redirectUris: string[];
338
355
  /** Client registration timestamp */
339
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";
340
364
  }
341
365
  /**
342
366
  * OAuth refresh token request
@@ -480,9 +504,13 @@ declare class OAuthProxy {
480
504
  private ownedTokenStorage;
481
505
  /**
482
506
  * Keyed by proxy-issued client_id for authorize/token-exchange lookups and
483
- * for the defence-in-depth callback checks. A registration never changes
507
+ * for the defence-in-depth callback checks. A DCR registration never changes
484
508
  * after it is written, so caching it locally cannot go stale; it is also
485
509
  * persisted, so another instance can hydrate it.
510
+ *
511
+ * A CIMD client is not a registration but a snapshot of a document that can
512
+ * change under us, so it is cached with an `expiresAt` and re-resolved once
513
+ * that passes.
486
514
  */
487
515
  private registeredClientsByClientId;
488
516
  private stateStore;
@@ -509,6 +537,7 @@ declare class OAuthProxy {
509
537
  */
510
538
  getAuthorizationServerMetadata(): {
511
539
  authorizationEndpoint: string;
540
+ clientIdMetadataDocumentSupported?: boolean;
512
541
  codeChallengeMethodsSupported?: string[];
513
542
  dpopSigningAlgValuesSupported?: string[];
514
543
  grantTypesSupported?: string[];
@@ -614,6 +643,15 @@ declare class OAuthProxy {
614
643
  * Issue swapped tokens for refresh flow
615
644
  */
616
645
  private issueSwappedTokensForRefresh;
646
+ /**
647
+ * Defence in depth for the callback and consent-denial redirects: the
648
+ * transaction's stored callback URL must still be registered for its client.
649
+ *
650
+ * Resolution goes through {@link resolveClient}, so a CIMD registration whose
651
+ * cached copy lapsed mid-flow is re-fetched rather than mistaken for one that
652
+ * was revoked.
653
+ */
654
+ private isTransactionCallbackRegistered;
617
655
  /**
618
656
  * Match URI against pattern (supports wildcards)
619
657
  */
@@ -631,6 +669,17 @@ declare class OAuthProxy {
631
669
  * Refresh upstream tokens with provider
632
670
  */
633
671
  private refreshUpstreamTokens;
672
+ /**
673
+ * Resolve the client behind a `client_id`: a stored registration if there is
674
+ * one, otherwise — when CIMD is enabled — the client's metadata document.
675
+ *
676
+ * A resolved CIMD client is cached like a DCR registration but carries the
677
+ * `expiresAt` the resolver stamped on it, so the store drops it once it
678
+ * lapses and the next call re-fetches the document. Every lookup goes
679
+ * through here, so a lapse always means "re-resolve", never "unknown
680
+ * client" mid-flow.
681
+ */
682
+ private resolveClient;
634
683
  /**
635
684
  * Put a claimed refresh-token mapping back after a rotation failed, keeping
636
685
  * whatever lifetime it had left.
@@ -238,6 +238,17 @@ interface OAuthProxyConfig {
238
238
  * Default: true (enabled with default settings)
239
239
  */
240
240
  customClaimsPassthrough?: boolean | CustomClaimsPassthroughConfig;
241
+ /**
242
+ * Accept Client ID Metadata Documents (CIMD) as an alternative to Dynamic
243
+ * Client Registration (default: false).
244
+ *
245
+ * When enabled, an unregistered `client_id` that is an HTTPS URL is
246
+ * resolved by fetching it as a CIMD document (see `resolveCimdClient` in
247
+ * `utils/cimd.ts` for validation details) and advertised via
248
+ * `client_id_metadata_document_supported` in the AS metadata. See the MCP
249
+ * authorization spec's CIMD mechanism (SEP-991).
250
+ */
251
+ enableCimd?: boolean;
241
252
  /** Enable token swap pattern (default: true) - issues short-lived JWTs instead of passing through upstream tokens */
242
253
  enableTokenSwap?: boolean;
243
254
  /** Encryption key for token storage (default: auto-generated). Set to false to disable encryption. */
@@ -331,12 +342,25 @@ interface ProxyDCRClient {
331
342
  clientId: string;
332
343
  /** Proxy-issued client secret (not the upstream provider's client_secret) */
333
344
  clientSecret?: string;
345
+ /**
346
+ * When set, this is a cached resolution of a live document (CIMD) rather
347
+ * than a permanent registration: past this instant the copy is dropped and
348
+ * the document is fetched again.
349
+ */
350
+ expiresAt?: Date;
334
351
  /** Client metadata from registration request */
335
352
  metadata?: DCRClientMetadata;
336
353
  /** All redirect URIs registered by this client */
337
354
  redirectUris: string[];
338
355
  /** Client registration timestamp */
339
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";
340
364
  }
341
365
  /**
342
366
  * OAuth refresh token request
@@ -480,9 +504,13 @@ declare class OAuthProxy {
480
504
  private ownedTokenStorage;
481
505
  /**
482
506
  * Keyed by proxy-issued client_id for authorize/token-exchange lookups and
483
- * for the defence-in-depth callback checks. A registration never changes
507
+ * for the defence-in-depth callback checks. A DCR registration never changes
484
508
  * after it is written, so caching it locally cannot go stale; it is also
485
509
  * persisted, so another instance can hydrate it.
510
+ *
511
+ * A CIMD client is not a registration but a snapshot of a document that can
512
+ * change under us, so it is cached with an `expiresAt` and re-resolved once
513
+ * that passes.
486
514
  */
487
515
  private registeredClientsByClientId;
488
516
  private stateStore;
@@ -509,6 +537,7 @@ declare class OAuthProxy {
509
537
  */
510
538
  getAuthorizationServerMetadata(): {
511
539
  authorizationEndpoint: string;
540
+ clientIdMetadataDocumentSupported?: boolean;
512
541
  codeChallengeMethodsSupported?: string[];
513
542
  dpopSigningAlgValuesSupported?: string[];
514
543
  grantTypesSupported?: string[];
@@ -614,6 +643,15 @@ declare class OAuthProxy {
614
643
  * Issue swapped tokens for refresh flow
615
644
  */
616
645
  private issueSwappedTokensForRefresh;
646
+ /**
647
+ * Defence in depth for the callback and consent-denial redirects: the
648
+ * transaction's stored callback URL must still be registered for its client.
649
+ *
650
+ * Resolution goes through {@link resolveClient}, so a CIMD registration whose
651
+ * cached copy lapsed mid-flow is re-fetched rather than mistaken for one that
652
+ * was revoked.
653
+ */
654
+ private isTransactionCallbackRegistered;
617
655
  /**
618
656
  * Match URI against pattern (supports wildcards)
619
657
  */
@@ -631,6 +669,17 @@ declare class OAuthProxy {
631
669
  * Refresh upstream tokens with provider
632
670
  */
633
671
  private refreshUpstreamTokens;
672
+ /**
673
+ * Resolve the client behind a `client_id`: a stored registration if there is
674
+ * one, otherwise — when CIMD is enabled — the client's metadata document.
675
+ *
676
+ * A resolved CIMD client is cached like a DCR registration but carries the
677
+ * `expiresAt` the resolver stamped on it, so the store drops it once it
678
+ * lapses and the next call re-fetches the document. Every lookup goes
679
+ * through here, so a lapse always means "re-resolve", never "unknown
680
+ * client" mid-flow.
681
+ */
682
+ private resolveClient;
634
683
  /**
635
684
  * Put a claimed refresh-token mapping back after a rotation failed, keeping
636
685
  * whatever lifetime it had left.
@@ -24,7 +24,7 @@
24
24
 
25
25
 
26
26
 
27
- var _chunkYZWUEW3Acjs = require('../chunk-YZWUEW3A.cjs');
27
+ var _chunkE3HXGE2Ocjs = require('../chunk-E3HXGE2O.cjs');
28
28
 
29
29
 
30
30
 
@@ -51,5 +51,5 @@ var _chunkYZWUEW3Acjs = require('../chunk-YZWUEW3A.cjs');
51
51
 
52
52
 
53
53
 
54
- exports.AuthProvider = _chunkYZWUEW3Acjs.AuthProvider; exports.AzureProvider = _chunkYZWUEW3Acjs.AzureProvider; exports.ConsentManager = _chunkYZWUEW3Acjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunkYZWUEW3Acjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunkYZWUEW3Acjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunkYZWUEW3Acjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunkYZWUEW3Acjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunkYZWUEW3Acjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunkYZWUEW3Acjs.DiskStore; exports.EncryptedTokenStorage = _chunkYZWUEW3Acjs.EncryptedTokenStorage; exports.GitHubProvider = _chunkYZWUEW3Acjs.GitHubProvider; exports.GoogleProvider = _chunkYZWUEW3Acjs.GoogleProvider; exports.JWKSVerifier = _chunkYZWUEW3Acjs.JWKSVerifier; exports.JWTIssuer = _chunkYZWUEW3Acjs.JWTIssuer; exports.MemoryTokenStorage = _chunkYZWUEW3Acjs.MemoryTokenStorage; exports.OAuthProvider = _chunkYZWUEW3Acjs.OAuthProvider; exports.OAuthProxy = _chunkYZWUEW3Acjs.OAuthProxy; exports.OAuthProxyError = _chunkYZWUEW3Acjs.OAuthProxyError; exports.PKCEUtils = _chunkYZWUEW3Acjs.PKCEUtils; exports.getAuthSession = _chunkYZWUEW3Acjs.getAuthSession; exports.requireAll = _chunkYZWUEW3Acjs.requireAll; exports.requireAny = _chunkYZWUEW3Acjs.requireAny; exports.requireAuth = _chunkYZWUEW3Acjs.requireAuth; exports.requireRole = _chunkYZWUEW3Acjs.requireRole; exports.requireScopes = _chunkYZWUEW3Acjs.requireScopes;
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
@@ -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-Bvt5a7yr.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-Bvt5a7yr.cjs';
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
  /**
@@ -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-Bvt5a7yr.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-Bvt5a7yr.js';
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
  /**
@@ -24,7 +24,7 @@ import {
24
24
  requireAuth,
25
25
  requireRole,
26
26
  requireScopes
27
- } from "../chunk-IUDWO3A2.js";
27
+ } from "../chunk-KWRV7CHJ.js";
28
28
  export {
29
29
  AuthProvider,
30
30
  AzureProvider,