@vitemcp/server 1.9.14 → 1.9.15
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/{OAuthProvider-CXNATtVg.d.cts → OAuthProvider-AjmrLphi.d.cts} +21 -10
- package/dist/{OAuthProvider-CXNATtVg.d.ts → OAuthProvider-AjmrLphi.d.ts} +21 -10
- package/dist/ViteMCP.cjs +3 -3
- package/dist/ViteMCP.d.cts +5 -3
- package/dist/ViteMCP.d.ts +5 -3
- package/dist/ViteMCP.js +2 -2
- 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-2O5Y2H74.js → chunk-2JOXLIMJ.js} +5 -3
- package/dist/chunk-2JOXLIMJ.js.map +1 -0
- package/dist/{chunk-T7EJGNI3.cjs → chunk-7XWK66ZT.cjs} +68 -44
- package/dist/chunk-7XWK66ZT.cjs.map +1 -0
- package/dist/{chunk-7MAOWIMR.cjs → chunk-AOEXFXTH.cjs} +6 -4
- package/dist/chunk-AOEXFXTH.cjs.map +1 -0
- package/dist/{chunk-F37DGG7F.js → chunk-WOQXAQIG.js} +63 -39
- package/dist/chunk-WOQXAQIG.js.map +1 -0
- package/dist/openapi/index.cjs +12 -12
- package/dist/openapi/index.d.cts +1 -1
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-2O5Y2H74.js.map +0 -1
- package/dist/chunk-7MAOWIMR.cjs.map +0 -1
- package/dist/chunk-F37DGG7F.js.map +0 -1
- package/dist/chunk-T7EJGNI3.cjs.map +0 -1
|
@@ -560,11 +560,10 @@ declare class OAuthProxy {
|
|
|
560
560
|
private issuerNs;
|
|
561
561
|
private jwtIssuer?;
|
|
562
562
|
/**
|
|
563
|
-
* The fallback storage this proxy created for itself, if any.
|
|
564
|
-
*
|
|
565
|
-
* it
|
|
566
|
-
*
|
|
567
|
-
* recorded here: its lifetime belongs to the caller.
|
|
563
|
+
* The fallback storage this proxy created for itself, if any. Kept so that
|
|
564
|
+
* `destroy()` can stop its cleanup timer: once the storage is wrapped for
|
|
565
|
+
* encryption it is reachable through nothing else. A caller-supplied storage
|
|
566
|
+
* is deliberately not recorded here: its lifetime belongs to the caller.
|
|
568
567
|
*/
|
|
569
568
|
private ownedTokenStorage;
|
|
570
569
|
/**
|
|
@@ -783,6 +782,13 @@ declare class OAuthProxy {
|
|
|
783
782
|
* itself is a live upstream credential.
|
|
784
783
|
*/
|
|
785
784
|
private passthroughRefreshKey;
|
|
785
|
+
/**
|
|
786
|
+
* Send the user's browser back to the client's registered callback with how
|
|
787
|
+
* its request came out: a code, or an error (RFC 6749 §4.1.2). The `state`
|
|
788
|
+
* the client sent goes with either, and so does the issuer, so that the
|
|
789
|
+
* client can detect an AS mix-up (RFC 9207 §2).
|
|
790
|
+
*/
|
|
791
|
+
private redirectToClient;
|
|
786
792
|
/**
|
|
787
793
|
* Redirect to upstream OAuth provider
|
|
788
794
|
*/
|
|
@@ -827,7 +833,12 @@ declare class OAuthProxy {
|
|
|
827
833
|
*/
|
|
828
834
|
private savePassthroughRefreshBinding;
|
|
829
835
|
/**
|
|
830
|
-
* Start periodic cleanup of expired transactions and codes
|
|
836
|
+
* Start periodic cleanup of expired transactions and codes.
|
|
837
|
+
*
|
|
838
|
+
* The timer is `unref`ed: a sweep is housekeeping, and a process with nothing
|
|
839
|
+
* else left to do must be free to exit rather than wait on it. `stop()`
|
|
840
|
+
* leaves the proxy running, since it may be shared or serve again, so a timer
|
|
841
|
+
* that held the process open would do so until `destroy()`.
|
|
831
842
|
*/
|
|
832
843
|
private startCleanup;
|
|
833
844
|
/**
|
|
@@ -984,10 +995,10 @@ declare abstract class AuthProvider<TSession extends OAuthSession = OAuthSession
|
|
|
984
995
|
* Release the resources held by the proxy this provider built for itself.
|
|
985
996
|
*
|
|
986
997
|
* That proxy runs two cleanup timers — its own sweep and its token
|
|
987
|
-
* storage's
|
|
988
|
-
* stopped serving
|
|
989
|
-
* reaches the same teardown; this exists so a caller
|
|
990
|
-
* provider does not have to know that.
|
|
998
|
+
* storage's. Neither keeps the Node event loop alive, so a process that has
|
|
999
|
+
* stopped serving exits without this, but the timers run on until it does.
|
|
1000
|
+
* `getProxy().destroy()` reaches the same teardown; this exists so a caller
|
|
1001
|
+
* holding only the provider does not have to know that.
|
|
991
1002
|
*
|
|
992
1003
|
* Terminal: the provider will not serve again afterwards, and any later use
|
|
993
1004
|
* throws rather than quietly building a replacement. Call it when the process
|
|
@@ -560,11 +560,10 @@ declare class OAuthProxy {
|
|
|
560
560
|
private issuerNs;
|
|
561
561
|
private jwtIssuer?;
|
|
562
562
|
/**
|
|
563
|
-
* The fallback storage this proxy created for itself, if any.
|
|
564
|
-
*
|
|
565
|
-
* it
|
|
566
|
-
*
|
|
567
|
-
* recorded here: its lifetime belongs to the caller.
|
|
563
|
+
* The fallback storage this proxy created for itself, if any. Kept so that
|
|
564
|
+
* `destroy()` can stop its cleanup timer: once the storage is wrapped for
|
|
565
|
+
* encryption it is reachable through nothing else. A caller-supplied storage
|
|
566
|
+
* is deliberately not recorded here: its lifetime belongs to the caller.
|
|
568
567
|
*/
|
|
569
568
|
private ownedTokenStorage;
|
|
570
569
|
/**
|
|
@@ -783,6 +782,13 @@ declare class OAuthProxy {
|
|
|
783
782
|
* itself is a live upstream credential.
|
|
784
783
|
*/
|
|
785
784
|
private passthroughRefreshKey;
|
|
785
|
+
/**
|
|
786
|
+
* Send the user's browser back to the client's registered callback with how
|
|
787
|
+
* its request came out: a code, or an error (RFC 6749 §4.1.2). The `state`
|
|
788
|
+
* the client sent goes with either, and so does the issuer, so that the
|
|
789
|
+
* client can detect an AS mix-up (RFC 9207 §2).
|
|
790
|
+
*/
|
|
791
|
+
private redirectToClient;
|
|
786
792
|
/**
|
|
787
793
|
* Redirect to upstream OAuth provider
|
|
788
794
|
*/
|
|
@@ -827,7 +833,12 @@ declare class OAuthProxy {
|
|
|
827
833
|
*/
|
|
828
834
|
private savePassthroughRefreshBinding;
|
|
829
835
|
/**
|
|
830
|
-
* Start periodic cleanup of expired transactions and codes
|
|
836
|
+
* Start periodic cleanup of expired transactions and codes.
|
|
837
|
+
*
|
|
838
|
+
* The timer is `unref`ed: a sweep is housekeeping, and a process with nothing
|
|
839
|
+
* else left to do must be free to exit rather than wait on it. `stop()`
|
|
840
|
+
* leaves the proxy running, since it may be shared or serve again, so a timer
|
|
841
|
+
* that held the process open would do so until `destroy()`.
|
|
831
842
|
*/
|
|
832
843
|
private startCleanup;
|
|
833
844
|
/**
|
|
@@ -984,10 +995,10 @@ declare abstract class AuthProvider<TSession extends OAuthSession = OAuthSession
|
|
|
984
995
|
* Release the resources held by the proxy this provider built for itself.
|
|
985
996
|
*
|
|
986
997
|
* That proxy runs two cleanup timers — its own sweep and its token
|
|
987
|
-
* storage's
|
|
988
|
-
* stopped serving
|
|
989
|
-
* reaches the same teardown; this exists so a caller
|
|
990
|
-
* provider does not have to know that.
|
|
998
|
+
* storage's. Neither keeps the Node event loop alive, so a process that has
|
|
999
|
+
* stopped serving exits without this, but the timers run on until it does.
|
|
1000
|
+
* `getProxy().destroy()` reaches the same teardown; this exists so a caller
|
|
1001
|
+
* holding only the provider does not have to know that.
|
|
991
1002
|
*
|
|
992
1003
|
* Terminal: the provider will not serve again afterwards, and any later use
|
|
993
1004
|
* throws rather than quietly building a replacement. Call it when the process
|
package/dist/ViteMCP.cjs
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkAOEXFXTHcjs = require('./chunk-AOEXFXTH.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ var _chunk7MAOWIMRcjs = require('./chunk-7MAOWIMR.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk7XWK66ZTcjs = require('./chunk-7XWK66ZT.cjs');
|
|
29
29
|
require('./chunk-QPVEGWOL.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
@@ -52,5 +52,5 @@ require('./chunk-QPVEGWOL.cjs');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
exports.AuthProvider =
|
|
55
|
+
exports.AuthProvider = _chunk7XWK66ZTcjs.AuthProvider; exports.AzureProvider = _chunk7XWK66ZTcjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkAOEXFXTHcjs.DiscoveryDocumentCache; exports.GitHubProvider = _chunk7XWK66ZTcjs.GitHubProvider; exports.GoogleProvider = _chunk7XWK66ZTcjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkAOEXFXTHcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunk7XWK66ZTcjs.OAuthProvider; exports.OAuthProxy = _chunk7XWK66ZTcjs.OAuthProxy; exports.OAuthProxyError = _chunk7XWK66ZTcjs.OAuthProxyError; exports.ServerState = _chunkAOEXFXTHcjs.ServerState; exports.UnexpectedStateError = _chunkAOEXFXTHcjs.UnexpectedStateError; exports.UserError = _chunkAOEXFXTHcjs.UserError; exports.ViteMCP = _chunkAOEXFXTHcjs.ViteMCP; exports.ViteMCPError = _chunkAOEXFXTHcjs.ViteMCPError; exports.audioContent = _chunkAOEXFXTHcjs.audioContent; exports.delay = _chunkAOEXFXTHcjs.delay; exports.getAuthSession = _chunk7XWK66ZTcjs.getAuthSession; exports.imageContent = _chunkAOEXFXTHcjs.imageContent; exports.jsonSchemaAdapter = _chunkAOEXFXTHcjs.jsonSchemaAdapter; exports.requireAll = _chunk7XWK66ZTcjs.requireAll; exports.requireAny = _chunk7XWK66ZTcjs.requireAny; exports.requireAuth = _chunk7XWK66ZTcjs.requireAuth; exports.requireRole = _chunk7XWK66ZTcjs.requireRole; exports.requireScopes = _chunk7XWK66ZTcjs.requireScopes;
|
|
56
56
|
//# sourceMappingURL=ViteMCP.cjs.map
|
package/dist/ViteMCP.d.cts
CHANGED
|
@@ -4,8 +4,8 @@ import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
|
4
4
|
import { Hono } from 'hono';
|
|
5
5
|
import { cors } from 'hono/cors';
|
|
6
6
|
export { setTimeout as delay } from 'timers/promises';
|
|
7
|
-
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-
|
|
8
|
-
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, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-
|
|
7
|
+
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-AjmrLphi.cjs';
|
|
8
|
+
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, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-AjmrLphi.cjs';
|
|
9
9
|
|
|
10
10
|
declare class DiscoveryDocumentCache {
|
|
11
11
|
#private;
|
|
@@ -419,7 +419,9 @@ declare class ViteMCP<T extends ViteMCPAuth = ViteMCPAuth> {
|
|
|
419
419
|
* every example does — can still reach it at shutdown. The provider holds an
|
|
420
420
|
* `OAuthProxy` with two cleanup timers, and `stop()` deliberately leaves them
|
|
421
421
|
* running: the server does not own the provider, and a stopped server can be
|
|
422
|
-
* started again.
|
|
422
|
+
* started again. The timers do not keep the process alive, so a stopped
|
|
423
|
+
* server lets it exit; they run on until the provider is destroyed, and
|
|
424
|
+
* terminal teardown is the caller's call:
|
|
423
425
|
*
|
|
424
426
|
* ```ts
|
|
425
427
|
* await server.stop();
|
package/dist/ViteMCP.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
|
4
4
|
import { Hono } from 'hono';
|
|
5
5
|
import { cors } from 'hono/cors';
|
|
6
6
|
export { setTimeout as delay } from 'timers/promises';
|
|
7
|
-
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-
|
|
8
|
-
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, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-
|
|
7
|
+
import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-AjmrLphi.js';
|
|
8
|
+
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, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-AjmrLphi.js';
|
|
9
9
|
|
|
10
10
|
declare class DiscoveryDocumentCache {
|
|
11
11
|
#private;
|
|
@@ -419,7 +419,9 @@ declare class ViteMCP<T extends ViteMCPAuth = ViteMCPAuth> {
|
|
|
419
419
|
* every example does — can still reach it at shutdown. The provider holds an
|
|
420
420
|
* `OAuthProxy` with two cleanup timers, and `stop()` deliberately leaves them
|
|
421
421
|
* running: the server does not own the provider, and a stopped server can be
|
|
422
|
-
* started again.
|
|
422
|
+
* started again. The timers do not keep the process alive, so a stopped
|
|
423
|
+
* server lets it exit; they run on until the provider is destroyed, and
|
|
424
|
+
* terminal teardown is the caller's call:
|
|
423
425
|
*
|
|
424
426
|
* ```ts
|
|
425
427
|
* await server.stop();
|
package/dist/ViteMCP.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
delay,
|
|
11
11
|
imageContent,
|
|
12
12
|
jsonSchemaAdapter
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2JOXLIMJ.js";
|
|
14
14
|
import {
|
|
15
15
|
AuthProvider,
|
|
16
16
|
AzureProvider,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
requireAuth,
|
|
26
26
|
requireRole,
|
|
27
27
|
requireScopes
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WOQXAQIG.js";
|
|
29
29
|
import "./chunk-JMDI672G.js";
|
|
30
30
|
export {
|
|
31
31
|
AuthProvider,
|
package/dist/auth/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk7XWK66ZTcjs = require('../chunk-7XWK66ZT.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -51,5 +51,5 @@ var _chunkT7EJGNI3cjs = require('../chunk-T7EJGNI3.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
exports.AuthProvider =
|
|
54
|
+
exports.AuthProvider = _chunk7XWK66ZTcjs.AuthProvider; exports.AzureProvider = _chunk7XWK66ZTcjs.AzureProvider; exports.ConsentManager = _chunk7XWK66ZTcjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunk7XWK66ZTcjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunk7XWK66ZTcjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunk7XWK66ZTcjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunk7XWK66ZTcjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunk7XWK66ZTcjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunk7XWK66ZTcjs.DiskStore; exports.EncryptedTokenStorage = _chunk7XWK66ZTcjs.EncryptedTokenStorage; exports.GitHubProvider = _chunk7XWK66ZTcjs.GitHubProvider; exports.GoogleProvider = _chunk7XWK66ZTcjs.GoogleProvider; exports.JWKSVerifier = _chunk7XWK66ZTcjs.JWKSVerifier; exports.JWTIssuer = _chunk7XWK66ZTcjs.JWTIssuer; exports.MemoryTokenStorage = _chunk7XWK66ZTcjs.MemoryTokenStorage; exports.OAuthProvider = _chunk7XWK66ZTcjs.OAuthProvider; exports.OAuthProxy = _chunk7XWK66ZTcjs.OAuthProxy; exports.OAuthProxyError = _chunk7XWK66ZTcjs.OAuthProxyError; exports.PKCEUtils = _chunk7XWK66ZTcjs.PKCEUtils; exports.getAuthSession = _chunk7XWK66ZTcjs.getAuthSession; exports.requireAll = _chunk7XWK66ZTcjs.requireAll; exports.requireAny = _chunk7XWK66ZTcjs.requireAny; exports.requireAuth = _chunk7XWK66ZTcjs.requireAuth; exports.requireRole = _chunk7XWK66ZTcjs.requireRole; exports.requireScopes = _chunk7XWK66ZTcjs.requireScopes;
|
|
55
55
|
//# sourceMappingURL=index.cjs.map
|
package/dist/auth/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-
|
|
2
|
-
export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-
|
|
1
|
+
import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-AjmrLphi.cjs';
|
|
2
|
+
export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-AjmrLphi.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Consent Management
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-
|
|
2
|
-
export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-
|
|
1
|
+
import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-AjmrLphi.js';
|
|
2
|
+
export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-AjmrLphi.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Consent Management
|
package/dist/auth/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withoutTrailingSlash
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WOQXAQIG.js";
|
|
4
4
|
import {
|
|
5
5
|
formatBytes,
|
|
6
6
|
ownKeysOnly,
|
|
@@ -606,7 +606,9 @@ var ViteMCP = class {
|
|
|
606
606
|
* every example does — can still reach it at shutdown. The provider holds an
|
|
607
607
|
* `OAuthProxy` with two cleanup timers, and `stop()` deliberately leaves them
|
|
608
608
|
* running: the server does not own the provider, and a stopped server can be
|
|
609
|
-
* started again.
|
|
609
|
+
* started again. The timers do not keep the process alive, so a stopped
|
|
610
|
+
* server lets it exit; they run on until the provider is destroyed, and
|
|
611
|
+
* terminal teardown is the caller's call:
|
|
610
612
|
*
|
|
611
613
|
* ```ts
|
|
612
614
|
* await server.stop();
|
|
@@ -1688,4 +1690,4 @@ export {
|
|
|
1688
1690
|
ServerState,
|
|
1689
1691
|
ViteMCP
|
|
1690
1692
|
};
|
|
1691
|
-
//# sourceMappingURL=chunk-
|
|
1693
|
+
//# sourceMappingURL=chunk-2JOXLIMJ.js.map
|