@mcp-abap-adt/interfaces-adt 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/CHANGELOG.md +71 -1
- package/README.md +3 -3
- package/dist/adt/IAdtTransport.d.ts +90 -1
- package/dist/adt/IAdtTransport.d.ts.map +1 -1
- package/dist/auth/AssertionErrorCodes.d.ts +15 -0
- package/dist/auth/AssertionErrorCodes.d.ts.map +1 -0
- package/dist/auth/AssertionErrorCodes.js +16 -0
- package/dist/auth/IAssertionValidator.d.ts +100 -0
- package/dist/auth/IAssertionValidator.d.ts.map +1 -0
- package/dist/auth/IAssertionValidator.js +10 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,77 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [1.2.0] - 2026-09-21
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`IAbapObjectEntry` — one entry in a transport request's object list**, as
|
|
13
|
+
the CTS object directory holds it: `pgmid`, `type`, `name`, and optionally
|
|
14
|
+
the description and the position within a task.
|
|
15
|
+
|
|
16
|
+
**Not `IObjectReference`, though they look alike.** That one is ADT's
|
|
17
|
+
vocabulary — its `type` is an ADT object type code such as `CLAS/OC`, and it
|
|
18
|
+
carries a `uri` and a `parentName`. The object directory speaks another: a
|
|
19
|
+
program id, a short type and a name, `R3TR FUGR ZMCP_BLD_FGR_H1`. Merging
|
|
20
|
+
them would produce a type where half the fields are always wrong and `type`
|
|
21
|
+
means one thing or the other depending on which member was called.
|
|
22
|
+
|
|
23
|
+
A request parameter, which is why it is here — the same reason
|
|
24
|
+
`IObjectReference` survived 31.0.0 while the result shapes left: a consumer
|
|
25
|
+
cannot call a member that takes one without being able to name the type.
|
|
26
|
+
|
|
27
|
+
- **`IAdtTransportObjectActions<TRemoved, TAdded, TTask, TActionLog>`** —
|
|
28
|
+
`removeObject`, `addObject`, `createTask` and `readActionLog`.
|
|
29
|
+
|
|
30
|
+
A transport listing already answers every `atom:link` a request and its
|
|
31
|
+
tasks carry — `release`, `addobject`, `changeowner`, `newtask` — so that a
|
|
32
|
+
caller follows an href rather than assembling a URL. Handing over the
|
|
33
|
+
addresses of operations while declaring nothing that performs one leaves the
|
|
34
|
+
caller building `tm:root` documents by hand, which is the layering this
|
|
35
|
+
package exists to prevent.
|
|
36
|
+
|
|
37
|
+
What it costs to lack them, measured on an on-premise system: deleting an
|
|
38
|
+
ABAP object does not free its name, because the object-directory entry stays
|
|
39
|
+
on the request that carried it. Until it is detached a create of the same
|
|
40
|
+
name is refused with `CTS_WBO_API 019` — even passing that same request as
|
|
41
|
+
`corrNr` — and the ways out are releasing the whole request, shipping
|
|
42
|
+
everything else in it, or SE09. Reported as fr0ster/mcp-abap-adt#221,
|
|
43
|
+
implemented in fr0ster/mcp-abap-adt-clients#151.
|
|
44
|
+
|
|
45
|
+
Four members and no composite: the order a caller uses them in, and what
|
|
46
|
+
they do when `addObject` is refused, is theirs.
|
|
47
|
+
|
|
48
|
+
## [1.1.0] - 2026-09-19
|
|
49
|
+
|
|
50
|
+
### Added
|
|
51
|
+
|
|
52
|
+
- **`IAssertionValidator`** — establishes that a SAML assertion is genuine,
|
|
53
|
+
addressed to the caller, currently valid, and answers a request that was
|
|
54
|
+
actually made, rejecting by throwing with a reason naming the check that
|
|
55
|
+
failed. Validation is a strategy, like everything else pluggable here: a
|
|
56
|
+
consumer with a trust model this package cannot anticipate can replace it
|
|
57
|
+
wholesale, while the shipped default (arriving in a later `auth-providers`
|
|
58
|
+
release) verifies the signature and refuses anything it cannot place.
|
|
59
|
+
- **`AssertionContext`** — what a provider knows about the login an assertion
|
|
60
|
+
is answering: the expected `InResponseTo`, the audience, the ACS URL, and an
|
|
61
|
+
optional trusted issuer for a validator that establishes trust some other way.
|
|
62
|
+
- **`ValidatedAssertion`** — what a validated assertion yields: an expiry that
|
|
63
|
+
is never later than either the assertion's own `Conditions` or the bearer
|
|
64
|
+
confirmation that was accepted, identity fields, and both the raw wire
|
|
65
|
+
response and the signed XML that verified — kept distinct because holding the
|
|
66
|
+
former does not make every byte of it trustworthy.
|
|
67
|
+
- **`IAssertionReplayStore`** and **`AssertionReplayKey`** — remembers
|
|
68
|
+
assertions so a replay is refused, keyed by issuer and assertion ID together,
|
|
69
|
+
since an assertion ID is unique only within the identity provider that minted
|
|
70
|
+
it.
|
|
71
|
+
- **`ASSERTION_ERROR_CODES`** and **`AssertionErrorCode`** — the codes an
|
|
72
|
+
assertion validator refuses with, starting with `ASSERTION_VALIDATION_ERROR`.
|
|
73
|
+
They are their own set rather than additions to `TOKEN_PROVIDER_ERROR_CODES`:
|
|
74
|
+
that set describes what can go wrong with ANY token provider, and SAML is one
|
|
75
|
+
authentication mechanism among several, so it must not widen a contract every
|
|
76
|
+
provider shares. A mechanism brings its own codes, as the store and network
|
|
77
|
+
layers already do. Existing declarations are therefore untouched, and
|
|
78
|
+
`tools/baseline-44.0.0.json` needs no regeneration.
|
|
9
79
|
|
|
10
80
|
## [1.0.0] - 2026-09-16
|
|
11
81
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ ADT contracts, the ABAP and Cloud ALM connections, and SAP/BTP configuration and
|
|
|
4
4
|
|
|
5
5
|
## TL;DR
|
|
6
6
|
|
|
7
|
-
- Everything a package on the SAP side accepts: ADT object operations, runtime analysis, execution, feeds, services, the ABAP and Cloud ALM connections, SAP/BTP configuration, token providers, session and service-key stores, header validation, and the SAP/BTP header names.
|
|
7
|
+
- Everything a package on the SAP side accepts: ADT object operations, runtime analysis, execution, feeds, services, the ABAP and Cloud ALM connections, SAP/BTP configuration, token providers, SAML assertion validation, session and service-key stores, header validation, and the SAP/BTP header names.
|
|
8
8
|
- Depends on `@mcp-abap-adt/interfaces-auth` and `@mcp-abap-adt/interfaces-utils` only. Types and constants; no implementation.
|
|
9
9
|
- Moved unchanged from `@mcp-abap-adt/interfaces` 44.0.0. Most majors of that package came from these contracts; this package now carries them alone.
|
|
10
10
|
|
|
@@ -20,11 +20,11 @@ npm install @mcp-abap-adt/interfaces-adt
|
|
|
20
20
|
|---|---|
|
|
21
21
|
| `adt/`, `runtime/`, `execution/`, `feeds/`, `service/`, `shared/` | the ADT contracts: capability atoms, object types, `IAdtResponse`, runtime analysis, execution |
|
|
22
22
|
| `connection/` | `IAbapConnection`, `IAbapRequestOptions`, the connection capability atoms, `ICalmConnection`, `CalmService` |
|
|
23
|
-
| `sap/`, `auth/` | `ISapConfig`, `IConnectionConfig`, `IAuthorizationConfig`, `IConfig`, `IAuthorizationStrategy`, the callback-server contracts, `ICertificateMaterialLoader`, `AuthTypeEnum` |
|
|
23
|
+
| `sap/`, `auth/` | `ISapConfig`, `IConnectionConfig`, `IAuthorizationConfig`, `IConfig`, `IAuthorizationStrategy`, the callback-server contracts, `ICertificateMaterialLoader`, `AuthTypeEnum`; `IAssertionValidator` with `AssertionContext`, `ValidatedAssertion`, `IAssertionReplayStore` and `ASSERTION_ERROR_CODES` |
|
|
24
24
|
| `token/`, `session/`, `serviceKey/`, `store/` | token providers and refreshers, stores and their error codes |
|
|
25
25
|
| `validation/`, `Headers.ts` | header validation; `HEADER_SAP_*`, `HEADER_UAA_*`, `HEADER_BTP_DESTINATION`, `HEADER_MCP_DESTINATION`, `HEADER_MCP_URL`, `AUTH_TYPES`, `AuthType` |
|
|
26
26
|
|
|
27
|
-
The contract rules — what a member answers, how a strategy is supplied, how a contract is built — are in [`docs/architecture/ARCHITECTURE.md`](../../docs/architecture/ARCHITECTURE.md). Domain-by-domain documentation with examples stays in the [`@mcp-abap-adt/interfaces` README](../interfaces/README.md); the contracts it describes are these.
|
|
27
|
+
The contract rules — what a member answers, how a strategy is supplied, how a contract is built — are in [`docs/architecture/ARCHITECTURE.md`](../../docs/architecture/ARCHITECTURE.md). Domain-by-domain documentation with examples stays in the [`@mcp-abap-adt/interfaces` README](../interfaces/README.md); the contracts it describes are these. Contracts added after the split are documented here only — the facade is frozen at its 44.0.0 surface and does not export them.
|
|
28
28
|
|
|
29
29
|
## Coming from `@mcp-abap-adt/interfaces`
|
|
30
30
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Transport ADT operation parameter interfaces (snake_case, low-level)
|
|
3
3
|
*/
|
|
4
|
-
import type {
|
|
4
|
+
import type { IAdtOperationOptions } from './IAdtObject';
|
|
5
|
+
import type { IAdtError, IAdtResponse } from './IAdtResponse';
|
|
5
6
|
export interface ICreateTransportParams {
|
|
6
7
|
transport_type?: string;
|
|
7
8
|
description: string;
|
|
@@ -101,4 +102,92 @@ export interface IAdtRequest<TList> {
|
|
|
101
102
|
*/
|
|
102
103
|
list(options?: IListTransportsOptions): Promise<IAdtResponse<TList>>;
|
|
103
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* One entry in a transport request's object list, as the CTS object directory
|
|
107
|
+
* holds it.
|
|
108
|
+
*
|
|
109
|
+
* **Not {@link IObjectReference}, though they look alike.** That one is ADT's
|
|
110
|
+
* vocabulary — its `type` is an ADT object type code such as `CLAS/OC`, and it
|
|
111
|
+
* carries a `uri` and a `parentName`. The object directory speaks a different
|
|
112
|
+
* one: a program id, a two-to-four letter type and a name, `R3TR FUGR
|
|
113
|
+
* ZMCP_BLD_FGR_H1`. Merging them would produce a type where half the fields
|
|
114
|
+
* are always wrong and `type` means one thing or another depending on which
|
|
115
|
+
* member was called.
|
|
116
|
+
*
|
|
117
|
+
* **A request parameter, which is why it belongs here** — the same reason
|
|
118
|
+
* `IObjectReference` survived 31.0.0 while the result shapes left: a consumer
|
|
119
|
+
* cannot call a member that takes one without being able to name the type.
|
|
120
|
+
*/
|
|
121
|
+
export interface IAbapObjectEntry {
|
|
122
|
+
/** `tm:name` — the object's name, e.g. `ZCL_MY_CLASS`. */
|
|
123
|
+
name: string;
|
|
124
|
+
/** `tm:type` — the object-directory type, e.g. `CLAS`, `FUGR`, `TABL`. */
|
|
125
|
+
type: string;
|
|
126
|
+
/**
|
|
127
|
+
* `tm:pgmid` — the program id, `R3TR` for a workbench object.
|
|
128
|
+
*
|
|
129
|
+
* Optional because an implementation may default it, not because the wire
|
|
130
|
+
* omits it.
|
|
131
|
+
*/
|
|
132
|
+
pgmid?: string;
|
|
133
|
+
/** `tm:obj_desc` — the description ADT shows beside the entry. */
|
|
134
|
+
description?: string;
|
|
135
|
+
/** `tm:position` — the entry's position in the task, e.g. `000025`. */
|
|
136
|
+
position?: string;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* What can be done to a request's object list, and to its tasks.
|
|
140
|
+
*
|
|
141
|
+
* **Why these are contracts at all.** A transport listing already answers
|
|
142
|
+
* every `atom:link` a request and its tasks carry — `release`, `addobject`,
|
|
143
|
+
* `changeowner`, `newtask` — so that a caller follows an href rather than
|
|
144
|
+
* assembling a URL. Handing over the addresses of operations while declaring
|
|
145
|
+
* nothing that performs one leaves the caller building `tm:root` documents by
|
|
146
|
+
* hand, which is the layering this package exists to prevent.
|
|
147
|
+
*
|
|
148
|
+
* **What it costs to lack them.** Deleting an ABAP object does not free its
|
|
149
|
+
* name: the object-directory entry stays on the request that carried it, and
|
|
150
|
+
* until it is detached a create of the same name is refused with
|
|
151
|
+
* `CTS_WBO_API 019` — even passing that same request as `corrNr`. Without
|
|
152
|
+
* `removeObject` the ways out are releasing the whole request, shipping
|
|
153
|
+
* everything else in it, or SE09.
|
|
154
|
+
*
|
|
155
|
+
* Four members and no composite: the order a caller uses them in, and what
|
|
156
|
+
* they do when `addObject` is refused, is theirs.
|
|
157
|
+
*/
|
|
158
|
+
export interface IAdtTransportObjectActions<TRemoved, TAdded, TTask, TActionLog> {
|
|
159
|
+
/**
|
|
160
|
+
* Detach one object from a request or task.
|
|
161
|
+
*
|
|
162
|
+
* Addressed at the **task** that holds the object: a request's objects live
|
|
163
|
+
* on its tasks. The answer echoes the object it was asked about and says
|
|
164
|
+
* nothing else, so {@link IAdtTransportObjectActions.readActionLog} is what
|
|
165
|
+
* confirms the removal happened.
|
|
166
|
+
*/
|
|
167
|
+
removeObject<E extends IAdtError = IAdtError>(transportNumber: string, object: IAbapObjectEntry, options?: IAdtOperationOptions<E>): Promise<IAdtResponse<TRemoved, E>>;
|
|
168
|
+
/**
|
|
169
|
+
* Attach one object to a request or task.
|
|
170
|
+
*
|
|
171
|
+
* Refused when the object is already held by an unrelated task — a third
|
|
172
|
+
* lock flavour, distinct from the enqueue lock and from the
|
|
173
|
+
* request-versus-task one. That refusal is the server's verdict to read,
|
|
174
|
+
* not a state an implementation checks for first.
|
|
175
|
+
*/
|
|
176
|
+
addObject<E extends IAdtError = IAdtError>(transportNumber: string, object: IAbapObjectEntry, options?: IAdtOperationOptions<E>): Promise<IAdtResponse<TAdded, E>>;
|
|
177
|
+
/**
|
|
178
|
+
* Create a task under a request.
|
|
179
|
+
*
|
|
180
|
+
* The new task is itself a request resource: it reads, writes and releases
|
|
181
|
+
* like one, and {@link IAdtTransportObjectActions.removeObject} addresses it
|
|
182
|
+
* directly. With no `targetUser` the server decides whose task it is.
|
|
183
|
+
*/
|
|
184
|
+
createTask<E extends IAdtError = IAdtError>(transportNumber: string, options?: {
|
|
185
|
+
targetUser?: string;
|
|
186
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<TTask, E>>;
|
|
187
|
+
/**
|
|
188
|
+
* What has happened to this request: created, object added, object deleted,
|
|
189
|
+
* owner changed — one entry per event.
|
|
190
|
+
*/
|
|
191
|
+
readActionLog<E extends IAdtError = IAdtError>(transportNumber: string, options?: IAdtOperationOptions<E>): Promise<IAdtResponse<TActionLog, E>>;
|
|
192
|
+
}
|
|
104
193
|
//# sourceMappingURL=IAdtTransport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtTransport.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTransport.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"IAdtTransport.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTransport.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9D,MAAM,WAAW,sBAAsB;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,qBAAqB;IACpC,uFAAuF;IACvF,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,sFAAsF;AACtF,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,6BAA6B;IAC5C,4EAA4E;IAC5E,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAED,mFAAmF;AACnF,eAAO,MAAM,mCAAmC,yEACwB,CAAC;AAGzE,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,WAAW,GAAG,aAAa,CAAC;IAC5C,YAAY,CAAC,EAAE,MA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Ae,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAC1D,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAC3C,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAChC,OAAO,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error codes for assertion validation
|
|
3
|
+
* Used by an IAssertionValidator to say which check refused the assertion
|
|
4
|
+
*
|
|
5
|
+
* Deliberately separate from TOKEN_PROVIDER_ERROR_CODES: that set describes what
|
|
6
|
+
* can go wrong with ANY token provider, so a single authentication mechanism
|
|
7
|
+
* must not widen it. A mechanism brings its own codes, as stores and the
|
|
8
|
+
* network layer already do.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ASSERTION_ERROR_CODES: {
|
|
11
|
+
/** A SAML assertion failed validation and was refused */
|
|
12
|
+
readonly VALIDATION_ERROR: "ASSERTION_VALIDATION_ERROR";
|
|
13
|
+
};
|
|
14
|
+
export type AssertionErrorCode = (typeof ASSERTION_ERROR_CODES)[keyof typeof ASSERTION_ERROR_CODES];
|
|
15
|
+
//# sourceMappingURL=AssertionErrorCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssertionErrorCodes.d.ts","sourceRoot":"","sources":["../../src/auth/AssertionErrorCodes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,qBAAqB;IAChC,yDAAyD;;CAEjD,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Error codes for assertion validation
|
|
4
|
+
* Used by an IAssertionValidator to say which check refused the assertion
|
|
5
|
+
*
|
|
6
|
+
* Deliberately separate from TOKEN_PROVIDER_ERROR_CODES: that set describes what
|
|
7
|
+
* can go wrong with ANY token provider, so a single authentication mechanism
|
|
8
|
+
* must not widen it. A mechanism brings its own codes, as stores and the
|
|
9
|
+
* network layer already do.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ASSERTION_ERROR_CODES = void 0;
|
|
13
|
+
exports.ASSERTION_ERROR_CODES = {
|
|
14
|
+
/** A SAML assertion failed validation and was refused */
|
|
15
|
+
VALIDATION_ERROR: 'ASSERTION_VALIDATION_ERROR',
|
|
16
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Establishing that a SAML assertion may be trusted.
|
|
3
|
+
*
|
|
4
|
+
* Validation is a strategy for the same reason everything else here is: a
|
|
5
|
+
* consumer may have a trust model this package cannot anticipate. The shipped
|
|
6
|
+
* default verifies the signature and refuses anything it cannot place; a
|
|
7
|
+
* consumer replacing it takes on that duty entirely.
|
|
8
|
+
*/
|
|
9
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
10
|
+
/** What the provider knows about the login the assertion is answering. */
|
|
11
|
+
export interface AssertionContext {
|
|
12
|
+
/** The AuthnRequest ID this response must answer. */
|
|
13
|
+
readonly expectedInResponseTo: string;
|
|
14
|
+
/** Our entity ID, which the AudienceRestriction must name. */
|
|
15
|
+
readonly audience: string;
|
|
16
|
+
/** The ACS the response arrived at; Recipient and Destination must match. */
|
|
17
|
+
readonly acsUrl: string;
|
|
18
|
+
/**
|
|
19
|
+
* Trusted issuer; the assertion's `Issuer` must equal it.
|
|
20
|
+
*
|
|
21
|
+
* Optional on the interface because a custom validator may establish trust
|
|
22
|
+
* without it. The shipped default always receives it.
|
|
23
|
+
*/
|
|
24
|
+
readonly expectedIssuer?: string;
|
|
25
|
+
/** For progress messages. Absent means silence — never stdout. */
|
|
26
|
+
readonly logger?: ILogger;
|
|
27
|
+
}
|
|
28
|
+
/** What a validated assertion yields to the flow. */
|
|
29
|
+
export interface ValidatedAssertion {
|
|
30
|
+
/**
|
|
31
|
+
* The earlier of `Conditions/@NotOnOrAfter` and the `NotOnOrAfter` of the
|
|
32
|
+
* bearer confirmation that was accepted — never later than either, so a
|
|
33
|
+
* session cannot outlive a window the assertion itself closed.
|
|
34
|
+
*/
|
|
35
|
+
readonly expiresAt: Date;
|
|
36
|
+
readonly assertionId: string;
|
|
37
|
+
readonly issuer: string;
|
|
38
|
+
readonly nameId?: string;
|
|
39
|
+
readonly sessionIndex?: string;
|
|
40
|
+
readonly attributes?: Readonly<Record<string, readonly string[]>>;
|
|
41
|
+
/**
|
|
42
|
+
* The response exactly as it arrived, for a flow that must forward it
|
|
43
|
+
* verbatim.
|
|
44
|
+
*
|
|
45
|
+
* **The wire payload, not a validated artifact.** It is the whole
|
|
46
|
+
* `samlp:Response`, and under `createSignedAssertionValidator` that includes
|
|
47
|
+
* `Status`, `Response/Issuer` and `Destination`, which nothing read and
|
|
48
|
+
* nothing checked. Holding a `ValidatedAssertion` does not make every byte
|
|
49
|
+
* of `raw` trustworthy.
|
|
50
|
+
*/
|
|
51
|
+
readonly raw: string;
|
|
52
|
+
/**
|
|
53
|
+
* The signed element, serialised: the `Assertion`, or the `Response` when
|
|
54
|
+
* that is what the signature covered.
|
|
55
|
+
*
|
|
56
|
+
* Everything here is inside the signature that verified. A consumer wanting
|
|
57
|
+
* anything this interface does not surface should parse this rather than
|
|
58
|
+
* `raw` — the difference between them is the difference between "signed"
|
|
59
|
+
* and "arrived".
|
|
60
|
+
*/
|
|
61
|
+
readonly signedXml: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Establishes that an assertion is genuine, addressed to us, currently valid,
|
|
65
|
+
* and answers a request we made. Rejects by throwing, with a reason naming the
|
|
66
|
+
* check that failed.
|
|
67
|
+
*/
|
|
68
|
+
export interface IAssertionValidator {
|
|
69
|
+
validate(samlResponse: string, context: AssertionContext): Promise<ValidatedAssertion>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* What identifies an assertion for replay purposes.
|
|
73
|
+
*
|
|
74
|
+
* An assertion's `ID` is unique only within the identity provider that minted
|
|
75
|
+
* it, so a store shared by two providers would reject a perfectly good second
|
|
76
|
+
* login the moment two issuers happened to mint the same `_id`. The key is the
|
|
77
|
+
* pair, never the ID alone.
|
|
78
|
+
*/
|
|
79
|
+
export interface AssertionReplayKey {
|
|
80
|
+
readonly issuer: string;
|
|
81
|
+
readonly assertionId: string;
|
|
82
|
+
}
|
|
83
|
+
/** Remembers assertions so a replay is refused. */
|
|
84
|
+
export interface IAssertionReplayStore {
|
|
85
|
+
/**
|
|
86
|
+
* Records this key if it is not already recorded, and reports which
|
|
87
|
+
* happened: `true` when newly recorded, `false` when already present — a
|
|
88
|
+
* replay.
|
|
89
|
+
*
|
|
90
|
+
* **Must be atomic.** Two validations of the same assertion running at once
|
|
91
|
+
* must not both be told `true`; a check followed by a separate write is a
|
|
92
|
+
* race, and it is precisely the race a replay exploits.
|
|
93
|
+
*
|
|
94
|
+
* `retainUntil` is the last instant a validator would still accept the
|
|
95
|
+
* assertion — its expiry plus any clock skew allowed — not its expiry. An
|
|
96
|
+
* entry dropped earlier reopens the window in which a replay is accepted.
|
|
97
|
+
*/
|
|
98
|
+
recordIfUnseen(key: AssertionReplayKey, retainUntil: Date): Promise<boolean>;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=IAssertionValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAssertionValidator.d.ts","sourceRoot":"","sources":["../../src/auth/IAssertionValidator.ts"],"names":[],"mappings":"A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M,CAAC;CAC9B;AAED,mDAAmD;AACnD,MAAM,WAAW,qBAAqB;IACpC;;;;;;;;;;;;OAYG;IACH,cAAc,CAAC,GAAG,EAAE,kBAAkB,EAAE,WAAW,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Establishing that a SAML assertion may be trusted.
|
|
4
|
+
*
|
|
5
|
+
* Validation is a strategy for the same reason everything else here is: a
|
|
6
|
+
* consumer may have a trust model this package cannot anticipate. The shipped
|
|
7
|
+
* default verifies the signature and refuses anything it cannot place; a
|
|
8
|
+
* consumer replacing it takes on that duty entirely.
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/index.d.ts
CHANGED
|
@@ -43,11 +43,14 @@ export type { ICreateStructureParams, IDeleteStructureParams, IStructureConfig,
|
|
|
43
43
|
export type { ICreateTableParams, IDeleteTableParams, ITableConfig, IUpdateTableParams, } from './adt/IAdtTable';
|
|
44
44
|
export type { ICreateTableTypeParams, IDeleteTableTypeParams, ITableTypeConfig, IUpdateTableTypeParams, TableTypeAccessType, TableTypePrimaryKeyDefinition, TableTypePrimaryKeyKind, TableTypeRowKind, } from './adt/IAdtTableType';
|
|
45
45
|
export type { ICreateTransformationParams, IDeleteTransformationParams, ITransformationConfig, IUpdateTransformationParams, TransformationType, } from './adt/IAdtTransformation';
|
|
46
|
-
export type { IAdtRequest, ICreateTransportParams, IListTransportsOptions, IListTransportsParams, ITransportConfig, ITransportSearchConfiguration, } from './adt/IAdtTransport';
|
|
46
|
+
export type { IAbapObjectEntry, IAdtRequest, IAdtTransportObjectActions, ICreateTransportParams, IListTransportsOptions, IListTransportsParams, ITransportConfig, ITransportSearchConfiguration, } from './adt/IAdtTransport';
|
|
47
47
|
export { TRANSPORT_SEARCH_CONFIGURATIONS_URL } from './adt/IAdtTransport';
|
|
48
48
|
export type { ICdsTestDoubleCheckable, ICdsUnitTestConfig, IClassUnitTestDefinition, IClassUnitTestRunOptions, ITestRunInformation, IUnitTestConfig, IUnitTestDuration, IUnitTestResultOptions, IUnitTestRiskLevel, IUnitTestScope, } from './adt/IAdtUnitTest';
|
|
49
49
|
export type { IAdtDataPreview, IAdtDiscovery, IAdtGroupLifecycle, IAdtInformationSystem, IAdtObjectAccess, IAdtObjectSearch, IAdtRepositoryStructure, IAdtTypeCatalogue, IAdtVirtualFolders, IAdtWhereUsed, IGetNodeContentsOptions, } from './adt/IAdtUtilities';
|
|
50
|
+
export type { AssertionErrorCode } from './auth/AssertionErrorCodes';
|
|
51
|
+
export { ASSERTION_ERROR_CODES } from './auth/AssertionErrorCodes';
|
|
50
52
|
export type { AuthType as AuthTypeEnum } from './auth/AuthType';
|
|
53
|
+
export type { AssertionContext, AssertionReplayKey, IAssertionReplayStore, IAssertionValidator, ValidatedAssertion, } from './auth/IAssertionValidator';
|
|
51
54
|
export type { IAuthorizationConfig } from './auth/IAuthorizationConfig';
|
|
52
55
|
export type { AuthorizationOutcome, AuthorizationRequest, IAuthorizationStrategy, } from './auth/IAuthorizationStrategy';
|
|
53
56
|
export type { CallbackServerFactory, ICallbackServerHandle, ICallbackServerOptions, } from './auth/ICallbackServer';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EACV,+BAA+B,EAC/B,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC;AACjC,YAAY,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AM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ADT contracts, the ABAP and Cloud ALM connections, and SAP/BTP configuration and authentication contracts.
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.AuthMethodPriority = exports.TOKEN_PROVIDER_ERROR_CODES = exports.AUTH_TYPE_USER_TOKEN = exports.AUTH_TYPE_SAML2_BEARER = exports.AUTH_TYPE_PASSWORD = exports.AUTH_TYPE_CLIENT_X509 = exports.AUTH_TYPE_CLIENT_CREDENTIALS = exports.AUTH_TYPE_AUTHORIZATION_CODE_PKCE = exports.AUTH_TYPE_AUTHORIZATION_CODE = exports.STORE_ERROR_CODES = exports.HEADER_UAA_URL = exports.HEADER_UAA_CLIENT_SECRET = exports.HEADER_UAA_CLIENT_ID = exports.HEADER_SAP_URL = exports.HEADER_SAP_UAA_URL = exports.HEADER_SAP_UAA_CLIENT_SECRET = exports.HEADER_SAP_UAA_CLIENT_ID = exports.HEADER_SAP_REFRESH_TOKEN = exports.HEADER_SAP_PASSWORD = exports.HEADER_SAP_LOGIN = exports.HEADER_SAP_JWT_TOKEN = exports.HEADER_SAP_DESTINATION_SERVICE = exports.HEADER_SAP_DESTINATION = exports.HEADER_SAP_CLIENT = exports.HEADER_SAP_AUTH_TYPE = exports.HEADER_MCP_URL = exports.HEADER_MCP_DESTINATION = exports.HEADER_BTP_DESTINATION = exports.AUTH_TYPES = exports.AUTH_TYPE_XSUAA = exports.AUTH_TYPE_JWT = exports.AUTH_TYPE_BASIC = exports.ADT_SESSION_ERROR = exports.CALM_SERVICES = exports.TRANSPORT_SEARCH_CONFIGURATIONS_URL = exports.SERVICE_BINDING_VARIANT_MAP = exports.ADT_NO_FAILURE = exports.AdtObjectErrorCodes = void 0;
|
|
8
|
+
exports.AuthMethodPriority = exports.TOKEN_PROVIDER_ERROR_CODES = exports.AUTH_TYPE_USER_TOKEN = exports.AUTH_TYPE_SAML2_BEARER = exports.AUTH_TYPE_PASSWORD = exports.AUTH_TYPE_CLIENT_X509 = exports.AUTH_TYPE_CLIENT_CREDENTIALS = exports.AUTH_TYPE_AUTHORIZATION_CODE_PKCE = exports.AUTH_TYPE_AUTHORIZATION_CODE = exports.STORE_ERROR_CODES = exports.HEADER_UAA_URL = exports.HEADER_UAA_CLIENT_SECRET = exports.HEADER_UAA_CLIENT_ID = exports.HEADER_SAP_URL = exports.HEADER_SAP_UAA_URL = exports.HEADER_SAP_UAA_CLIENT_SECRET = exports.HEADER_SAP_UAA_CLIENT_ID = exports.HEADER_SAP_REFRESH_TOKEN = exports.HEADER_SAP_PASSWORD = exports.HEADER_SAP_LOGIN = exports.HEADER_SAP_JWT_TOKEN = exports.HEADER_SAP_DESTINATION_SERVICE = exports.HEADER_SAP_DESTINATION = exports.HEADER_SAP_CLIENT = exports.HEADER_SAP_AUTH_TYPE = exports.HEADER_MCP_URL = exports.HEADER_MCP_DESTINATION = exports.HEADER_BTP_DESTINATION = exports.AUTH_TYPES = exports.AUTH_TYPE_XSUAA = exports.AUTH_TYPE_JWT = exports.AUTH_TYPE_BASIC = exports.ADT_SESSION_ERROR = exports.CALM_SERVICES = exports.ASSERTION_ERROR_CODES = exports.TRANSPORT_SEARCH_CONFIGURATIONS_URL = exports.SERVICE_BINDING_VARIANT_MAP = exports.ADT_NO_FAILURE = exports.AdtObjectErrorCodes = void 0;
|
|
9
9
|
var IAdtObject_1 = require("./adt/IAdtObject");
|
|
10
10
|
Object.defineProperty(exports, "AdtObjectErrorCodes", { enumerable: true, get: function () { return IAdtObject_1.AdtObjectErrorCodes; } });
|
|
11
11
|
var IAdtResponse_1 = require("./adt/IAdtResponse");
|
|
@@ -14,6 +14,8 @@ var IAdtServiceBinding_1 = require("./adt/IAdtServiceBinding");
|
|
|
14
14
|
Object.defineProperty(exports, "SERVICE_BINDING_VARIANT_MAP", { enumerable: true, get: function () { return IAdtServiceBinding_1.SERVICE_BINDING_VARIANT_MAP; } });
|
|
15
15
|
var IAdtTransport_1 = require("./adt/IAdtTransport");
|
|
16
16
|
Object.defineProperty(exports, "TRANSPORT_SEARCH_CONFIGURATIONS_URL", { enumerable: true, get: function () { return IAdtTransport_1.TRANSPORT_SEARCH_CONFIGURATIONS_URL; } });
|
|
17
|
+
var AssertionErrorCodes_1 = require("./auth/AssertionErrorCodes");
|
|
18
|
+
Object.defineProperty(exports, "ASSERTION_ERROR_CODES", { enumerable: true, get: function () { return AssertionErrorCodes_1.ASSERTION_ERROR_CODES; } });
|
|
17
19
|
var CalmService_1 = require("./connection/CalmService");
|
|
18
20
|
Object.defineProperty(exports, "CALM_SERVICES", { enumerable: true, get: function () { return CalmService_1.CALM_SERVICES; } });
|
|
19
21
|
var IConnectionCapabilities_1 = require("./connection/IConnectionCapabilities");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/interfaces-adt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "ADT contracts, the ABAP and Cloud ALM connections, and SAP/BTP configuration and authentication contracts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|