@lumoauth/api-client 1.1.0 → 1.3.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/README.md +14 -4
- package/api/aauth-api.ts +5 -5
- package/api/admin-email-api.ts +67 -15
- package/api/admin-mcp-api.ts +5 -5
- package/api/admin-oauth-clients-api.ts +370 -0
- package/api/agents-api.ts +5 -5
- package/api/mcp-api.ts +130 -0
- package/api/oauth-api.ts +0 -186
- 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-email-api.d.ts +41 -9
- package/dist/api/admin-email-api.js +34 -14
- 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 +210 -0
- package/dist/api/admin-oauth-clients-api.js +236 -0
- package/dist/api/agents-api.d.ts +5 -5
- package/dist/api/agents-api.js +4 -4
- package/dist/api/mcp-api.d.ts +73 -0
- package/dist/api/mcp-api.js +82 -0
- package/dist/api/oauth-api.d.ts +0 -110
- package/dist/api/oauth-api.js +0 -132
- 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-email-api.d.ts +41 -9
- package/dist/esm/api/admin-email-api.js +34 -14
- 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 +210 -0
- package/dist/esm/api/admin-oauth-clients-api.js +236 -0
- package/dist/esm/api/agents-api.d.ts +5 -5
- package/dist/esm/api/agents-api.js +4 -4
- package/dist/esm/api/mcp-api.d.ts +73 -0
- package/dist/esm/api/mcp-api.js +83 -1
- package/dist/esm/api/oauth-api.d.ts +0 -110
- package/dist/esm/api/oauth-api.js +0 -132
- 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-get-branding-response-data.d.ts +34 -0
- package/dist/esm/models/admin-clients-get-branding-response-data.js +14 -0
- package/dist/esm/models/admin-clients-get-branding-response.d.ts +25 -0
- package/dist/esm/models/admin-clients-get-branding-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/authorization-server-metadata.d.ts +0 -6
- package/dist/esm/models/authorize-mcp-request.d.ts +1 -1
- 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 +7 -7
- package/dist/esm/models/patch-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/esm/models/patch-admin-clients-update-branding-response.js +14 -0
- package/dist/esm/models/protected-resource-metadata.d.ts +1 -1
- package/dist/esm/models/put-admin-clients-update-branding-request.d.ts +34 -0
- package/dist/esm/models/put-admin-clients-update-branding-request.js +14 -0
- package/dist/esm/models/put-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/esm/models/put-admin-clients-update-branding-response.js +14 -0
- 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-get-branding-response-data.d.ts +34 -0
- package/dist/models/admin-clients-get-branding-response-data.js +15 -0
- package/dist/models/admin-clients-get-branding-response.d.ts +25 -0
- package/dist/models/admin-clients-get-branding-response.js +15 -0
- package/dist/models/attest-response.d.ts +2 -1
- package/dist/models/attest-response.js +1 -0
- package/dist/models/authorization-server-metadata.d.ts +0 -6
- package/dist/models/authorize-mcp-request.d.ts +1 -1
- 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 +7 -7
- package/dist/models/patch-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/models/patch-admin-clients-update-branding-response.js +15 -0
- package/dist/models/protected-resource-metadata.d.ts +1 -1
- package/dist/models/put-admin-clients-update-branding-request.d.ts +34 -0
- package/dist/models/put-admin-clients-update-branding-request.js +15 -0
- package/dist/models/put-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/models/put-admin-clients-update-branding-response.js +15 -0
- 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/AdminClientsGetBrandingResponse.md +20 -0
- package/docs/AdminClientsGetBrandingResponseData.md +22 -0
- package/docs/AdminEmailApi.md +15 -2
- package/docs/AdminMcpApi.md +1 -1
- package/docs/AdminOAuthClientsApi.md +174 -0
- package/docs/AgentsApi.md +4 -3
- package/docs/AuthorizationServerMetadata.md +0 -2
- package/docs/AuthorizeMcpRequest.md +1 -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/OAuthApi.md +0 -105
- package/docs/OpenIdConfiguration.md +3 -3
- package/docs/PatchAdminClientsUpdateBrandingResponse.md +22 -0
- package/docs/ProtectedResourceMetadata.md +1 -1
- package/docs/PutAdminClientsUpdateBrandingRequest.md +22 -0
- package/docs/PutAdminClientsUpdateBrandingResponse.md +22 -0
- package/docs/SingleServerMetadata.md +1 -1
- package/docs/WellKnownApi.md +2 -2
- 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-get-branding-response-data.ts +36 -0
- package/models/admin-clients-get-branding-response.ts +33 -0
- package/models/attest-response.ts +2 -1
- package/models/authorization-server-metadata.ts +0 -6
- package/models/authorize-mcp-request.ts +1 -1
- 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 +7 -7
- package/models/patch-admin-clients-update-branding-response.ts +36 -0
- package/models/protected-resource-metadata.ts +1 -1
- package/models/put-admin-clients-update-branding-request.ts +36 -0
- package/models/put-admin-clients-update-branding-response.ts +36 -0
- package/models/single-server-metadata.ts +1 -1
- package/package.json +1 -1
package/docs/McpServer.md
CHANGED
|
@@ -12,11 +12,14 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**resource_uri** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**endpoint_url** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**transport** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**transport_deprecated** | **boolean** | True for http_sse, deprecated in MCP 2026-07-28; migrate to http_streamable. | [optional] [default to undefined]
|
|
15
16
|
**auth_mode** | **string** | | [optional] [default to undefined]
|
|
16
17
|
**status** | **string** | | [optional] [default to undefined]
|
|
17
18
|
**scopes_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
18
19
|
**scope_descriptions** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
20
|
+
**basic_scopes** | **Array<string>** | Subset of scopes_supported advertised in the 401 challenge and in protected resource metadata. Empty = the whole vocabulary. | [optional] [default to undefined]
|
|
19
21
|
**allowed_client_ids** | **Array<string>** | | [optional] [default to undefined]
|
|
22
|
+
**tool_authorizer_client_ids** | **Array<string>** | The MCP server\'s own OAuth clients allowed to call the per-tool authorization endpoint. | [optional] [default to undefined]
|
|
20
23
|
**require_pkce** | **boolean** | | [optional] [default to undefined]
|
|
21
24
|
**require_resource_param** | **boolean** | | [optional] [default to undefined]
|
|
22
25
|
**require_dpop** | **boolean** | | [optional] [default to undefined]
|
|
@@ -38,11 +41,14 @@ const instance: McpServer = {
|
|
|
38
41
|
resource_uri,
|
|
39
42
|
endpoint_url,
|
|
40
43
|
transport,
|
|
44
|
+
transport_deprecated,
|
|
41
45
|
auth_mode,
|
|
42
46
|
status,
|
|
43
47
|
scopes_supported,
|
|
44
48
|
scope_descriptions,
|
|
49
|
+
basic_scopes,
|
|
45
50
|
allowed_client_ids,
|
|
51
|
+
tool_authorizer_client_ids,
|
|
46
52
|
require_pkce,
|
|
47
53
|
require_resource_param,
|
|
48
54
|
require_dpop,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# McpServerToolAuthorizeRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**subject** | [**McpServerToolAuthorizeRequestSubject**](McpServerToolAuthorizeRequestSubject.md) | | [default to undefined]
|
|
9
|
+
**tool** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { McpServerToolAuthorizeRequest } from '@lumoauth/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: McpServerToolAuthorizeRequest = {
|
|
17
|
+
subject,
|
|
18
|
+
tool,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# McpServerToolAuthorizeRequestSubject
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**id** | **string** | User UUID, or agent id (agt_…). For an MCP token, the user id is `sub`; for an agent token `sub` is `agent_<id>`. | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { McpServerToolAuthorizeRequestSubject } from '@lumoauth/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: McpServerToolAuthorizeRequestSubject = {
|
|
17
|
+
type,
|
|
18
|
+
id,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# McpServerToolAuthorizeResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**allowed** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**subject** | **object** | | [optional] [default to undefined]
|
|
10
|
+
**resource** | **object** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { McpServerToolAuthorizeResponse } from '@lumoauth/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: McpServerToolAuthorizeResponse = {
|
|
18
|
+
allowed,
|
|
19
|
+
subject,
|
|
20
|
+
resource,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/OAuthApi.md
CHANGED
|
@@ -12,7 +12,6 @@ All URIs are relative to *https://app.lumoauth.dev*
|
|
|
12
12
|
|[**getOrgSelection**](#getorgselection) | **GET** /orgs/{orgId}/api/v1/oauth/org-select | Organization selector page|
|
|
13
13
|
|[**introspect**](#introspect) | **POST** /orgs/{orgId}/api/v1/oauth/introspect | Token introspection (RFC 7662)|
|
|
14
14
|
|[**par**](#par) | **POST** /orgs/{orgId}/api/v1/oauth/par | Pushed authorization request (RFC 9126)|
|
|
15
|
-
|[**passkeyLogin**](#passkeylogin) | **GET** /orgs/{orgId}/api/v1/oauth/passkey-login | Passkey login entry point|
|
|
16
15
|
|[**registerClient**](#registerclient) | **POST** /orgs/{orgId}/api/v1/connect/register | Dynamic client registration (RFC 7591 / OIDC DCR)|
|
|
17
16
|
|[**revoke**](#revoke) | **POST** /orgs/{orgId}/api/v1/oauth/revoke | Token revocation (RFC 7009)|
|
|
18
17
|
|[**socialCallback**](#socialcallback) | **GET** /orgs/{orgId}/api/v1/oauth/social/{provider}/callback | Social / enterprise identity-provider callback|
|
|
@@ -20,7 +19,6 @@ All URIs are relative to *https://app.lumoauth.dev*
|
|
|
20
19
|
|[**socialLogin**](#sociallogin) | **GET** /orgs/{orgId}/api/v1/oauth/social/{provider} | Start social / enterprise identity-provider login|
|
|
21
20
|
|[**submitAuthorization**](#submitauthorization) | **POST** /orgs/{orgId}/api/v1/oauth/authorize | OAuth 2.1 / OIDC authorization endpoint (form submission)|
|
|
22
21
|
|[**submitDeviceVerification**](#submitdeviceverification) | **POST** /orgs/{orgId}/api/v1/oauth/device | Submit device verification|
|
|
23
|
-
|[**submitLogin**](#submitlogin) | **POST** /orgs/{orgId}/api/v1/oauth/login/submit | Hosted login form submission|
|
|
24
22
|
|[**submitLoginJson**](#submitloginjson) | **POST** /orgs/{orgId}/api/v1/oauth/login/json | Programmatic (JSON) login for the authorization flow|
|
|
25
23
|
|[**submitOrgSelection**](#submitorgselection) | **POST** /orgs/{orgId}/api/v1/oauth/org-select | Submit organization selection|
|
|
26
24
|
|[**token**](#token) | **POST** /orgs/{orgId}/api/v1/oauth/token | OAuth 2.1 token endpoint|
|
|
@@ -458,57 +456,6 @@ const { status, data } = await apiInstance.par(
|
|
|
458
456
|
|
|
459
457
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
460
458
|
|
|
461
|
-
# **passkeyLogin**
|
|
462
|
-
> passkeyLogin()
|
|
463
|
-
|
|
464
|
-
Placeholder: flashes an informational message and redirects to the hosted login page. Not a JSON API.
|
|
465
|
-
|
|
466
|
-
### Example
|
|
467
|
-
|
|
468
|
-
```typescript
|
|
469
|
-
import {
|
|
470
|
-
OAuthApi,
|
|
471
|
-
Configuration
|
|
472
|
-
} from '@lumoauth/api-client';
|
|
473
|
-
|
|
474
|
-
const configuration = new Configuration();
|
|
475
|
-
const apiInstance = new OAuthApi(configuration);
|
|
476
|
-
|
|
477
|
-
let orgId: string; // (default to undefined)
|
|
478
|
-
|
|
479
|
-
const { status, data } = await apiInstance.passkeyLogin(
|
|
480
|
-
orgId
|
|
481
|
-
);
|
|
482
|
-
```
|
|
483
|
-
|
|
484
|
-
### Parameters
|
|
485
|
-
|
|
486
|
-
|Name | Type | Description | Notes|
|
|
487
|
-
|------------- | ------------- | ------------- | -------------|
|
|
488
|
-
| **orgId** | [**string**] | | defaults to undefined|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
### Return type
|
|
492
|
-
|
|
493
|
-
void (empty response body)
|
|
494
|
-
|
|
495
|
-
### Authorization
|
|
496
|
-
|
|
497
|
-
No authorization required
|
|
498
|
-
|
|
499
|
-
### HTTP request headers
|
|
500
|
-
|
|
501
|
-
- **Content-Type**: Not defined
|
|
502
|
-
- **Accept**: Not defined
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
### HTTP response details
|
|
506
|
-
| Status code | Description | Response headers |
|
|
507
|
-
|-------------|-------------|------------------|
|
|
508
|
-
|**302** | Redirect to the hosted login page. | * Location - <br> |
|
|
509
|
-
|
|
510
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
511
|
-
|
|
512
459
|
# **registerClient**
|
|
513
460
|
> RegisterClientResponse registerClient()
|
|
514
461
|
|
|
@@ -888,58 +835,6 @@ No authorization required
|
|
|
888
835
|
|
|
889
836
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
890
837
|
|
|
891
|
-
# **submitLogin**
|
|
892
|
-
> submitLogin()
|
|
893
|
-
|
|
894
|
-
Receives the hosted OAuth login page\'s form (email, password, csrf token and the authorization request parameters). Every outcome — success, invalid credentials, locked account, captcha or CSRF failure — answers with the same redirect back to /oauth/authorize, which re-renders the login page or continues the flow. Not a JSON API.
|
|
895
|
-
|
|
896
|
-
### Example
|
|
897
|
-
|
|
898
|
-
```typescript
|
|
899
|
-
import {
|
|
900
|
-
OAuthApi,
|
|
901
|
-
Configuration
|
|
902
|
-
} from '@lumoauth/api-client';
|
|
903
|
-
|
|
904
|
-
const configuration = new Configuration();
|
|
905
|
-
const apiInstance = new OAuthApi(configuration);
|
|
906
|
-
|
|
907
|
-
let orgId: string; // (default to undefined)
|
|
908
|
-
|
|
909
|
-
const { status, data } = await apiInstance.submitLogin(
|
|
910
|
-
orgId
|
|
911
|
-
);
|
|
912
|
-
```
|
|
913
|
-
|
|
914
|
-
### Parameters
|
|
915
|
-
|
|
916
|
-
|Name | Type | Description | Notes|
|
|
917
|
-
|------------- | ------------- | ------------- | -------------|
|
|
918
|
-
| **orgId** | [**string**] | | defaults to undefined|
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
### Return type
|
|
922
|
-
|
|
923
|
-
void (empty response body)
|
|
924
|
-
|
|
925
|
-
### Authorization
|
|
926
|
-
|
|
927
|
-
No authorization required
|
|
928
|
-
|
|
929
|
-
### HTTP request headers
|
|
930
|
-
|
|
931
|
-
- **Content-Type**: Not defined
|
|
932
|
-
- **Accept**: Not defined
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
### HTTP response details
|
|
936
|
-
| Status code | Description | Response headers |
|
|
937
|
-
|-------------|-------------|------------------|
|
|
938
|
-
|**302** | Redirect to /oauth/authorize with the original client_id, redirect_uri, state, scope, PKCE and nonce parameters. | * Location - <br> |
|
|
939
|
-
|**404** | Unknown or inactive organization. | - |
|
|
940
|
-
|
|
941
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
942
|
-
|
|
943
838
|
# **submitLoginJson**
|
|
944
839
|
> SubmitLoginJsonResponse submitLoginJson()
|
|
945
840
|
|
|
@@ -30,13 +30,13 @@ Name | Type | Description | Notes
|
|
|
30
30
|
**require_signed_request_object** | **boolean** | | [optional] [default to undefined]
|
|
31
31
|
**request_object_signing_alg_values_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
32
32
|
**ui_locales_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
33
|
-
**
|
|
33
|
+
**prompt_values_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
34
|
+
**acr_values_supported** | **Array<string>** | The four MFA tier ACR values plus the single-factor urn:lumoauth:acr:pwd (any signed-in session), unless overridden in organization settings. | [optional] [default to undefined]
|
|
34
35
|
**code_challenge_methods_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
35
36
|
**authorization_response_iss_parameter_supported** | **boolean** | | [optional] [default to undefined]
|
|
36
37
|
**pushed_authorization_request_endpoint** | **string** | | [optional] [default to undefined]
|
|
37
38
|
**require_pushed_authorization_requests** | **boolean** | | [optional] [default to undefined]
|
|
38
39
|
**dpop_signing_alg_values_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
39
|
-
**tls_client_certificate_bound_access_tokens** | **boolean** | | [optional] [default to undefined]
|
|
40
40
|
**introspection_endpoint** | **string** | | [optional] [default to undefined]
|
|
41
41
|
**introspection_endpoint_auth_methods_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
42
42
|
**revocation_endpoint** | **string** | | [optional] [default to undefined]
|
|
@@ -89,13 +89,13 @@ const instance: OpenIdConfiguration = {
|
|
|
89
89
|
require_signed_request_object,
|
|
90
90
|
request_object_signing_alg_values_supported,
|
|
91
91
|
ui_locales_supported,
|
|
92
|
+
prompt_values_supported,
|
|
92
93
|
acr_values_supported,
|
|
93
94
|
code_challenge_methods_supported,
|
|
94
95
|
authorization_response_iss_parameter_supported,
|
|
95
96
|
pushed_authorization_request_endpoint,
|
|
96
97
|
require_pushed_authorization_requests,
|
|
97
98
|
dpop_signing_alg_values_supported,
|
|
98
|
-
tls_client_certificate_bound_access_tokens,
|
|
99
99
|
introspection_endpoint,
|
|
100
100
|
introspection_endpoint_auth_methods_supported,
|
|
101
101
|
revocation_endpoint,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PatchAdminClientsUpdateBrandingResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
9
|
+
**rejected** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PatchAdminClientsUpdateBrandingResponse } from '@lumoauth/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PatchAdminClientsUpdateBrandingResponse = {
|
|
17
|
+
data,
|
|
18
|
+
rejected,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**resource** | **string** | The MCP server\'s resource identifier. | [default to undefined]
|
|
9
|
-
**authorization_servers** | **Array<string>** |
|
|
9
|
+
**authorization_servers** | **Array<string>** | The organization\'s issuer identifier (RFC 8414), the same value as `issuer` in its discovery documents. Clients read the authorization server metadata from {issuer}/.well-known/openid-configuration. | [default to undefined]
|
|
10
10
|
**bearer_methods_supported** | **Array<string>** | | [default to undefined]
|
|
11
11
|
**scopes_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
12
12
|
**dpop_bound_access_tokens_required** | **boolean** | Present (true) only when the server accepts DPoP-bound tokens exclusively. | [optional] [default to undefined]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PutAdminClientsUpdateBrandingRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**login** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
9
|
+
**consent** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PutAdminClientsUpdateBrandingRequest } from '@lumoauth/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PutAdminClientsUpdateBrandingRequest = {
|
|
17
|
+
login,
|
|
18
|
+
consent,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PutAdminClientsUpdateBrandingResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
9
|
+
**rejected** | **Array<string>** | Keys whose value was refused by validation and not saved | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PutAdminClientsUpdateBrandingResponse } from '@lumoauth/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PutAdminClientsUpdateBrandingResponse = {
|
|
17
|
+
data,
|
|
18
|
+
rejected,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**resource** | **string** | | [default to undefined]
|
|
9
|
-
**authorization_servers** | **Array<string>** |
|
|
9
|
+
**authorization_servers** | **Array<string>** | The organization\'s issuer identifier (RFC 8414). | [default to undefined]
|
|
10
10
|
**bearer_methods_supported** | **Array<string>** | | [default to undefined]
|
|
11
11
|
**scopes_supported** | **Array<string>** | | [optional] [default to undefined]
|
|
12
12
|
**dpop_bound_access_tokens_required** | **boolean** | | [optional] [default to undefined]
|
package/docs/WellKnownApi.md
CHANGED
|
@@ -12,7 +12,7 @@ All URIs are relative to *https://app.lumoauth.dev*
|
|
|
12
12
|
# **getAuthorizationServerMetadata**
|
|
13
13
|
> AuthorizationServerMetadata getAuthorizationServerMetadata()
|
|
14
14
|
|
|
15
|
-
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.
|
|
15
|
+
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.
|
|
16
16
|
|
|
17
17
|
### Example
|
|
18
18
|
|
|
@@ -116,7 +116,7 @@ No authorization required
|
|
|
116
116
|
# **getOpenidConfiguration**
|
|
117
117
|
> OpenIdConfiguration getOpenidConfiguration()
|
|
118
118
|
|
|
119
|
-
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.
|
|
119
|
+
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.
|
|
120
120
|
|
|
121
121
|
### Example
|
|
122
122
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface AdminAgentsGenerateTokenRequest {
|
|
23
23
|
/**
|
|
24
|
-
* Token lifetime in seconds. Default 3600, at most
|
|
24
|
+
* 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.
|
|
25
25
|
* @type {number}
|
|
26
26
|
* @memberof AdminAgentsGenerateTokenRequest
|
|
27
27
|
*/
|
|
@@ -32,5 +32,11 @@ export interface AdminAgentsGenerateTokenRequest {
|
|
|
32
32
|
* @memberof AdminAgentsGenerateTokenRequest
|
|
33
33
|
*/
|
|
34
34
|
'scopes'?: Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
* 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.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AdminAgentsGenerateTokenRequest
|
|
39
|
+
*/
|
|
40
|
+
'resource'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -38,11 +38,23 @@ export interface AdminAgentsGenerateTokenResponseData {
|
|
|
38
38
|
* @memberof AdminAgentsGenerateTokenResponseData
|
|
39
39
|
*/
|
|
40
40
|
'expiresIn'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* The token id. Written to the agent.token_issued audit event; the kill switch and a capability reduction deny-list it.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof AdminAgentsGenerateTokenResponseData
|
|
45
|
+
*/
|
|
46
|
+
'jti'?: string;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {Array<string>}
|
|
44
50
|
* @memberof AdminAgentsGenerateTokenResponseData
|
|
45
51
|
*/
|
|
46
52
|
'scopes'?: Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The MCP server the token is bound to, when `resource` was sent.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof AdminAgentsGenerateTokenResponseData
|
|
57
|
+
*/
|
|
58
|
+
'resource'?: string | null;
|
|
47
59
|
}
|
|
48
60
|
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AdminClientsGetBrandingResponseData
|
|
21
|
+
*/
|
|
22
|
+
export interface AdminClientsGetBrandingResponseData {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {{ [key: string]: any; }}
|
|
26
|
+
* @memberof AdminClientsGetBrandingResponseData
|
|
27
|
+
*/
|
|
28
|
+
'login'?: { [key: string]: any; };
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: any; }}
|
|
32
|
+
* @memberof AdminClientsGetBrandingResponseData
|
|
33
|
+
*/
|
|
34
|
+
'consent'?: { [key: string]: any; };
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { AdminClientsGetBrandingResponseData } from './admin-clients-get-branding-response-data';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AdminClientsGetBrandingResponse
|
|
24
|
+
*/
|
|
25
|
+
export interface AdminClientsGetBrandingResponse {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AdminClientsGetBrandingResponseData}
|
|
29
|
+
* @memberof AdminClientsGetBrandingResponse
|
|
30
|
+
*/
|
|
31
|
+
'data'?: AdminClientsGetBrandingResponseData;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -194,12 +194,6 @@ export interface AuthorizationServerMetadata {
|
|
|
194
194
|
* @memberof AuthorizationServerMetadata
|
|
195
195
|
*/
|
|
196
196
|
'dpop_signing_alg_values_supported'?: Array<string>;
|
|
197
|
-
/**
|
|
198
|
-
*
|
|
199
|
-
* @type {boolean}
|
|
200
|
-
* @memberof AuthorizationServerMetadata
|
|
201
|
-
*/
|
|
202
|
-
'tls_client_certificate_bound_access_tokens'?: boolean;
|
|
203
197
|
/**
|
|
204
198
|
*
|
|
205
199
|
* @type {string}
|
|
@@ -33,7 +33,7 @@ export interface GetProtectedResourceMetadataRootResponse1ResourcesItem {
|
|
|
33
33
|
*/
|
|
34
34
|
'resource_metadata_url': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The organization\'s issuer identifier (RFC 8414).
|
|
37
37
|
* @type {Array<string>}
|
|
38
38
|
* @memberof GetProtectedResourceMetadataRootResponse1ResourcesItem
|
|
39
39
|
*/
|
package/models/index.ts
CHANGED
|
@@ -56,6 +56,8 @@ export * from './admin-audit-logs-stats-response-data-period';
|
|
|
56
56
|
export * from './admin-client-tokens-revoke-all-response';
|
|
57
57
|
export * from './admin-clients-cimd-check-request';
|
|
58
58
|
export * from './admin-clients-cimd-check-response';
|
|
59
|
+
export * from './admin-clients-get-branding-response';
|
|
60
|
+
export * from './admin-clients-get-branding-response-data';
|
|
59
61
|
export * from './admin-email-templates-list-response';
|
|
60
62
|
export * from './admin-email-templates-preview-response';
|
|
61
63
|
export * from './admin-email-templates-variables-response';
|
|
@@ -288,6 +290,9 @@ export * from './mark-user-verified-response';
|
|
|
288
290
|
export * from './mcp-server';
|
|
289
291
|
export * from './mcp-server-posture';
|
|
290
292
|
export * from './mcp-server-posture-checks-inner';
|
|
293
|
+
export * from './mcp-server-tool-authorize-request';
|
|
294
|
+
export * from './mcp-server-tool-authorize-request-subject';
|
|
295
|
+
export * from './mcp-server-tool-authorize-response';
|
|
291
296
|
export * from './message-response';
|
|
292
297
|
export * from './mfa-authenticator';
|
|
293
298
|
export * from './mfa-authenticator-last-used-context';
|
|
@@ -310,6 +315,7 @@ export * from './organization-role';
|
|
|
310
315
|
export * from './pagination-meta';
|
|
311
316
|
export * from './par-response';
|
|
312
317
|
export * from './passkey-enrollment-started';
|
|
318
|
+
export * from './patch-admin-clients-update-branding-response';
|
|
313
319
|
export * from './permission';
|
|
314
320
|
export * from './protected-resource-list';
|
|
315
321
|
export * from './protected-resource-metadata';
|
|
@@ -318,6 +324,8 @@ export * from './put-abac-attributes-update-response';
|
|
|
318
324
|
export * from './put-abac-policies-update-response';
|
|
319
325
|
export * from './put-admin-agents-update-request';
|
|
320
326
|
export * from './put-admin-agents-update-response';
|
|
327
|
+
export * from './put-admin-clients-update-branding-request';
|
|
328
|
+
export * from './put-admin-clients-update-branding-response';
|
|
321
329
|
export * from './put-admin-org-members-update-response';
|
|
322
330
|
export * from './put-admin-settings-authentication-update-response';
|
|
323
331
|
export * from './put-admin-settings-branding-update-response';
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface McpServerToolAuthorizeRequestSubject
|
|
21
|
+
*/
|
|
22
|
+
export interface McpServerToolAuthorizeRequestSubject {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
27
|
+
*/
|
|
28
|
+
'type': McpServerToolAuthorizeRequestSubjectType;
|
|
29
|
+
/**
|
|
30
|
+
* User UUID, or agent id (agt_…). For an MCP token, the user id is `sub`; for an agent token `sub` is `agent_<id>`.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof McpServerToolAuthorizeRequestSubject
|
|
33
|
+
*/
|
|
34
|
+
'id': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export enum McpServerToolAuthorizeRequestSubjectType {
|
|
42
|
+
USER = 'user',
|
|
43
|
+
AGENT = 'agent'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { McpServerToolAuthorizeRequestSubject } from './mcp-server-tool-authorize-request-subject';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface McpServerToolAuthorizeRequest
|
|
24
|
+
*/
|
|
25
|
+
export interface McpServerToolAuthorizeRequest {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {McpServerToolAuthorizeRequestSubject}
|
|
29
|
+
* @memberof McpServerToolAuthorizeRequest
|
|
30
|
+
*/
|
|
31
|
+
'subject': McpServerToolAuthorizeRequestSubject;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof McpServerToolAuthorizeRequest
|
|
36
|
+
*/
|
|
37
|
+
'tool': string;
|
|
38
|
+
}
|
|
39
|
+
|