@lumoauth/api-client 1.0.0 → 1.2.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/.openapi-generator/FILES +16 -0
- package/.openapi-generator-ignore +1 -1
- package/README.md +12 -2
- package/api/aauth-api.ts +5 -5
- package/api/admin-mcp-api.ts +5 -5
- package/api/admin-oauth-clients-api.ts +118 -0
- package/api/agents-api.ts +5 -5
- package/api/authorization-api.ts +5 -26
- package/api/mcp-api.ts +130 -0
- package/api/well-known-api.ts +10 -10
- package/dist/api/aauth-api.d.ts +5 -5
- package/dist/api/aauth-api.js +4 -4
- package/dist/api/admin-mcp-api.d.ts +5 -5
- package/dist/api/admin-mcp-api.js +4 -4
- package/dist/api/admin-oauth-clients-api.d.ts +65 -0
- package/dist/api/admin-oauth-clients-api.js +77 -0
- package/dist/api/agents-api.d.ts +5 -5
- package/dist/api/agents-api.js +4 -4
- package/dist/api/authorization-api.d.ts +5 -5
- package/dist/api/authorization-api.js +4 -18
- package/dist/api/mcp-api.d.ts +73 -0
- package/dist/api/mcp-api.js +82 -0
- package/dist/api/well-known-api.d.ts +10 -10
- package/dist/api/well-known-api.js +8 -8
- package/dist/esm/api/aauth-api.d.ts +5 -5
- package/dist/esm/api/aauth-api.js +4 -4
- package/dist/esm/api/admin-mcp-api.d.ts +5 -5
- package/dist/esm/api/admin-mcp-api.js +4 -4
- package/dist/esm/api/admin-oauth-clients-api.d.ts +65 -0
- package/dist/esm/api/admin-oauth-clients-api.js +78 -1
- package/dist/esm/api/agents-api.d.ts +5 -5
- package/dist/esm/api/agents-api.js +4 -4
- package/dist/esm/api/authorization-api.d.ts +5 -5
- package/dist/esm/api/authorization-api.js +4 -18
- package/dist/esm/api/mcp-api.d.ts +73 -0
- package/dist/esm/api/mcp-api.js +83 -1
- package/dist/esm/api/well-known-api.d.ts +10 -10
- package/dist/esm/api/well-known-api.js +8 -8
- package/dist/esm/models/admin-agents-generate-token-request.d.ts +7 -1
- package/dist/esm/models/admin-agents-generate-token-response-data.d.ts +12 -0
- package/dist/esm/models/admin-clients-cimd-check-request.d.ts +30 -0
- package/dist/esm/models/admin-clients-cimd-check-request.js +14 -0
- package/dist/esm/models/admin-clients-cimd-check-response.d.ts +25 -0
- package/dist/esm/models/admin-clients-cimd-check-response.js +14 -0
- package/dist/esm/models/attest-response.d.ts +2 -1
- package/dist/esm/models/attest-response.js +1 -0
- package/dist/esm/models/authentication-settings.d.ts +1 -1
- package/dist/esm/models/authorization-server-metadata.d.ts +1 -1
- package/dist/esm/models/authorize-mcp-request.d.ts +1 -1
- package/dist/esm/models/cimd-check-result-effective.d.ts +112 -0
- package/dist/esm/models/cimd-check-result-effective.js +31 -0
- package/dist/esm/models/cimd-check-result-shadow-client.d.ts +30 -0
- package/dist/esm/models/cimd-check-result-shadow-client.js +14 -0
- package/dist/esm/models/cimd-check-result.d.ts +76 -0
- package/dist/esm/models/cimd-check-result.js +14 -0
- package/dist/esm/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
- package/dist/esm/models/mcp-server-tool-authorize-request-subject.js +22 -0
- package/dist/esm/models/mcp-server-tool-authorize-request.d.ts +31 -0
- package/dist/esm/models/mcp-server-tool-authorize-request.js +14 -0
- package/dist/esm/models/mcp-server-tool-authorize-response.d.ts +36 -0
- package/dist/esm/models/mcp-server-tool-authorize-response.js +14 -0
- package/dist/esm/models/mcp-server.d.ts +18 -0
- package/dist/esm/models/open-id-configuration.d.ts +2 -2
- package/dist/esm/models/protected-resource-metadata.d.ts +1 -1
- package/dist/esm/models/push-enrollment-started.d.ts +7 -1
- package/dist/esm/models/single-server-metadata.d.ts +1 -1
- package/dist/models/admin-agents-generate-token-request.d.ts +7 -1
- package/dist/models/admin-agents-generate-token-response-data.d.ts +12 -0
- package/dist/models/admin-clients-cimd-check-request.d.ts +30 -0
- package/dist/models/admin-clients-cimd-check-request.js +15 -0
- package/dist/models/admin-clients-cimd-check-response.d.ts +25 -0
- package/dist/models/admin-clients-cimd-check-response.js +15 -0
- package/dist/models/attest-response.d.ts +2 -1
- package/dist/models/attest-response.js +1 -0
- package/dist/models/authentication-settings.d.ts +1 -1
- package/dist/models/authorization-server-metadata.d.ts +1 -1
- package/dist/models/authorize-mcp-request.d.ts +1 -1
- package/dist/models/cimd-check-result-effective.d.ts +112 -0
- package/dist/models/cimd-check-result-effective.js +34 -0
- package/dist/models/cimd-check-result-shadow-client.d.ts +30 -0
- package/dist/models/cimd-check-result-shadow-client.js +15 -0
- package/dist/models/cimd-check-result.d.ts +76 -0
- package/dist/models/cimd-check-result.js +15 -0
- package/dist/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
- package/dist/models/mcp-server-tool-authorize-request-subject.js +25 -0
- package/dist/models/mcp-server-tool-authorize-request.d.ts +31 -0
- package/dist/models/mcp-server-tool-authorize-request.js +15 -0
- package/dist/models/mcp-server-tool-authorize-response.d.ts +36 -0
- package/dist/models/mcp-server-tool-authorize-response.js +15 -0
- package/dist/models/mcp-server.d.ts +18 -0
- package/dist/models/open-id-configuration.d.ts +2 -2
- package/dist/models/protected-resource-metadata.d.ts +1 -1
- package/dist/models/push-enrollment-started.d.ts +7 -1
- package/dist/models/single-server-metadata.d.ts +1 -1
- package/docs/AAuthApi.md +1 -1
- package/docs/AdminAgentsApi.md +1 -1
- package/docs/AdminAgentsGenerateTokenRequest.md +3 -1
- package/docs/AdminAgentsGenerateTokenResponseData.md +4 -0
- package/docs/AdminClientsCimdCheckRequest.md +22 -0
- package/docs/AdminClientsCimdCheckResponse.md +20 -0
- package/docs/AdminMcpApi.md +1 -1
- package/docs/AdminOAuthClientsApi.md +57 -0
- package/docs/AgentsApi.md +4 -3
- package/docs/AuthenticationSettings.md +1 -1
- package/docs/AuthorizationApi.md +8 -8
- package/docs/AuthorizationServerMetadata.md +1 -1
- package/docs/AuthorizeMcpRequest.md +1 -1
- package/docs/CimdCheckResult.md +37 -0
- package/docs/CimdCheckResultEffective.md +45 -0
- package/docs/CimdCheckResultShadowClient.md +23 -0
- package/docs/EnrollAuthenticator201Response.md +3 -1
- package/docs/GetProtectedResourceMetadataRoot200Response.md +1 -1
- package/docs/GetProtectedResourceMetadataRootResponse1ResourcesItem.md +1 -1
- package/docs/McpApi.md +64 -0
- package/docs/McpServer.md +6 -0
- package/docs/McpServerToolAuthorizeRequest.md +22 -0
- package/docs/McpServerToolAuthorizeRequestSubject.md +22 -0
- package/docs/McpServerToolAuthorizeResponse.md +24 -0
- package/docs/OpenIdConfiguration.md +2 -2
- package/docs/ProtectedResourceMetadata.md +1 -1
- package/docs/PushEnrollmentStarted.md +3 -1
- package/docs/SingleServerMetadata.md +1 -1
- package/docs/WellKnownApi.md +4 -4
- package/models/admin-agents-generate-token-request.ts +7 -1
- package/models/admin-agents-generate-token-response-data.ts +12 -0
- package/models/admin-clients-cimd-check-request.ts +36 -0
- package/models/admin-clients-cimd-check-response.ts +33 -0
- package/models/attest-response.ts +2 -1
- package/models/authentication-settings.ts +1 -1
- package/models/authorization-server-metadata.ts +1 -1
- package/models/authorize-mcp-request.ts +1 -1
- package/models/cimd-check-result-effective.ts +120 -0
- package/models/cimd-check-result-shadow-client.ts +36 -0
- package/models/cimd-check-result.ts +84 -0
- package/models/get-protected-resource-metadata-root-response1-resources-item.ts +1 -1
- package/models/index.ts +8 -0
- package/models/mcp-server-tool-authorize-request-subject.ts +46 -0
- package/models/mcp-server-tool-authorize-request.ts +39 -0
- package/models/mcp-server-tool-authorize-response.ts +42 -0
- package/models/mcp-server.ts +18 -0
- package/models/open-id-configuration.ts +2 -2
- package/models/protected-resource-metadata.ts +1 -1
- package/models/push-enrollment-started.ts +7 -1
- package/models/single-server-metadata.ts +1 -1
- package/package.json +1 -1
package/api/mcp-api.ts
CHANGED
|
@@ -30,6 +30,10 @@ import type { GetServerResponse } from '../models';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { ListServersResponse } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
+
import type { McpServerToolAuthorizeRequest } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { McpServerToolAuthorizeResponse } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
33
37
|
import type { ProtectedResourceMetadata } from '../models';
|
|
34
38
|
/**
|
|
35
39
|
* McpApi - axios parameter creator
|
|
@@ -237,6 +241,57 @@ export const McpApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
237
241
|
options: localVarRequestOptions,
|
|
238
242
|
};
|
|
239
243
|
},
|
|
244
|
+
/**
|
|
245
|
+
* Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
|
|
246
|
+
* @summary Per-tool authorization for an MCP server (server credential)
|
|
247
|
+
* @param {string} orgId
|
|
248
|
+
* @param {string} serverId
|
|
249
|
+
* @param {McpServerToolAuthorizeRequest} mcpServerToolAuthorizeRequest
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
mcpServerToolAuthorize: async (orgId: string, serverId: string, mcpServerToolAuthorizeRequest: McpServerToolAuthorizeRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
254
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
255
|
+
assertParamExists('mcpServerToolAuthorize', 'orgId', orgId)
|
|
256
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
257
|
+
assertParamExists('mcpServerToolAuthorize', 'serverId', serverId)
|
|
258
|
+
// verify required parameter 'mcpServerToolAuthorizeRequest' is not null or undefined
|
|
259
|
+
assertParamExists('mcpServerToolAuthorize', 'mcpServerToolAuthorizeRequest', mcpServerToolAuthorizeRequest)
|
|
260
|
+
const localVarPath = `/orgs/{orgId}/api/v1/mcp/servers/{serverId}/tools/authorize`
|
|
261
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
262
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
263
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
264
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
265
|
+
let baseOptions;
|
|
266
|
+
if (configuration) {
|
|
267
|
+
baseOptions = configuration.baseOptions;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
271
|
+
const localVarHeaderParameter = {} as any;
|
|
272
|
+
const localVarQueryParameter = {} as any;
|
|
273
|
+
|
|
274
|
+
// authentication ApiKeyAuth required
|
|
275
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
|
|
276
|
+
|
|
277
|
+
// authentication BearerAuth required
|
|
278
|
+
// http bearer authentication required
|
|
279
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
284
|
+
|
|
285
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
286
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
287
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
288
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mcpServerToolAuthorizeRequest, localVarRequestOptions, configuration)
|
|
289
|
+
|
|
290
|
+
return {
|
|
291
|
+
url: toPathString(localVarUrlObj),
|
|
292
|
+
options: localVarRequestOptions,
|
|
293
|
+
};
|
|
294
|
+
},
|
|
240
295
|
/**
|
|
241
296
|
* Identical to GET; the HTTP method is only recorded in the audit trail.
|
|
242
297
|
* @summary Simulated MCP server authorization challenge (POST)
|
|
@@ -357,6 +412,21 @@ export const McpApiFp = function(configuration?: Configuration) {
|
|
|
357
412
|
const localVarOperationServerBasePath = operationServerMap['McpApi.listServers']?.[localVarOperationServerIndex]?.url;
|
|
358
413
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
359
414
|
},
|
|
415
|
+
/**
|
|
416
|
+
* Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
|
|
417
|
+
* @summary Per-tool authorization for an MCP server (server credential)
|
|
418
|
+
* @param {string} orgId
|
|
419
|
+
* @param {string} serverId
|
|
420
|
+
* @param {McpServerToolAuthorizeRequest} mcpServerToolAuthorizeRequest
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
*/
|
|
424
|
+
async mcpServerToolAuthorize(orgId: string, serverId: string, mcpServerToolAuthorizeRequest: McpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerToolAuthorizeResponse>> {
|
|
425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mcpServerToolAuthorize(orgId, serverId, mcpServerToolAuthorizeRequest, options);
|
|
426
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
427
|
+
const localVarOperationServerBasePath = operationServerMap['McpApi.mcpServerToolAuthorize']?.[localVarOperationServerIndex]?.url;
|
|
428
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
429
|
+
},
|
|
360
430
|
/**
|
|
361
431
|
* Identical to GET; the HTTP method is only recorded in the audit trail.
|
|
362
432
|
* @summary Simulated MCP server authorization challenge (POST)
|
|
@@ -431,6 +501,16 @@ export const McpApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
431
501
|
listServers(requestParameters: McpApiListServersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListServersResponse> {
|
|
432
502
|
return localVarFp.listServers(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
433
503
|
},
|
|
504
|
+
/**
|
|
505
|
+
* Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
|
|
506
|
+
* @summary Per-tool authorization for an MCP server (server credential)
|
|
507
|
+
* @param {McpApiMcpServerToolAuthorizeRequest} requestParameters Request parameters.
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
*/
|
|
511
|
+
mcpServerToolAuthorize(requestParameters: McpApiMcpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerToolAuthorizeResponse> {
|
|
512
|
+
return localVarFp.mcpServerToolAuthorize(requestParameters.orgId, requestParameters.serverId, requestParameters.mcpServerToolAuthorizeRequest, options).then((request) => request(axios, basePath));
|
|
513
|
+
},
|
|
434
514
|
/**
|
|
435
515
|
* Identical to GET; the HTTP method is only recorded in the audit trail.
|
|
436
516
|
* @summary Simulated MCP server authorization challenge (POST)
|
|
@@ -500,6 +580,16 @@ export interface McpApiInterface {
|
|
|
500
580
|
*/
|
|
501
581
|
listServers(requestParameters: McpApiListServersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListServersResponse>;
|
|
502
582
|
|
|
583
|
+
/**
|
|
584
|
+
* Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
|
|
585
|
+
* @summary Per-tool authorization for an MCP server (server credential)
|
|
586
|
+
* @param {McpApiMcpServerToolAuthorizeRequest} requestParameters Request parameters.
|
|
587
|
+
* @param {*} [options] Override http request option.
|
|
588
|
+
* @throws {RequiredError}
|
|
589
|
+
* @memberof McpApiInterface
|
|
590
|
+
*/
|
|
591
|
+
mcpServerToolAuthorize(requestParameters: McpApiMcpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerToolAuthorizeResponse>;
|
|
592
|
+
|
|
503
593
|
/**
|
|
504
594
|
* Identical to GET; the HTTP method is only recorded in the audit trail.
|
|
505
595
|
* @summary Simulated MCP server authorization challenge (POST)
|
|
@@ -603,6 +693,34 @@ export interface McpApiListServersRequest {
|
|
|
603
693
|
readonly orgId: string
|
|
604
694
|
}
|
|
605
695
|
|
|
696
|
+
/**
|
|
697
|
+
* Request parameters for mcpServerToolAuthorize operation in McpApi.
|
|
698
|
+
* @export
|
|
699
|
+
* @interface McpApiMcpServerToolAuthorizeRequest
|
|
700
|
+
*/
|
|
701
|
+
export interface McpApiMcpServerToolAuthorizeRequest {
|
|
702
|
+
/**
|
|
703
|
+
*
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof McpApiMcpServerToolAuthorize
|
|
706
|
+
*/
|
|
707
|
+
readonly orgId: string
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* @type {string}
|
|
712
|
+
* @memberof McpApiMcpServerToolAuthorize
|
|
713
|
+
*/
|
|
714
|
+
readonly serverId: string
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @type {McpServerToolAuthorizeRequest}
|
|
719
|
+
* @memberof McpApiMcpServerToolAuthorize
|
|
720
|
+
*/
|
|
721
|
+
readonly mcpServerToolAuthorizeRequest: McpServerToolAuthorizeRequest
|
|
722
|
+
}
|
|
723
|
+
|
|
606
724
|
/**
|
|
607
725
|
* Request parameters for postServerChallenge operation in McpApi.
|
|
608
726
|
* @export
|
|
@@ -691,6 +809,18 @@ export class McpApi extends BaseAPI implements McpApiInterface {
|
|
|
691
809
|
return McpApiFp(this.configuration).listServers(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
692
810
|
}
|
|
693
811
|
|
|
812
|
+
/**
|
|
813
|
+
* Called by the MCP server with its own client-credentials access token (scope mcp:authorize; the client must be listed in the server\'s tool_authorizer_client_ids). The body names the caller the server already verified. The server never forwards the caller\'s token.
|
|
814
|
+
* @summary Per-tool authorization for an MCP server (server credential)
|
|
815
|
+
* @param {McpApiMcpServerToolAuthorizeRequest} requestParameters Request parameters.
|
|
816
|
+
* @param {*} [options] Override http request option.
|
|
817
|
+
* @throws {RequiredError}
|
|
818
|
+
* @memberof McpApi
|
|
819
|
+
*/
|
|
820
|
+
public mcpServerToolAuthorize(requestParameters: McpApiMcpServerToolAuthorizeRequest, options?: RawAxiosRequestConfig) {
|
|
821
|
+
return McpApiFp(this.configuration).mcpServerToolAuthorize(requestParameters.orgId, requestParameters.serverId, requestParameters.mcpServerToolAuthorizeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
822
|
+
}
|
|
823
|
+
|
|
694
824
|
/**
|
|
695
825
|
* Identical to GET; the HTTP method is only recorded in the audit trail.
|
|
696
826
|
* @summary Simulated MCP server authorization challenge (POST)
|
package/api/well-known-api.ts
CHANGED
|
@@ -36,7 +36,7 @@ import type { OpenIdConfiguration } from '../models';
|
|
|
36
36
|
export const WellKnownApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
39
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
|
|
40
40
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
41
41
|
* @param {string} orgId
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
@@ -104,7 +104,7 @@ export const WellKnownApiAxiosParamCreator = function (configuration?: Configura
|
|
|
104
104
|
};
|
|
105
105
|
},
|
|
106
106
|
/**
|
|
107
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
107
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
|
|
108
108
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
109
109
|
* @param {string} orgId
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
@@ -182,7 +182,7 @@ export const WellKnownApiFp = function(configuration?: Configuration) {
|
|
|
182
182
|
const localVarAxiosParamCreator = WellKnownApiAxiosParamCreator(configuration)
|
|
183
183
|
return {
|
|
184
184
|
/**
|
|
185
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
185
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
|
|
186
186
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
187
187
|
* @param {string} orgId
|
|
188
188
|
* @param {*} [options] Override http request option.
|
|
@@ -208,7 +208,7 @@ export const WellKnownApiFp = function(configuration?: Configuration) {
|
|
|
208
208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
209
209
|
},
|
|
210
210
|
/**
|
|
211
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
211
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
|
|
212
212
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
213
213
|
* @param {string} orgId
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
@@ -244,7 +244,7 @@ export const WellKnownApiFactory = function (configuration?: Configuration, base
|
|
|
244
244
|
const localVarFp = WellKnownApiFp(configuration)
|
|
245
245
|
return {
|
|
246
246
|
/**
|
|
247
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
247
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
|
|
248
248
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
249
249
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
@@ -264,7 +264,7 @@ export const WellKnownApiFactory = function (configuration?: Configuration, base
|
|
|
264
264
|
return localVarFp.getJwks(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
265
265
|
},
|
|
266
266
|
/**
|
|
267
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
267
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
|
|
268
268
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
269
269
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
270
270
|
* @param {*} [options] Override http request option.
|
|
@@ -293,7 +293,7 @@ export const WellKnownApiFactory = function (configuration?: Configuration, base
|
|
|
293
293
|
*/
|
|
294
294
|
export interface WellKnownApiInterface {
|
|
295
295
|
/**
|
|
296
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
296
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
|
|
297
297
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
298
298
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
299
299
|
* @param {*} [options] Override http request option.
|
|
@@ -313,7 +313,7 @@ export interface WellKnownApiInterface {
|
|
|
313
313
|
getJwks(requestParameters: WellKnownApiGetJwksRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonWebKeySet>;
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
316
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
|
|
317
317
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
318
318
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
319
319
|
* @param {*} [options] Override http request option.
|
|
@@ -398,7 +398,7 @@ export interface WellKnownApiGetSsfConfigurationRequest {
|
|
|
398
398
|
*/
|
|
399
399
|
export class WellKnownApi extends BaseAPI implements WellKnownApiInterface {
|
|
400
400
|
/**
|
|
401
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
401
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. RFC 8414 clients read it from /.well-known/oauth-authorization-server/orgs/{orgId}/api/v1 (the issuer\'s path-inserted location) and, on a verified custom domain, from /.well-known/oauth-authorization-server.
|
|
402
402
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
403
403
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
404
404
|
* @param {*} [options] Override http request option.
|
|
@@ -422,7 +422,7 @@ export class WellKnownApi extends BaseAPI implements WellKnownApiInterface {
|
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
|
-
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active.
|
|
425
|
+
* Public, CORS-enabled and cacheable (Cache-Control: public, max-age=3600). Endpoint URLs are rewritten to the organization\'s custom domain when one is active. The same document is served at the RFC 8414 location /.well-known/openid-configuration/orgs/{orgId}/api/v1 and, on a verified custom domain (whose issuer is the bare domain), at /.well-known/openid-configuration.
|
|
426
426
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
427
427
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
428
428
|
* @param {*} [options] Override http request option.
|
package/dist/api/aauth-api.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ export declare const AAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
110
110
|
*/
|
|
111
111
|
getResourceMetadataById: (orgId: string, resourceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
112
|
/**
|
|
113
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
113
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
114
114
|
* @summary Agent Token Endpoint
|
|
115
115
|
* @param {string} orgId
|
|
116
116
|
* @param {IssueAgentTokenRequest} issueAgentTokenRequest
|
|
@@ -254,7 +254,7 @@ export declare const AAuthApiFp: (configuration?: Configuration) => {
|
|
|
254
254
|
*/
|
|
255
255
|
getResourceMetadataById(orgId: string, resourceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
256
256
|
/**
|
|
257
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
257
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
258
258
|
* @summary Agent Token Endpoint
|
|
259
259
|
* @param {string} orgId
|
|
260
260
|
* @param {IssueAgentTokenRequest} issueAgentTokenRequest
|
|
@@ -394,7 +394,7 @@ export declare const AAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
394
394
|
*/
|
|
395
395
|
getResourceMetadataById(requestParameters: AAuthApiGetResourceMetadataByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
396
396
|
/**
|
|
397
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
397
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
398
398
|
* @summary Agent Token Endpoint
|
|
399
399
|
* @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
|
|
400
400
|
* @param {*} [options] Override http request option.
|
|
@@ -537,7 +537,7 @@ export interface AAuthApiInterface {
|
|
|
537
537
|
*/
|
|
538
538
|
getResourceMetadataById(requestParameters: AAuthApiGetResourceMetadataByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
539
539
|
/**
|
|
540
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
540
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
541
541
|
* @summary Agent Token Endpoint
|
|
542
542
|
* @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
|
|
543
543
|
* @param {*} [options] Override http request option.
|
|
@@ -962,7 +962,7 @@ export declare class AAuthApi extends BaseAPI implements AAuthApiInterface {
|
|
|
962
962
|
*/
|
|
963
963
|
getResourceMetadataById(requestParameters: AAuthApiGetResourceMetadataByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
964
964
|
/**
|
|
965
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
965
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
966
966
|
* @summary Agent Token Endpoint
|
|
967
967
|
* @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
|
|
968
968
|
* @param {*} [options] Override http request option.
|
package/dist/api/aauth-api.js
CHANGED
|
@@ -316,7 +316,7 @@ const AAuthApiAxiosParamCreator = function (configuration) {
|
|
|
316
316
|
};
|
|
317
317
|
}),
|
|
318
318
|
/**
|
|
319
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
319
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
320
320
|
* @summary Agent Token Endpoint
|
|
321
321
|
* @param {string} orgId
|
|
322
322
|
* @param {IssueAgentTokenRequest} issueAgentTokenRequest
|
|
@@ -732,7 +732,7 @@ const AAuthApiFp = function (configuration) {
|
|
|
732
732
|
});
|
|
733
733
|
},
|
|
734
734
|
/**
|
|
735
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
735
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
736
736
|
* @summary Agent Token Endpoint
|
|
737
737
|
* @param {string} orgId
|
|
738
738
|
* @param {IssueAgentTokenRequest} issueAgentTokenRequest
|
|
@@ -950,7 +950,7 @@ const AAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
950
950
|
return localVarFp.getResourceMetadataById(requestParameters.orgId, requestParameters.resourceId, options).then((request) => request(axios, basePath));
|
|
951
951
|
},
|
|
952
952
|
/**
|
|
953
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
953
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
954
954
|
* @summary Agent Token Endpoint
|
|
955
955
|
* @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
|
|
956
956
|
* @param {*} [options] Override http request option.
|
|
@@ -1128,7 +1128,7 @@ class AAuthApi extends base_1.BaseAPI {
|
|
|
1128
1128
|
return (0, exports.AAuthApiFp)(this.configuration).getResourceMetadataById(requestParameters.orgId, requestParameters.resourceId, options).then((request) => request(this.axios, this.basePath));
|
|
1129
1129
|
}
|
|
1130
1130
|
/**
|
|
1131
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
1131
|
+
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @authority, @path, signature-key (plus @query when the URL has one), content-digest, content-type, authorization
|
|
1132
1132
|
* @summary Agent Token Endpoint
|
|
1133
1133
|
* @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
|
|
1134
1134
|
* @param {*} [options] Override http request option.
|
|
@@ -22,7 +22,7 @@ import type { MessageResponse } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const AdminMcpApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
25
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
26
26
|
* @summary Register an MCP server
|
|
27
27
|
* @param {string} orgId
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
@@ -62,7 +62,7 @@ export declare const AdminMcpApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
62
62
|
*/
|
|
63
63
|
export declare const AdminMcpApiFp: (configuration?: Configuration) => {
|
|
64
64
|
/**
|
|
65
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
65
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
66
66
|
* @summary Register an MCP server
|
|
67
67
|
* @param {string} orgId
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
@@ -102,7 +102,7 @@ export declare const AdminMcpApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
*/
|
|
103
103
|
export declare const AdminMcpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
104
104
|
/**
|
|
105
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
105
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
106
106
|
* @summary Register an MCP server
|
|
107
107
|
* @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
@@ -141,7 +141,7 @@ export declare const AdminMcpApiFactory: (configuration?: Configuration, basePat
|
|
|
141
141
|
*/
|
|
142
142
|
export interface AdminMcpApiInterface {
|
|
143
143
|
/**
|
|
144
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
144
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
145
145
|
* @summary Register an MCP server
|
|
146
146
|
* @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
|
|
147
147
|
* @param {*} [options] Override http request option.
|
|
@@ -249,7 +249,7 @@ export interface AdminMcpApiAdminMcpServersListRequest {
|
|
|
249
249
|
*/
|
|
250
250
|
export declare class AdminMcpApi extends BaseAPI implements AdminMcpApiInterface {
|
|
251
251
|
/**
|
|
252
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
252
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
253
253
|
* @summary Register an MCP server
|
|
254
254
|
* @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
@@ -36,7 +36,7 @@ const base_1 = require("../base");
|
|
|
36
36
|
const AdminMcpApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
39
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
40
40
|
* @summary Register an MCP server
|
|
41
41
|
* @param {string} orgId
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
@@ -190,7 +190,7 @@ const AdminMcpApiFp = function (configuration) {
|
|
|
190
190
|
const localVarAxiosParamCreator = (0, exports.AdminMcpApiAxiosParamCreator)(configuration);
|
|
191
191
|
return {
|
|
192
192
|
/**
|
|
193
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
193
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
194
194
|
* @summary Register an MCP server
|
|
195
195
|
* @param {string} orgId
|
|
196
196
|
* @param {*} [options] Override http request option.
|
|
@@ -266,7 +266,7 @@ const AdminMcpApiFactory = function (configuration, basePath, axios) {
|
|
|
266
266
|
const localVarFp = (0, exports.AdminMcpApiFp)(configuration);
|
|
267
267
|
return {
|
|
268
268
|
/**
|
|
269
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
269
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
270
270
|
* @summary Register an MCP server
|
|
271
271
|
* @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
@@ -316,7 +316,7 @@ exports.AdminMcpApiFactory = AdminMcpApiFactory;
|
|
|
316
316
|
*/
|
|
317
317
|
class AdminMcpApi extends base_1.BaseAPI {
|
|
318
318
|
/**
|
|
319
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
319
|
+
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
|
|
320
320
|
* @summary Register an MCP server
|
|
321
321
|
* @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { AdminClientsCimdCheckRequest } from '../models';
|
|
16
|
+
import type { AdminClientsCimdCheckResponse } from '../models';
|
|
15
17
|
import type { CreateClientResponse } from '../models';
|
|
16
18
|
import type { GetClientResponse } from '../models';
|
|
17
19
|
import type { ListClientScopesResponse } from '../models';
|
|
@@ -25,6 +27,15 @@ import type { UpdateClientResponse } from '../models';
|
|
|
25
27
|
* @export
|
|
26
28
|
*/
|
|
27
29
|
export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30
|
+
/**
|
|
31
|
+
* Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
|
|
32
|
+
* @summary Check a Client ID Metadata Document
|
|
33
|
+
* @param {string} orgId
|
|
34
|
+
* @param {AdminClientsCimdCheckRequest} adminClientsCimdCheckRequest
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
adminClientsCimdCheck: (orgId: string, adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
39
|
/**
|
|
29
40
|
*
|
|
30
41
|
* @summary Create an OAuth client
|
|
@@ -128,6 +139,15 @@ export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Con
|
|
|
128
139
|
* @export
|
|
129
140
|
*/
|
|
130
141
|
export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) => {
|
|
142
|
+
/**
|
|
143
|
+
* Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
|
|
144
|
+
* @summary Check a Client ID Metadata Document
|
|
145
|
+
* @param {string} orgId
|
|
146
|
+
* @param {AdminClientsCimdCheckRequest} adminClientsCimdCheckRequest
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
adminClientsCimdCheck(orgId: string, adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminClientsCimdCheckResponse>>;
|
|
131
151
|
/**
|
|
132
152
|
*
|
|
133
153
|
* @summary Create an OAuth client
|
|
@@ -231,6 +251,14 @@ export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) =>
|
|
|
231
251
|
* @export
|
|
232
252
|
*/
|
|
233
253
|
export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
254
|
+
/**
|
|
255
|
+
* Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
|
|
256
|
+
* @summary Check a Client ID Metadata Document
|
|
257
|
+
* @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsCimdCheckResponse>;
|
|
234
262
|
/**
|
|
235
263
|
*
|
|
236
264
|
* @summary Create an OAuth client
|
|
@@ -326,6 +354,15 @@ export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration
|
|
|
326
354
|
* @interface AdminOAuthClientsApi
|
|
327
355
|
*/
|
|
328
356
|
export interface AdminOAuthClientsApiInterface {
|
|
357
|
+
/**
|
|
358
|
+
* Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
|
|
359
|
+
* @summary Check a Client ID Metadata Document
|
|
360
|
+
* @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof AdminOAuthClientsApiInterface
|
|
364
|
+
*/
|
|
365
|
+
adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsCimdCheckResponse>;
|
|
329
366
|
/**
|
|
330
367
|
*
|
|
331
368
|
* @summary Create an OAuth client
|
|
@@ -426,6 +463,25 @@ export interface AdminOAuthClientsApiInterface {
|
|
|
426
463
|
*/
|
|
427
464
|
updateClient(requestParameters: AdminOAuthClientsApiUpdateClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateClientResponse>;
|
|
428
465
|
}
|
|
466
|
+
/**
|
|
467
|
+
* Request parameters for adminClientsCimdCheck operation in AdminOAuthClientsApi.
|
|
468
|
+
* @export
|
|
469
|
+
* @interface AdminOAuthClientsApiAdminClientsCimdCheckRequest
|
|
470
|
+
*/
|
|
471
|
+
export interface AdminOAuthClientsApiAdminClientsCimdCheckRequest {
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {string}
|
|
475
|
+
* @memberof AdminOAuthClientsApiAdminClientsCimdCheck
|
|
476
|
+
*/
|
|
477
|
+
readonly orgId: string;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @type {AdminClientsCimdCheckRequest}
|
|
481
|
+
* @memberof AdminOAuthClientsApiAdminClientsCimdCheck
|
|
482
|
+
*/
|
|
483
|
+
readonly adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest;
|
|
484
|
+
}
|
|
429
485
|
/**
|
|
430
486
|
* Request parameters for createClient operation in AdminOAuthClientsApi.
|
|
431
487
|
* @export
|
|
@@ -630,6 +686,15 @@ export interface AdminOAuthClientsApiUpdateClientRequest {
|
|
|
630
686
|
* @extends {BaseAPI}
|
|
631
687
|
*/
|
|
632
688
|
export declare class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthClientsApiInterface {
|
|
689
|
+
/**
|
|
690
|
+
* Fetches and validates the metadata document at `client_id` exactly as the authorization server does (SSRF guard, domain allow-list, size and content-type limits, schema rules) and returns the effective client: redirect URIs, grant types and scopes after the organization policy is applied, plus what the document asked for that was dropped. Works even while CIMD is switched off for the organization (`enabled: false`), so a document can be validated before the switch is flipped. Nothing is registered or stored. `refresh: true` discards the cached copy first.
|
|
691
|
+
* @summary Check a Client ID Metadata Document
|
|
692
|
+
* @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
|
|
693
|
+
* @param {*} [options] Override http request option.
|
|
694
|
+
* @throws {RequiredError}
|
|
695
|
+
* @memberof AdminOAuthClientsApi
|
|
696
|
+
*/
|
|
697
|
+
adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminClientsCimdCheckResponse, any, {}>>;
|
|
633
698
|
/**
|
|
634
699
|
*
|
|
635
700
|
* @summary Create an OAuth client
|