@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
|
@@ -22,7 +22,7 @@ import type { OpenIdConfiguration } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const WellKnownApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* 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.
|
|
25
|
+
* 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.
|
|
26
26
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
27
27
|
* @param {string} orgId
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
@@ -38,7 +38,7 @@ export declare const WellKnownApiAxiosParamCreator: (configuration?: Configurati
|
|
|
38
38
|
*/
|
|
39
39
|
getJwks: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
40
|
/**
|
|
41
|
-
* 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.
|
|
41
|
+
* 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.
|
|
42
42
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
43
43
|
* @param {string} orgId
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
@@ -60,7 +60,7 @@ export declare const WellKnownApiAxiosParamCreator: (configuration?: Configurati
|
|
|
60
60
|
*/
|
|
61
61
|
export declare const WellKnownApiFp: (configuration?: Configuration) => {
|
|
62
62
|
/**
|
|
63
|
-
* 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.
|
|
63
|
+
* 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.
|
|
64
64
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
65
65
|
* @param {string} orgId
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
@@ -76,7 +76,7 @@ export declare const WellKnownApiFp: (configuration?: Configuration) => {
|
|
|
76
76
|
*/
|
|
77
77
|
getJwks(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonWebKeySet>>;
|
|
78
78
|
/**
|
|
79
|
-
* 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.
|
|
79
|
+
* 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.
|
|
80
80
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
81
81
|
* @param {string} orgId
|
|
82
82
|
* @param {*} [options] Override http request option.
|
|
@@ -98,7 +98,7 @@ export declare const WellKnownApiFp: (configuration?: Configuration) => {
|
|
|
98
98
|
*/
|
|
99
99
|
export declare const WellKnownApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
100
100
|
/**
|
|
101
|
-
* 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.
|
|
101
|
+
* 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.
|
|
102
102
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
103
103
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
@@ -114,7 +114,7 @@ export declare const WellKnownApiFactory: (configuration?: Configuration, basePa
|
|
|
114
114
|
*/
|
|
115
115
|
getJwks(requestParameters: WellKnownApiGetJwksRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonWebKeySet>;
|
|
116
116
|
/**
|
|
117
|
-
* 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.
|
|
117
|
+
* 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.
|
|
118
118
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
119
119
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
@@ -137,7 +137,7 @@ export declare const WellKnownApiFactory: (configuration?: Configuration, basePa
|
|
|
137
137
|
*/
|
|
138
138
|
export interface WellKnownApiInterface {
|
|
139
139
|
/**
|
|
140
|
-
* 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.
|
|
140
|
+
* 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.
|
|
141
141
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
142
142
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
@@ -155,7 +155,7 @@ export interface WellKnownApiInterface {
|
|
|
155
155
|
*/
|
|
156
156
|
getJwks(requestParameters: WellKnownApiGetJwksRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonWebKeySet>;
|
|
157
157
|
/**
|
|
158
|
-
* 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.
|
|
158
|
+
* 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.
|
|
159
159
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
160
160
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
@@ -233,7 +233,7 @@ export interface WellKnownApiGetSsfConfigurationRequest {
|
|
|
233
233
|
*/
|
|
234
234
|
export declare class WellKnownApi extends BaseAPI implements WellKnownApiInterface {
|
|
235
235
|
/**
|
|
236
|
-
* 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.
|
|
236
|
+
* 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.
|
|
237
237
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
238
238
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
239
239
|
* @param {*} [options] Override http request option.
|
|
@@ -251,7 +251,7 @@ export declare class WellKnownApi extends BaseAPI implements WellKnownApiInterfa
|
|
|
251
251
|
*/
|
|
252
252
|
getJwks(requestParameters: WellKnownApiGetJwksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonWebKeySet, any, {}>>;
|
|
253
253
|
/**
|
|
254
|
-
* 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.
|
|
254
|
+
* 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.
|
|
255
255
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
256
256
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
@@ -36,7 +36,7 @@ const base_1 = require("../base");
|
|
|
36
36
|
const WellKnownApiAxiosParamCreator = function (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.
|
|
@@ -94,7 +94,7 @@ const WellKnownApiAxiosParamCreator = function (configuration) {
|
|
|
94
94
|
};
|
|
95
95
|
}),
|
|
96
96
|
/**
|
|
97
|
-
* 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.
|
|
97
|
+
* 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.
|
|
98
98
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
99
99
|
* @param {string} orgId
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
@@ -162,7 +162,7 @@ const WellKnownApiFp = function (configuration) {
|
|
|
162
162
|
const localVarAxiosParamCreator = (0, exports.WellKnownApiAxiosParamCreator)(configuration);
|
|
163
163
|
return {
|
|
164
164
|
/**
|
|
165
|
-
* 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.
|
|
165
|
+
* 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.
|
|
166
166
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
167
167
|
* @param {string} orgId
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
@@ -194,7 +194,7 @@ const WellKnownApiFp = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* 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.
|
|
197
|
+
* 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.
|
|
198
198
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
199
199
|
* @param {string} orgId
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
@@ -236,7 +236,7 @@ const WellKnownApiFactory = function (configuration, basePath, axios) {
|
|
|
236
236
|
const localVarFp = (0, exports.WellKnownApiFp)(configuration);
|
|
237
237
|
return {
|
|
238
238
|
/**
|
|
239
|
-
* 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.
|
|
239
|
+
* 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.
|
|
240
240
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
241
241
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
242
242
|
* @param {*} [options] Override http request option.
|
|
@@ -256,7 +256,7 @@ const WellKnownApiFactory = function (configuration, basePath, axios) {
|
|
|
256
256
|
return localVarFp.getJwks(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
257
257
|
},
|
|
258
258
|
/**
|
|
259
|
-
* 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.
|
|
259
|
+
* 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.
|
|
260
260
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
261
261
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
262
262
|
* @param {*} [options] Override http request option.
|
|
@@ -286,7 +286,7 @@ exports.WellKnownApiFactory = WellKnownApiFactory;
|
|
|
286
286
|
*/
|
|
287
287
|
class WellKnownApi extends base_1.BaseAPI {
|
|
288
288
|
/**
|
|
289
|
-
* 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.
|
|
289
|
+
* 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.
|
|
290
290
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
291
291
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
292
292
|
* @param {*} [options] Override http request option.
|
|
@@ -308,7 +308,7 @@ class WellKnownApi extends base_1.BaseAPI {
|
|
|
308
308
|
return (0, exports.WellKnownApiFp)(this.configuration).getJwks(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
311
|
-
* 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.
|
|
311
|
+
* 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.
|
|
312
312
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
313
313
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
314
314
|
* @param {*} [options] Override http request option.
|
|
@@ -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.
|
|
@@ -313,7 +313,7 @@ export const AAuthApiAxiosParamCreator = function (configuration) {
|
|
|
313
313
|
};
|
|
314
314
|
}),
|
|
315
315
|
/**
|
|
316
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
316
|
+
* 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
|
|
317
317
|
* @summary Agent Token Endpoint
|
|
318
318
|
* @param {string} orgId
|
|
319
319
|
* @param {IssueAgentTokenRequest} issueAgentTokenRequest
|
|
@@ -728,7 +728,7 @@ export const AAuthApiFp = function (configuration) {
|
|
|
728
728
|
});
|
|
729
729
|
},
|
|
730
730
|
/**
|
|
731
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
731
|
+
* 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
|
|
732
732
|
* @summary Agent Token Endpoint
|
|
733
733
|
* @param {string} orgId
|
|
734
734
|
* @param {IssueAgentTokenRequest} issueAgentTokenRequest
|
|
@@ -945,7 +945,7 @@ export const AAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
945
945
|
return localVarFp.getResourceMetadataById(requestParameters.orgId, requestParameters.resourceId, options).then((request) => request(axios, basePath));
|
|
946
946
|
},
|
|
947
947
|
/**
|
|
948
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
948
|
+
* 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
|
|
949
949
|
* @summary Agent Token Endpoint
|
|
950
950
|
* @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
|
|
951
951
|
* @param {*} [options] Override http request option.
|
|
@@ -1122,7 +1122,7 @@ export class AAuthApi extends BaseAPI {
|
|
|
1122
1122
|
return AAuthApiFp(this.configuration).getResourceMetadataById(requestParameters.orgId, requestParameters.resourceId, options).then((request) => request(this.axios, this.basePath));
|
|
1123
1123
|
}
|
|
1124
1124
|
/**
|
|
1125
|
-
* Per Section 9: The agent token endpoint is the auth server\'s endpoint agents use to request auth tokens. Required HTTP signature covering: @method, @
|
|
1125
|
+
* 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
|
|
1126
1126
|
* @summary Agent Token Endpoint
|
|
1127
1127
|
* @param {AAuthApiIssueAgentTokenRequest} requestParameters Request parameters.
|
|
1128
1128
|
* @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.
|
|
@@ -33,7 +33,7 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
33
33
|
export const AdminMcpApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
36
|
+
* 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
|
|
37
37
|
* @summary Register an MCP server
|
|
38
38
|
* @param {string} orgId
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
@@ -186,7 +186,7 @@ export const AdminMcpApiFp = function (configuration) {
|
|
|
186
186
|
const localVarAxiosParamCreator = AdminMcpApiAxiosParamCreator(configuration);
|
|
187
187
|
return {
|
|
188
188
|
/**
|
|
189
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
189
|
+
* 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
|
|
190
190
|
* @summary Register an MCP server
|
|
191
191
|
* @param {string} orgId
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
@@ -261,7 +261,7 @@ export const AdminMcpApiFactory = function (configuration, basePath, axios) {
|
|
|
261
261
|
const localVarFp = AdminMcpApiFp(configuration);
|
|
262
262
|
return {
|
|
263
263
|
/**
|
|
264
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
264
|
+
* 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
|
|
265
265
|
* @summary Register an MCP server
|
|
266
266
|
* @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
|
|
267
267
|
* @param {*} [options] Override http request option.
|
|
@@ -310,7 +310,7 @@ export const AdminMcpApiFactory = function (configuration, basePath, axios) {
|
|
|
310
310
|
*/
|
|
311
311
|
export class AdminMcpApi extends BaseAPI {
|
|
312
312
|
/**
|
|
313
|
-
* Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI
|
|
313
|
+
* 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
|
|
314
314
|
* @summary Register an MCP server
|
|
315
315
|
* @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
|
|
316
316
|
* @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
|
|
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import globalAxios from 'axios';
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
@@ -32,6 +32,45 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
* 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.
|
|
37
|
+
* @summary Check a Client ID Metadata Document
|
|
38
|
+
* @param {string} orgId
|
|
39
|
+
* @param {AdminClientsCimdCheckRequest} adminClientsCimdCheckRequest
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
adminClientsCimdCheck: (orgId_1, adminClientsCimdCheckRequest_1, ...args_1) => __awaiter(this, [orgId_1, adminClientsCimdCheckRequest_1, ...args_1], void 0, function* (orgId, adminClientsCimdCheckRequest, options = {}) {
|
|
44
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
45
|
+
assertParamExists('adminClientsCimdCheck', 'orgId', orgId);
|
|
46
|
+
// verify required parameter 'adminClientsCimdCheckRequest' is not null or undefined
|
|
47
|
+
assertParamExists('adminClientsCimdCheck', 'adminClientsCimdCheckRequest', adminClientsCimdCheckRequest);
|
|
48
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/clients/cimd/check`
|
|
49
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
57
|
+
const localVarHeaderParameter = {};
|
|
58
|
+
const localVarQueryParameter = {};
|
|
59
|
+
// authentication ApiKeyAuth required
|
|
60
|
+
yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
|
|
61
|
+
// authentication BearerAuth required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
64
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
67
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
68
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminClientsCimdCheckRequest, localVarRequestOptions, configuration);
|
|
69
|
+
return {
|
|
70
|
+
url: toPathString(localVarUrlObj),
|
|
71
|
+
options: localVarRequestOptions,
|
|
72
|
+
};
|
|
73
|
+
}),
|
|
35
74
|
/**
|
|
36
75
|
*
|
|
37
76
|
* @summary Create an OAuth client
|
|
@@ -451,6 +490,23 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
|
451
490
|
export const AdminOAuthClientsApiFp = function (configuration) {
|
|
452
491
|
const localVarAxiosParamCreator = AdminOAuthClientsApiAxiosParamCreator(configuration);
|
|
453
492
|
return {
|
|
493
|
+
/**
|
|
494
|
+
* 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.
|
|
495
|
+
* @summary Check a Client ID Metadata Document
|
|
496
|
+
* @param {string} orgId
|
|
497
|
+
* @param {AdminClientsCimdCheckRequest} adminClientsCimdCheckRequest
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
*/
|
|
501
|
+
adminClientsCimdCheck(orgId, adminClientsCimdCheckRequest, options) {
|
|
502
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
503
|
+
var _a, _b, _c;
|
|
504
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminClientsCimdCheck(orgId, adminClientsCimdCheckRequest, options);
|
|
505
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
506
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminOAuthClientsApi.adminClientsCimdCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
508
|
+
});
|
|
509
|
+
},
|
|
454
510
|
/**
|
|
455
511
|
*
|
|
456
512
|
* @summary Create an OAuth client
|
|
@@ -645,6 +701,16 @@ export const AdminOAuthClientsApiFp = function (configuration) {
|
|
|
645
701
|
export const AdminOAuthClientsApiFactory = function (configuration, basePath, axios) {
|
|
646
702
|
const localVarFp = AdminOAuthClientsApiFp(configuration);
|
|
647
703
|
return {
|
|
704
|
+
/**
|
|
705
|
+
* 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.
|
|
706
|
+
* @summary Check a Client ID Metadata Document
|
|
707
|
+
* @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
*/
|
|
711
|
+
adminClientsCimdCheck(requestParameters, options) {
|
|
712
|
+
return localVarFp.adminClientsCimdCheck(requestParameters.orgId, requestParameters.adminClientsCimdCheckRequest, options).then((request) => request(axios, basePath));
|
|
713
|
+
},
|
|
648
714
|
/**
|
|
649
715
|
*
|
|
650
716
|
* @summary Create an OAuth client
|
|
@@ -764,6 +830,17 @@ export const AdminOAuthClientsApiFactory = function (configuration, basePath, ax
|
|
|
764
830
|
* @extends {BaseAPI}
|
|
765
831
|
*/
|
|
766
832
|
export class AdminOAuthClientsApi extends BaseAPI {
|
|
833
|
+
/**
|
|
834
|
+
* 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.
|
|
835
|
+
* @summary Check a Client ID Metadata Document
|
|
836
|
+
* @param {AdminOAuthClientsApiAdminClientsCimdCheckRequest} requestParameters Request parameters.
|
|
837
|
+
* @param {*} [options] Override http request option.
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
* @memberof AdminOAuthClientsApi
|
|
840
|
+
*/
|
|
841
|
+
adminClientsCimdCheck(requestParameters, options) {
|
|
842
|
+
return AdminOAuthClientsApiFp(this.configuration).adminClientsCimdCheck(requestParameters.orgId, requestParameters.adminClientsCimdCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
843
|
+
}
|
|
767
844
|
/**
|
|
768
845
|
*
|
|
769
846
|
* @summary Create an OAuth client
|