fastmcp 4.16.14 → 4.17.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/dist/FastMCP.cjs +3 -3
- package/dist/FastMCP.d.cts +3 -2
- package/dist/FastMCP.d.ts +3 -2
- package/dist/FastMCP.js +2 -2
- package/dist/{OAuthProvider-Bvt5a7yr.d.cts → OAuthProvider-BWezdrAA.d.cts} +43 -1
- package/dist/{OAuthProvider-Bvt5a7yr.d.ts → OAuthProvider-BWezdrAA.d.ts} +43 -1
- 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-YZWUEW3A.cjs → chunk-BL2SWQWP.cjs} +247 -23
- package/dist/chunk-BL2SWQWP.cjs.map +1 -0
- package/dist/{chunk-KEGPQRWF.cjs → chunk-SYZRGVQX.cjs} +1 -1
- package/dist/chunk-SYZRGVQX.cjs.map +1 -0
- package/dist/{chunk-IUDWO3A2.js → chunk-UKKIJDLP.js} +238 -14
- package/dist/chunk-UKKIJDLP.js.map +1 -0
- package/dist/{chunk-GABSX3WB.js → chunk-UODI5E6U.js} +1 -1
- package/dist/chunk-UODI5E6U.js.map +1 -0
- package/dist/examples/custom-routes.cjs +3 -3
- package/dist/examples/custom-routes.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GABSX3WB.js.map +0 -1
- package/dist/chunk-IUDWO3A2.js.map +0 -1
- package/dist/chunk-KEGPQRWF.cjs.map +0 -1
- package/dist/chunk-YZWUEW3A.cjs.map +0 -1
package/dist/FastMCP.cjs
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
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
|
|
27
|
+
var _chunkBL2SWQWPcjs = require('./chunk-BL2SWQWP.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 =
|
|
52
|
+
exports.AuthProvider = _chunkBL2SWQWPcjs.AuthProvider; exports.AzureProvider = _chunkBL2SWQWPcjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkSYZRGVQXcjs.DiscoveryDocumentCache; exports.FastMCP = _chunkSYZRGVQXcjs.FastMCP; exports.FastMCPError = _chunkSYZRGVQXcjs.FastMCPError; exports.FastMCPSession = _chunkSYZRGVQXcjs.FastMCPSession; exports.GitHubProvider = _chunkBL2SWQWPcjs.GitHubProvider; exports.GoogleProvider = _chunkBL2SWQWPcjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkSYZRGVQXcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkBL2SWQWPcjs.OAuthProvider; exports.ServerState = _chunkSYZRGVQXcjs.ServerState; exports.SessionError = _chunkSYZRGVQXcjs.SessionError; exports.UnexpectedStateError = _chunkSYZRGVQXcjs.UnexpectedStateError; exports.UserError = _chunkSYZRGVQXcjs.UserError; exports.audioContent = _chunkSYZRGVQXcjs.audioContent; exports.getAuthSession = _chunkBL2SWQWPcjs.getAuthSession; exports.imageContent = _chunkSYZRGVQXcjs.imageContent; exports.jsonSchemaAdapter = _chunkSYZRGVQXcjs.jsonSchemaAdapter; exports.requireAll = _chunkBL2SWQWPcjs.requireAll; exports.requireAny = _chunkBL2SWQWPcjs.requireAny; exports.requireAuth = _chunkBL2SWQWPcjs.requireAuth; exports.requireRole = _chunkBL2SWQWPcjs.requireRole; exports.requireScopes = _chunkBL2SWQWPcjs.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-BWezdrAA.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-BWezdrAA.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-
|
|
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-BWezdrAA.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-BWezdrAA.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-
|
|
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-
|
|
27
|
+
} from "./chunk-UKKIJDLP.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,6 +342,12 @@ 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 */
|
|
@@ -480,9 +497,13 @@ declare class OAuthProxy {
|
|
|
480
497
|
private ownedTokenStorage;
|
|
481
498
|
/**
|
|
482
499
|
* Keyed by proxy-issued client_id for authorize/token-exchange lookups and
|
|
483
|
-
* for the defence-in-depth callback checks. A registration never changes
|
|
500
|
+
* for the defence-in-depth callback checks. A DCR registration never changes
|
|
484
501
|
* after it is written, so caching it locally cannot go stale; it is also
|
|
485
502
|
* persisted, so another instance can hydrate it.
|
|
503
|
+
*
|
|
504
|
+
* A CIMD client is not a registration but a snapshot of a document that can
|
|
505
|
+
* change under us, so it is cached with an `expiresAt` and re-resolved once
|
|
506
|
+
* that passes.
|
|
486
507
|
*/
|
|
487
508
|
private registeredClientsByClientId;
|
|
488
509
|
private stateStore;
|
|
@@ -509,6 +530,7 @@ declare class OAuthProxy {
|
|
|
509
530
|
*/
|
|
510
531
|
getAuthorizationServerMetadata(): {
|
|
511
532
|
authorizationEndpoint: string;
|
|
533
|
+
clientIdMetadataDocumentSupported?: boolean;
|
|
512
534
|
codeChallengeMethodsSupported?: string[];
|
|
513
535
|
dpopSigningAlgValuesSupported?: string[];
|
|
514
536
|
grantTypesSupported?: string[];
|
|
@@ -614,6 +636,15 @@ declare class OAuthProxy {
|
|
|
614
636
|
* Issue swapped tokens for refresh flow
|
|
615
637
|
*/
|
|
616
638
|
private issueSwappedTokensForRefresh;
|
|
639
|
+
/**
|
|
640
|
+
* Defence in depth for the callback and consent-denial redirects: the
|
|
641
|
+
* transaction's stored callback URL must still be registered for its client.
|
|
642
|
+
*
|
|
643
|
+
* Resolution goes through {@link resolveClient}, so a CIMD registration whose
|
|
644
|
+
* cached copy lapsed mid-flow is re-fetched rather than mistaken for one that
|
|
645
|
+
* was revoked.
|
|
646
|
+
*/
|
|
647
|
+
private isTransactionCallbackRegistered;
|
|
617
648
|
/**
|
|
618
649
|
* Match URI against pattern (supports wildcards)
|
|
619
650
|
*/
|
|
@@ -631,6 +662,17 @@ declare class OAuthProxy {
|
|
|
631
662
|
* Refresh upstream tokens with provider
|
|
632
663
|
*/
|
|
633
664
|
private refreshUpstreamTokens;
|
|
665
|
+
/**
|
|
666
|
+
* Resolve the client behind a `client_id`: a stored registration if there is
|
|
667
|
+
* one, otherwise — when CIMD is enabled — the client's metadata document.
|
|
668
|
+
*
|
|
669
|
+
* A resolved CIMD client is cached like a DCR registration but carries the
|
|
670
|
+
* `expiresAt` the resolver stamped on it, so the store drops it once it
|
|
671
|
+
* lapses and the next call re-fetches the document. Every lookup goes
|
|
672
|
+
* through here, so a lapse always means "re-resolve", never "unknown
|
|
673
|
+
* client" mid-flow.
|
|
674
|
+
*/
|
|
675
|
+
private resolveClient;
|
|
634
676
|
/**
|
|
635
677
|
* Put a claimed refresh-token mapping back after a rotation failed, keeping
|
|
636
678
|
* 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,6 +342,12 @@ 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 */
|
|
@@ -480,9 +497,13 @@ declare class OAuthProxy {
|
|
|
480
497
|
private ownedTokenStorage;
|
|
481
498
|
/**
|
|
482
499
|
* Keyed by proxy-issued client_id for authorize/token-exchange lookups and
|
|
483
|
-
* for the defence-in-depth callback checks. A registration never changes
|
|
500
|
+
* for the defence-in-depth callback checks. A DCR registration never changes
|
|
484
501
|
* after it is written, so caching it locally cannot go stale; it is also
|
|
485
502
|
* persisted, so another instance can hydrate it.
|
|
503
|
+
*
|
|
504
|
+
* A CIMD client is not a registration but a snapshot of a document that can
|
|
505
|
+
* change under us, so it is cached with an `expiresAt` and re-resolved once
|
|
506
|
+
* that passes.
|
|
486
507
|
*/
|
|
487
508
|
private registeredClientsByClientId;
|
|
488
509
|
private stateStore;
|
|
@@ -509,6 +530,7 @@ declare class OAuthProxy {
|
|
|
509
530
|
*/
|
|
510
531
|
getAuthorizationServerMetadata(): {
|
|
511
532
|
authorizationEndpoint: string;
|
|
533
|
+
clientIdMetadataDocumentSupported?: boolean;
|
|
512
534
|
codeChallengeMethodsSupported?: string[];
|
|
513
535
|
dpopSigningAlgValuesSupported?: string[];
|
|
514
536
|
grantTypesSupported?: string[];
|
|
@@ -614,6 +636,15 @@ declare class OAuthProxy {
|
|
|
614
636
|
* Issue swapped tokens for refresh flow
|
|
615
637
|
*/
|
|
616
638
|
private issueSwappedTokensForRefresh;
|
|
639
|
+
/**
|
|
640
|
+
* Defence in depth for the callback and consent-denial redirects: the
|
|
641
|
+
* transaction's stored callback URL must still be registered for its client.
|
|
642
|
+
*
|
|
643
|
+
* Resolution goes through {@link resolveClient}, so a CIMD registration whose
|
|
644
|
+
* cached copy lapsed mid-flow is re-fetched rather than mistaken for one that
|
|
645
|
+
* was revoked.
|
|
646
|
+
*/
|
|
647
|
+
private isTransactionCallbackRegistered;
|
|
617
648
|
/**
|
|
618
649
|
* Match URI against pattern (supports wildcards)
|
|
619
650
|
*/
|
|
@@ -631,6 +662,17 @@ declare class OAuthProxy {
|
|
|
631
662
|
* Refresh upstream tokens with provider
|
|
632
663
|
*/
|
|
633
664
|
private refreshUpstreamTokens;
|
|
665
|
+
/**
|
|
666
|
+
* Resolve the client behind a `client_id`: a stored registration if there is
|
|
667
|
+
* one, otherwise — when CIMD is enabled — the client's metadata document.
|
|
668
|
+
*
|
|
669
|
+
* A resolved CIMD client is cached like a DCR registration but carries the
|
|
670
|
+
* `expiresAt` the resolver stamped on it, so the store drops it once it
|
|
671
|
+
* lapses and the next call re-fetches the document. Every lookup goes
|
|
672
|
+
* through here, so a lapse always means "re-resolve", never "unknown
|
|
673
|
+
* client" mid-flow.
|
|
674
|
+
*/
|
|
675
|
+
private resolveClient;
|
|
634
676
|
/**
|
|
635
677
|
* Put a claimed refresh-token mapping back after a rotation failed, keeping
|
|
636
678
|
* whatever lifetime it had left.
|
package/dist/auth/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkBL2SWQWPcjs = require('../chunk-BL2SWQWP.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 =
|
|
54
|
+
exports.AuthProvider = _chunkBL2SWQWPcjs.AuthProvider; exports.AzureProvider = _chunkBL2SWQWPcjs.AzureProvider; exports.ConsentManager = _chunkBL2SWQWPcjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunkBL2SWQWPcjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunkBL2SWQWPcjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunkBL2SWQWPcjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunkBL2SWQWPcjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunkBL2SWQWPcjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunkBL2SWQWPcjs.DiskStore; exports.EncryptedTokenStorage = _chunkBL2SWQWPcjs.EncryptedTokenStorage; exports.GitHubProvider = _chunkBL2SWQWPcjs.GitHubProvider; exports.GoogleProvider = _chunkBL2SWQWPcjs.GoogleProvider; exports.JWKSVerifier = _chunkBL2SWQWPcjs.JWKSVerifier; exports.JWTIssuer = _chunkBL2SWQWPcjs.JWTIssuer; exports.MemoryTokenStorage = _chunkBL2SWQWPcjs.MemoryTokenStorage; exports.OAuthProvider = _chunkBL2SWQWPcjs.OAuthProvider; exports.OAuthProxy = _chunkBL2SWQWPcjs.OAuthProxy; exports.OAuthProxyError = _chunkBL2SWQWPcjs.OAuthProxyError; exports.PKCEUtils = _chunkBL2SWQWPcjs.PKCEUtils; exports.getAuthSession = _chunkBL2SWQWPcjs.getAuthSession; exports.requireAll = _chunkBL2SWQWPcjs.requireAll; exports.requireAny = _chunkBL2SWQWPcjs.requireAny; exports.requireAuth = _chunkBL2SWQWPcjs.requireAuth; exports.requireRole = _chunkBL2SWQWPcjs.requireRole; exports.requireScopes = _chunkBL2SWQWPcjs.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-BWezdrAA.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-BWezdrAA.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-BWezdrAA.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-BWezdrAA.js';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
|
|
5
5
|
/**
|