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.
- package/README.md +21 -0
- package/dist/FastMCP.cjs +4 -4
- package/dist/FastMCP.d.cts +6 -4
- package/dist/FastMCP.d.ts +6 -4
- package/dist/FastMCP.js +3 -3
- package/dist/{OAuthProvider-D9JYSSem.d.cts → OAuthProvider-C2Z93xC5.d.cts} +2 -1
- package/dist/{OAuthProvider-D9JYSSem.d.ts → OAuthProvider-C2Z93xC5.d.ts} +2 -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-SQS3SIW7.cjs → chunk-5EEESM57.cjs} +81 -94
- package/dist/chunk-5EEESM57.cjs.map +1 -0
- package/dist/{chunk-OCCYKYIM.cjs → chunk-FBDPX4H2.cjs} +30 -3
- package/dist/chunk-FBDPX4H2.cjs.map +1 -0
- package/dist/{chunk-B2QUCZGV.js → chunk-JCKJRUCE.js} +30 -3
- package/dist/chunk-JCKJRUCE.js.map +1 -0
- package/dist/{chunk-2RLFFOY2.js → chunk-RWPENEKV.js} +8 -1
- package/dist/chunk-RWPENEKV.js.map +1 -0
- package/dist/{chunk-A2TZVOOY.cjs → chunk-UHJQUSUX.cjs} +8 -1
- package/dist/chunk-UHJQUSUX.cjs.map +1 -0
- package/dist/{chunk-GAPP6V64.js → chunk-VN5SZ6IE.js} +48 -61
- package/dist/chunk-VN5SZ6IE.js.map +1 -0
- package/dist/edge/index.cjs +31 -9
- package/dist/edge/index.cjs.map +1 -1
- package/dist/edge/index.d.cts +4 -0
- package/dist/edge/index.d.ts +4 -0
- package/dist/edge/index.js +29 -7
- package/dist/edge/index.js.map +1 -1
- package/dist/examples/custom-routes.cjs +4 -4
- package/dist/examples/custom-routes.js +3 -3
- package/dist/openapi/index.cjs +145 -132
- package/dist/openapi/index.cjs.map +1 -1
- package/dist/openapi/index.d.cts +1 -1
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +136 -123
- package/dist/openapi/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-2RLFFOY2.js.map +0 -1
- package/dist/chunk-A2TZVOOY.cjs.map +0 -1
- package/dist/chunk-B2QUCZGV.js.map +0 -1
- package/dist/chunk-GAPP6V64.js.map +0 -1
- package/dist/chunk-OCCYKYIM.cjs.map +0 -1
- 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
|
|
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
|
|
28
|
-
require('./chunk-
|
|
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 =
|
|
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
|
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-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-
|
|
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-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-
|
|
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-
|
|
28
|
-
import "./chunk-
|
|
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.
|
|
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.
|
|
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
|
*
|
package/dist/auth/index.cjs
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
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 =
|
|
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
|
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, 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-
|
|
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
|
/**
|
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, 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-
|
|
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
|
/**
|