@boxyhq/saml-jackson 1.2.2 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/controller/admin.d.ts +4 -4
- package/dist/controller/admin.js +6 -6
- package/dist/controller/api.d.ts +460 -204
- package/dist/controller/api.js +561 -377
- package/dist/controller/connection/oidc.d.ts +9 -0
- package/dist/controller/connection/oidc.js +145 -0
- package/dist/controller/connection/saml.d.ts +9 -0
- package/dist/controller/connection/saml.js +174 -0
- package/dist/controller/logout.d.ts +3 -3
- package/dist/controller/logout.js +14 -14
- package/dist/controller/oauth.d.ts +26 -8
- package/dist/controller/oauth.js +375 -143
- package/dist/controller/oidc-discovery.js +2 -1
- package/dist/controller/utils.d.ts +10 -2
- package/dist/controller/utils.js +88 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +23 -14
- package/dist/loadConnection.d.ts +3 -0
- package/dist/{read-config.js → loadConnection.js} +13 -12
- package/dist/opentelemetry/metrics.js +12 -12
- package/dist/typings.d.ts +155 -36
- package/package.json +11 -10
- package/dist/read-config.d.ts +0 -3
@@ -1,8 +1,8 @@
|
|
1
1
|
import { IAdminController, Storable } from '../typings';
|
2
2
|
export declare class AdminController implements IAdminController {
|
3
|
-
|
4
|
-
constructor({
|
5
|
-
|
3
|
+
connectionStore: Storable;
|
4
|
+
constructor({ connectionStore }: {
|
5
|
+
connectionStore: any;
|
6
6
|
});
|
7
|
-
|
7
|
+
getAllConnection(pageOffset?: number, pageLimit?: number): Promise<Partial<any>[]>;
|
8
8
|
}
|
package/dist/controller/admin.js
CHANGED
@@ -11,16 +11,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.AdminController = void 0;
|
13
13
|
class AdminController {
|
14
|
-
constructor({
|
15
|
-
this.
|
14
|
+
constructor({ connectionStore }) {
|
15
|
+
this.connectionStore = connectionStore;
|
16
16
|
}
|
17
|
-
|
17
|
+
getAllConnection(pageOffset, pageLimit) {
|
18
18
|
return __awaiter(this, void 0, void 0, function* () {
|
19
|
-
const
|
20
|
-
if (!
|
19
|
+
const connectionList = (yield this.connectionStore.getAll(pageOffset, pageLimit));
|
20
|
+
if (!connectionList || !connectionList.length) {
|
21
21
|
return [];
|
22
22
|
}
|
23
|
-
return
|
23
|
+
return connectionList;
|
24
24
|
});
|
25
25
|
}
|
26
26
|
}
|