@mcp-abap-adt/interfaces 2.2.0 → 2.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/CHANGELOG.md +5 -0
- package/README.md +1 -0
- package/dist/auth/IConnectionConfig.d.ts +3 -1
- package/dist/auth/IConnectionConfig.d.ts.map +1 -1
- package/dist/sap/ISapConfig.d.ts +1 -0
- package/dist/sap/ISapConfig.d.ts.map +1 -1
- package/dist/sap/SapAuthType.d.ts +1 -1
- package/dist/sap/SapAuthType.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.3.0] - 2026-02-10
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Added `authType: 'saml'` and `sessionCookies` to connection and SAP config interfaces.
|
|
14
|
+
|
|
10
15
|
## [2.2.0] - 2026-02-10
|
|
11
16
|
|
|
12
17
|
### Added
|
package/README.md
CHANGED
|
@@ -166,6 +166,7 @@ This package is responsible for:
|
|
|
166
166
|
- `ITokenProvider` - Token provider interface (stateful token lifecycle)
|
|
167
167
|
- `ITokenProviderOptions` - Options for token providers
|
|
168
168
|
- `ITokenResult` - Token result payload (supports `expiresAt` and `tokenType` for non-JWT tokens)
|
|
169
|
+
- `IConnectionConfig` / `ISapConfig` - now support `authType: 'saml'` and `sessionCookies`
|
|
169
170
|
- `ITokenRefresher` - Token refresher interface for DI into connections
|
|
170
171
|
- Created by `AuthBroker.createTokenRefresher(destination)`
|
|
171
172
|
- Injected into `JwtAbapConnection` to enable automatic token refresh
|
|
@@ -12,10 +12,12 @@ export interface IConnectionConfig {
|
|
|
12
12
|
/** Password for basic authentication - required for basic auth, optional for JWT auth */
|
|
13
13
|
password?: string;
|
|
14
14
|
/** Authentication type - 'basic' for on-premise, 'jwt' for cloud */
|
|
15
|
-
authType?: 'basic' | 'jwt';
|
|
15
|
+
authType?: 'basic' | 'jwt' | 'saml';
|
|
16
16
|
/** SAP client number (optional, for ABAP/BTP) */
|
|
17
17
|
sapClient?: string;
|
|
18
18
|
/** Language (optional, for ABAP/BTP) */
|
|
19
19
|
language?: string;
|
|
20
|
+
/** Session cookies for SAML authentication (raw Cookie header value) */
|
|
21
|
+
sessionCookies?: string;
|
|
20
22
|
}
|
|
21
23
|
//# sourceMappingURL=IConnectionConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IConnectionConfig.d.ts","sourceRoot":"","sources":["../../src/auth/IConnectionConfig.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"IConnectionConfig.d.ts","sourceRoot":"","sources":["../../src/auth/IConnectionConfig.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IACpC,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
package/dist/sap/ISapConfig.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISapConfig.d.ts","sourceRoot":"","sources":["../../src/sap/ISapConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ISapConfig.d.ts","sourceRoot":"","sources":["../../src/sap/ISapConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type SapAuthType = 'basic' | 'jwt';
|
|
1
|
+
export type SapAuthType = 'basic' | 'jwt' | 'saml';
|
|
2
2
|
//# sourceMappingURL=SapAuthType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SapAuthType.d.ts","sourceRoot":"","sources":["../../src/sap/SapAuthType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"SapAuthType.d.ts","sourceRoot":"","sources":["../../src/sap/SapAuthType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC"}
|