@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
|
@@ -33,7 +33,7 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
33
33
|
export const WellKnownApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
* 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.
|
|
36
|
+
* 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.
|
|
37
37
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
38
38
|
* @param {string} orgId
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
@@ -91,7 +91,7 @@ export const WellKnownApiAxiosParamCreator = function (configuration) {
|
|
|
91
91
|
};
|
|
92
92
|
}),
|
|
93
93
|
/**
|
|
94
|
-
* 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.
|
|
94
|
+
* 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.
|
|
95
95
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
96
96
|
* @param {string} orgId
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
@@ -158,7 +158,7 @@ export const WellKnownApiFp = function (configuration) {
|
|
|
158
158
|
const localVarAxiosParamCreator = WellKnownApiAxiosParamCreator(configuration);
|
|
159
159
|
return {
|
|
160
160
|
/**
|
|
161
|
-
* 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.
|
|
161
|
+
* 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.
|
|
162
162
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
163
163
|
* @param {string} orgId
|
|
164
164
|
* @param {*} [options] Override http request option.
|
|
@@ -190,7 +190,7 @@ export const WellKnownApiFp = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* 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.
|
|
193
|
+
* 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.
|
|
194
194
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
195
195
|
* @param {string} orgId
|
|
196
196
|
* @param {*} [options] Override http request option.
|
|
@@ -231,7 +231,7 @@ export const WellKnownApiFactory = function (configuration, basePath, axios) {
|
|
|
231
231
|
const localVarFp = WellKnownApiFp(configuration);
|
|
232
232
|
return {
|
|
233
233
|
/**
|
|
234
|
-
* 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.
|
|
234
|
+
* 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.
|
|
235
235
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
236
236
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
237
237
|
* @param {*} [options] Override http request option.
|
|
@@ -251,7 +251,7 @@ export const WellKnownApiFactory = function (configuration, basePath, axios) {
|
|
|
251
251
|
return localVarFp.getJwks(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
252
252
|
},
|
|
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.
|
|
@@ -280,7 +280,7 @@ export const WellKnownApiFactory = function (configuration, basePath, axios) {
|
|
|
280
280
|
*/
|
|
281
281
|
export class WellKnownApi extends BaseAPI {
|
|
282
282
|
/**
|
|
283
|
-
* 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.
|
|
283
|
+
* 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.
|
|
284
284
|
* @summary OAuth 2.0 authorization server metadata (RFC 8414)
|
|
285
285
|
* @param {WellKnownApiGetAuthorizationServerMetadataRequest} requestParameters Request parameters.
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
@@ -302,7 +302,7 @@ export class WellKnownApi extends BaseAPI {
|
|
|
302
302
|
return WellKnownApiFp(this.configuration).getJwks(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
|
-
* 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.
|
|
305
|
+
* 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.
|
|
306
306
|
* @summary OpenID Provider configuration (OIDC Discovery 1.0)
|
|
307
307
|
* @param {WellKnownApiGetOpenidConfigurationRequest} requestParameters Request parameters.
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface AdminAgentsGenerateTokenRequest {
|
|
18
18
|
/**
|
|
19
|
-
* Token lifetime in seconds. Default 3600, at most
|
|
19
|
+
* Token lifetime in seconds. Default 3600, minimum 60, at most 86400 (24 hours). Above 3600 only together with `resource`: a long-lived token is always bound to one MCP server, never to the organization API.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof AdminAgentsGenerateTokenRequest
|
|
22
22
|
*/
|
|
@@ -27,4 +27,10 @@ export interface AdminAgentsGenerateTokenRequest {
|
|
|
27
27
|
* @memberof AdminAgentsGenerateTokenRequest
|
|
28
28
|
*/
|
|
29
29
|
'scopes'?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Optional resource URI of an active MCP server of this organization. The token is then audience-bound to that server (and no longer works on the LumoAuth API) and lives at most the server\'s token lifetime. Servers that require DPoP are refused with 400.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminAgentsGenerateTokenRequest
|
|
34
|
+
*/
|
|
35
|
+
'resource'?: string;
|
|
30
36
|
}
|
|
@@ -33,10 +33,22 @@ export interface AdminAgentsGenerateTokenResponseData {
|
|
|
33
33
|
* @memberof AdminAgentsGenerateTokenResponseData
|
|
34
34
|
*/
|
|
35
35
|
'expiresIn'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The token id. Written to the agent.token_issued audit event; the kill switch and a capability reduction deny-list it.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AdminAgentsGenerateTokenResponseData
|
|
40
|
+
*/
|
|
41
|
+
'jti'?: string;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {Array<string>}
|
|
39
45
|
* @memberof AdminAgentsGenerateTokenResponseData
|
|
40
46
|
*/
|
|
41
47
|
'scopes'?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The MCP server the token is bound to, when `resource` was sent.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AdminAgentsGenerateTokenResponseData
|
|
52
|
+
*/
|
|
53
|
+
'resource'?: string | null;
|
|
42
54
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminClientsCimdCheckRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminClientsCimdCheckRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The Client Identifier URL (https, with a path).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminClientsCimdCheckRequest
|
|
22
|
+
*/
|
|
23
|
+
'client_id': string;
|
|
24
|
+
/**
|
|
25
|
+
* Ignore the cached document and fetch it again.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AdminClientsCimdCheckRequest
|
|
28
|
+
*/
|
|
29
|
+
'refresh'?: boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CimdCheckResult } from './cimd-check-result';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdminClientsCimdCheckResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AdminClientsCimdCheckResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CimdCheckResult}
|
|
22
|
+
* @memberof AdminClientsCimdCheckResponse
|
|
23
|
+
*/
|
|
24
|
+
'data'?: CimdCheckResult;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -146,7 +146,7 @@ export interface AuthenticationSettings {
|
|
|
146
146
|
*/
|
|
147
147
|
'dynamic_client_registration_enabled'?: boolean;
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
149
|
+
* Accept Client ID Metadata Documents (an https URL as client_id). On by default on every plan; set false to opt the organization out.
|
|
150
150
|
* @type {boolean}
|
|
151
151
|
* @memberof AuthenticationSettings
|
|
152
152
|
*/
|
|
@@ -220,7 +220,7 @@ export interface AuthorizationServerMetadata {
|
|
|
220
220
|
*/
|
|
221
221
|
'entity_profiles_supported'?: Array<string>;
|
|
222
222
|
/**
|
|
223
|
-
*
|
|
223
|
+
* Present (true) unless the organization switched Client ID Metadata Documents off.
|
|
224
224
|
* @type {boolean}
|
|
225
225
|
* @memberof AuthorizationServerMetadata
|
|
226
226
|
*/
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The client LumoAuth derives from the document after organization policy.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CimdCheckResultEffective
|
|
16
|
+
*/
|
|
17
|
+
export interface CimdCheckResultEffective {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CimdCheckResultEffective
|
|
22
|
+
*/
|
|
23
|
+
'client_name'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CimdCheckResultEffective
|
|
28
|
+
*/
|
|
29
|
+
'application_type'?: CimdCheckResultEffectiveApplicationType;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CimdCheckResultEffective
|
|
34
|
+
*/
|
|
35
|
+
'token_endpoint_auth_method'?: CimdCheckResultEffectiveTokenEndpointAuthMethod;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CimdCheckResultEffective
|
|
40
|
+
*/
|
|
41
|
+
'public_client'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CimdCheckResultEffective
|
|
46
|
+
*/
|
|
47
|
+
'pkce_required'?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof CimdCheckResultEffective
|
|
52
|
+
*/
|
|
53
|
+
'redirect_uris'?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Loopback URIs removed by the organization\'s localhost policy.
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof CimdCheckResultEffective
|
|
58
|
+
*/
|
|
59
|
+
'dropped_redirect_uris'?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof CimdCheckResultEffective
|
|
64
|
+
*/
|
|
65
|
+
'grant_types'?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof CimdCheckResultEffective
|
|
70
|
+
*/
|
|
71
|
+
'scopes'?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Scopes the document asked for that are neither identity scopes nor on the organization\'s cimd_allowed_scopes list.
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof CimdCheckResultEffective
|
|
76
|
+
*/
|
|
77
|
+
'dropped_scopes'?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CimdCheckResultEffective
|
|
82
|
+
*/
|
|
83
|
+
'logo_uri'?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CimdCheckResultEffective
|
|
88
|
+
*/
|
|
89
|
+
'client_uri'?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof CimdCheckResultEffective
|
|
94
|
+
*/
|
|
95
|
+
'has_loopback_redirect'?: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
* @enum {string}
|
|
100
|
+
*/
|
|
101
|
+
export declare enum CimdCheckResultEffectiveApplicationType {
|
|
102
|
+
WEB = "web",
|
|
103
|
+
NATIVE = "native"
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @export
|
|
107
|
+
* @enum {string}
|
|
108
|
+
*/
|
|
109
|
+
export declare enum CimdCheckResultEffectiveTokenEndpointAuthMethod {
|
|
110
|
+
NONE = "none",
|
|
111
|
+
PRIVATE_KEY_JWT = "private_key_jwt"
|
|
112
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
export var CimdCheckResultEffectiveApplicationType;
|
|
19
|
+
(function (CimdCheckResultEffectiveApplicationType) {
|
|
20
|
+
CimdCheckResultEffectiveApplicationType["WEB"] = "web";
|
|
21
|
+
CimdCheckResultEffectiveApplicationType["NATIVE"] = "native";
|
|
22
|
+
})(CimdCheckResultEffectiveApplicationType || (CimdCheckResultEffectiveApplicationType = {}));
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
* @enum {string}
|
|
26
|
+
*/
|
|
27
|
+
export var CimdCheckResultEffectiveTokenEndpointAuthMethod;
|
|
28
|
+
(function (CimdCheckResultEffectiveTokenEndpointAuthMethod) {
|
|
29
|
+
CimdCheckResultEffectiveTokenEndpointAuthMethod["NONE"] = "none";
|
|
30
|
+
CimdCheckResultEffectiveTokenEndpointAuthMethod["PRIVATE_KEY_JWT"] = "private_key_jwt";
|
|
31
|
+
})(CimdCheckResultEffectiveTokenEndpointAuthMethod || (CimdCheckResultEffectiveTokenEndpointAuthMethod = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Present when this organization has already resolved the client at least once.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CimdCheckResultShadowClient
|
|
16
|
+
*/
|
|
17
|
+
export interface CimdCheckResultShadowClient {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CimdCheckResultShadowClient
|
|
22
|
+
*/
|
|
23
|
+
'id'?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CimdCheckResultShadowClient
|
|
28
|
+
*/
|
|
29
|
+
'last_fetched_at'?: string | null;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CimdCheckResultEffective } from './cimd-check-result-effective';
|
|
13
|
+
import type { CimdCheckResultShadowClient } from './cimd-check-result-shadow-client';
|
|
14
|
+
/**
|
|
15
|
+
* Result of POST /admin/clients/cimd/check — how the authorization server sees a Client ID Metadata Document.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CimdCheckResult
|
|
18
|
+
*/
|
|
19
|
+
export interface CimdCheckResult {
|
|
20
|
+
/**
|
|
21
|
+
* true when the document is valid and would be accepted (subject to `enabled`).
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof CimdCheckResult
|
|
24
|
+
*/
|
|
25
|
+
'ok'?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CimdCheckResult
|
|
30
|
+
*/
|
|
31
|
+
'client_id'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether CIMD is currently on for this organization (switch + plan).
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof CimdCheckResult
|
|
36
|
+
*/
|
|
37
|
+
'enabled'?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Stable failure code when ok is false (client_id_mismatch, invalid_redirect_uri, domain_not_allowed, http_status_404, …).
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CimdCheckResult
|
|
42
|
+
*/
|
|
43
|
+
'reason'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Developer-facing explanation of `reason`.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CimdCheckResult
|
|
48
|
+
*/
|
|
49
|
+
'message'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof CimdCheckResult
|
|
54
|
+
*/
|
|
55
|
+
'warnings'?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The metadata document as fetched.
|
|
58
|
+
* @type {{ [key: string]: any; }}
|
|
59
|
+
* @memberof CimdCheckResult
|
|
60
|
+
*/
|
|
61
|
+
'document'?: {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
} | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {CimdCheckResultEffective}
|
|
67
|
+
* @memberof CimdCheckResult
|
|
68
|
+
*/
|
|
69
|
+
'effective'?: CimdCheckResultEffective | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {CimdCheckResultShadowClient}
|
|
73
|
+
* @memberof CimdCheckResult
|
|
74
|
+
*/
|
|
75
|
+
'shadow_client'?: CimdCheckResultShadowClient | null;
|
|
76
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LumoAuth API
|
|
5
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: sdk@lumoauth.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -28,7 +28,7 @@ export interface GetProtectedResourceMetadataRootResponse1ResourcesItem {
|
|
|
28
28
|
*/
|
|
29
29
|
'resource_metadata_url': string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The organization\'s issuer identifier (RFC 8414).
|
|
32
32
|
* @type {Array<string>}
|
|
33
33
|
* @memberof GetProtectedResourceMetadataRootResponse1ResourcesItem
|
|
34
34
|
*/
|
|
@@ -54,6 +54,8 @@ export * from './admin-audit-logs-stats-response';
|
|
|
54
54
|
export * from './admin-audit-logs-stats-response-data';
|
|
55
55
|
export * from './admin-audit-logs-stats-response-data-period';
|
|
56
56
|
export * from './admin-client-tokens-revoke-all-response';
|
|
57
|
+
export * from './admin-clients-cimd-check-request';
|
|
58
|
+
export * from './admin-clients-cimd-check-response';
|
|
57
59
|
export * from './admin-email-templates-list-response';
|
|
58
60
|
export * from './admin-email-templates-preview-response';
|
|
59
61
|
export * from './admin-email-templates-variables-response';
|
|
@@ -186,6 +188,9 @@ export * from './check-permission-response';
|
|
|
186
188
|
export * from './check-permissions-bulk-response';
|
|
187
189
|
export * from './check-relation-response';
|
|
188
190
|
export * from './check-relation-scoped-response';
|
|
191
|
+
export * from './cimd-check-result';
|
|
192
|
+
export * from './cimd-check-result-effective';
|
|
193
|
+
export * from './cimd-check-result-shadow-client';
|
|
189
194
|
export * from './complete-task-response';
|
|
190
195
|
export * from './create-approval-request';
|
|
191
196
|
export * from './create-approval-response';
|
|
@@ -283,6 +288,9 @@ export * from './mark-user-verified-response';
|
|
|
283
288
|
export * from './mcp-server';
|
|
284
289
|
export * from './mcp-server-posture';
|
|
285
290
|
export * from './mcp-server-posture-checks-inner';
|
|
291
|
+
export * from './mcp-server-tool-authorize-request';
|
|
292
|
+
export * from './mcp-server-tool-authorize-request-subject';
|
|
293
|
+
export * from './mcp-server-tool-authorize-response';
|
|
286
294
|
export * from './message-response';
|
|
287
295
|
export * from './mfa-authenticator';
|
|
288
296
|
export * from './mfa-authenticator-last-used-context';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -54,6 +54,8 @@ export * from './admin-audit-logs-stats-response';
|
|
|
54
54
|
export * from './admin-audit-logs-stats-response-data';
|
|
55
55
|
export * from './admin-audit-logs-stats-response-data-period';
|
|
56
56
|
export * from './admin-client-tokens-revoke-all-response';
|
|
57
|
+
export * from './admin-clients-cimd-check-request';
|
|
58
|
+
export * from './admin-clients-cimd-check-response';
|
|
57
59
|
export * from './admin-email-templates-list-response';
|
|
58
60
|
export * from './admin-email-templates-preview-response';
|
|
59
61
|
export * from './admin-email-templates-variables-response';
|
|
@@ -186,6 +188,9 @@ export * from './check-permission-response';
|
|
|
186
188
|
export * from './check-permissions-bulk-response';
|
|
187
189
|
export * from './check-relation-response';
|
|
188
190
|
export * from './check-relation-scoped-response';
|
|
191
|
+
export * from './cimd-check-result';
|
|
192
|
+
export * from './cimd-check-result-effective';
|
|
193
|
+
export * from './cimd-check-result-shadow-client';
|
|
189
194
|
export * from './complete-task-response';
|
|
190
195
|
export * from './create-approval-request';
|
|
191
196
|
export * from './create-approval-response';
|
|
@@ -283,6 +288,9 @@ export * from './mark-user-verified-response';
|
|
|
283
288
|
export * from './mcp-server';
|
|
284
289
|
export * from './mcp-server-posture';
|
|
285
290
|
export * from './mcp-server-posture-checks-inner';
|
|
291
|
+
export * from './mcp-server-tool-authorize-request';
|
|
292
|
+
export * from './mcp-server-tool-authorize-request-subject';
|
|
293
|
+
export * from './mcp-server-tool-authorize-response';
|
|
286
294
|
export * from './message-response';
|
|
287
295
|
export * from './mfa-authenticator';
|
|
288
296
|
export * from './mfa-authenticator-last-used-context';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LumoAuth API
|
|
3
|
+
* LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: sdk@lumoauth.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface McpServerToolAuthorizeRequestSubject
|
|
16
|
+
*/
|
|
17
|
+
export interface McpServerToolAuthorizeRequestSubject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
22
|
+
*/
|
|
23
|
+
'type': McpServerToolAuthorizeRequestSubjectType;
|
|
24
|
+
/**
|
|
25
|
+
* User UUID, or agent id (agt_…). For an MCP token, the user id is `sub`; for an agent token `sub` is `agent_<id>`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
28
|
+
*/
|
|
29
|
+
'id': string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
export declare enum McpServerToolAuthorizeRequestSubjectType {
|
|
36
|
+
USER = "user",
|
|
37
|
+
AGENT = "agent"
|
|
38
|
+
}
|