@nsshunt/stsconfig 1.24.2 → 1.24.8

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/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAm0BA,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAo0BA,8CAA2B"}
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@nsshunt/stsconfig",
3
- "version": "1.24.2",
3
+ "version": "1.24.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
+ "types": "./types/index.d.ts",
7
+ "standard": {
8
+ "parser": "@babel/eslint-parser"
9
+ },
6
10
  "dependencies": {
7
- "@tsconfig/node18": "^1.0.0",
8
- "@types/debug": "^4.1.7",
11
+ "@nsshunt/stsutils": "^1.14.5",
9
12
  "colors": "^1.4.0",
10
13
  "debug": "^4.3.4",
11
- "dotenv": "^16.0.0"
12
- },
13
- "standard": {
14
- "parser": "@babel/eslint-parser"
14
+ "dotenv": "^16.0.1"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.17.10",
@@ -20,9 +20,11 @@
20
20
  "@babel/plugin-proposal-private-methods": "^7.16.11",
21
21
  "@babel/preset-env": "^7.17.10",
22
22
  "@babel/preset-typescript": "^7.16.7",
23
+ "@tsconfig/node18": "^1.0.0",
24
+ "@types/debug": "^4.1.7",
23
25
  "@types/jest": "^27.5.0",
24
- "@typescript-eslint/eslint-plugin": "^5.22.0",
25
- "@typescript-eslint/parser": "^5.22.0",
26
+ "@typescript-eslint/eslint-plugin": "^5.23.0",
27
+ "@typescript-eslint/parser": "^5.23.0",
26
28
  "eslint": "^8.15.0",
27
29
  "jest": "^28.1.0",
28
30
  "typescript": "^4.6.4"
package/src/index.ts CHANGED
@@ -1,6 +1,7 @@
1
- export interface JSONObject {
2
- [x: string]: string | number | boolean | string[] | Array<JSONObject> | JSONObject | undefined
3
- }
1
+
2
+ import { JSONObject } from '@nsshunt/stsutils'
3
+
4
+ declare module '@nsshunt/stsutils';
4
5
 
5
6
  //export interface STSOptions extends Record<string, boolean | number | undefined> {
6
7
  export interface STSOptions extends JSONObject {
package/tsconfig.json CHANGED
@@ -9,6 +9,6 @@
9
9
  "allowJs": true,
10
10
  "declaration": true,
11
11
  "declarationDir": "./types",
12
- "declarationMap": true,
12
+ "declarationMap": true
13
13
  }
14
14
  }
package/types/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- export interface JSONObject {
2
- [x: string]: string | number | boolean | string[] | Array<JSONObject> | JSONObject | undefined;
3
- }
1
+ import { JSONObject } from '@nsshunt/stsutils';
2
+ declare module '@nsshunt/stsutils';
4
3
  export interface STSOptions extends JSONObject {
5
4
  /**
6
5
  * Node runtime environment
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,UAAU,GAAG,SAAS,CAAA;CACjG;AAGD,MAAM,WAAW,UAAW,SAAQ,UAAU;IAG7C;;OAEG;IACH,YAAY,EAAE,OAAO,CAAA;IAErB;;OAEM;IACN,MAAM,EAAE,OAAO,CAAA;IAIf;;;OAGM;IACN,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEM;IACN,aAAa,EAAE,OAAO,CAAA;IAEtB;;OAEM;IACN,gBAAgB,EAAE,OAAO,CAAA;IAIzB;;OAEM;IACN,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEM;IACN,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEM;IACN,cAAc,CAAC,EAAE,MAA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CAAA;IAEf;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IAKtB;;OAEG;IACH,kCAAkC,EAAE,MAAM,CAAA;IAE1C;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAA;IAOjC;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAA;IAEjC;;OAEG;IACH,0BAA0B,EAAE,MAAM,CAAA;IAElC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAKzB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAA;IAE7B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAA;IAE5B;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAA;IAEjC;;OAEG;IACH,cAAc,EAAE,OAAO,CAAA;IAKvB;;;;OAIG;IAMH;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAK3B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAA;IAK7B;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAA;IAE5B;;OAEG;IACH,6BAA6B,EAAE,MAAM,CAAA;IAErC;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAA;IAEjC;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAA;IAEhC;;OAEG;IACH,wCAAwC,EAAE,MAAM,CAAA;IAEhD;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAA;CAC7B;AAED,cAAc,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=setEnvVars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setEnvVars.d.ts","sourceRoot":"","sources":["../../jest/setEnvVars.js"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export const setupFiles: string[];
2
+ export const testPathIgnorePatterns: string[];
3
+ //# sourceMappingURL=jest.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jest.config.d.ts","sourceRoot":"","sources":["../jest.config.js"],"names":[],"mappings":""}
@@ -0,0 +1,614 @@
1
+ import { JSONObject } from '@nsshunt/stsutils';
2
+ declare module '@nsshunt/stsutils';
3
+ export interface STSOptions extends JSONObject {
4
+ /**
5
+ * Node runtime environment
6
+ */
7
+ isProduction: boolean;
8
+ /**
9
+ * Node runtime environment
10
+ */
11
+ isTest: boolean;
12
+ /**
13
+ * Maximum number of CPUs (incl. logical processors) to use within the Microservice.
14
+ * Use -1 to use all available within the runtime container. Each CPU will spawn a node work thread.
15
+ */
16
+ useCPUs: number;
17
+ /**
18
+ * Automatically re-spawn a worker thread if one dies.
19
+ */
20
+ respawnOnFail: boolean;
21
+ /**
22
+ * Log error messages to the console within the microservice
23
+ */
24
+ consoleLogErrors: boolean;
25
+ /**
26
+ * Database username.
27
+ */
28
+ dbuser: string;
29
+ /**
30
+ * Database password.
31
+ */
32
+ dbpassword: string;
33
+ /**
34
+ * Database password file
35
+ */
36
+ dbpasswordfile?: string;
37
+ /**
38
+ * Database host
39
+ */
40
+ dbhost: string;
41
+ /**
42
+ * Database port
43
+ */
44
+ dbport: string;
45
+ /**
46
+ * Database name.
47
+ */
48
+ database: string;
49
+ /**
50
+ * Database connection string to be used in production mode
51
+ */
52
+ databaseUrl?: string;
53
+ /**
54
+ * Database script(s) folder
55
+ */
56
+ databasescriptfolder: string;
57
+ /**
58
+ * The maximum pool size for pg. There will be one pool per thread.
59
+ */
60
+ poolSize: number;
61
+ /**
62
+ * Default number of entries to create for a fresh database.
63
+ */
64
+ defaultDatabaseEntries: number;
65
+ /**
66
+ * Default number of entries to create for a fresh database.
67
+ */
68
+ defaultDatabaseMinExtraDataSize: number;
69
+ /**
70
+ * Default number of entries to create for a fresh database.
71
+ */
72
+ defaultDatabaseMaxExtraDataSize: number;
73
+ /**
74
+ * Computed connection string to be used in development mode.
75
+ */
76
+ connectionString: string;
77
+ /**
78
+ * Default computed connection string for postgres. Database name = postgres. Used by utilites that create and/or update the STS database(s).
79
+ */
80
+ defaultDatabaseConnectionString: string;
81
+ /**
82
+ * Microservice listen port.
83
+ */
84
+ useRedis: boolean;
85
+ /**
86
+ * Use redis for Microservice.
87
+ */
88
+ useL1Redis: boolean;
89
+ /**
90
+ * Automatically flush the redis cache when terminating the Microservice.
91
+ */
92
+ endFlush: boolean;
93
+ /**
94
+ * Redis server port.
95
+ */
96
+ redisPort: string;
97
+ /**
98
+ * Redis server endpoint.
99
+ */
100
+ redisServer: string;
101
+ /**
102
+ * Default K6 test script path
103
+ */
104
+ k6ScriptPath: string;
105
+ /**
106
+ * STSREST01 Server endpoint
107
+ */
108
+ rest01endpoint: string;
109
+ /**
110
+ * STSREST01 Server port (listen port for the service)
111
+ */
112
+ rest01hostport: string;
113
+ /**
114
+ * STSREST01 Server port (client port to access the service)
115
+ */
116
+ rest01port: string;
117
+ /**
118
+ * STSREST01 Server endpoint
119
+ */
120
+ rest01apiroot: string;
121
+ /**
122
+ * STSREST01 API Identifier. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
123
+ */
124
+ rest01apiidentifier?: string;
125
+ /**
126
+ * STSREST01 API Identifier file. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
127
+ */
128
+ rest01apiidentifierfile?: string;
129
+ /**
130
+ * STSREST01 Prometheus metric support
131
+ */
132
+ rest01prometheussupport: boolean;
133
+ /**
134
+ * STSREST01 Cluster Server port (port used for cluster prometheus scrapes). Service will listen on this port at mount point /metrics
135
+ */
136
+ rest01prometheusclusterport: string;
137
+ /**
138
+ * STSREST01 Service Name
139
+ */
140
+ rest01servicename: string;
141
+ /**
142
+ * STSREST01 Service Version
143
+ */
144
+ rest01serviceversion: string;
145
+ /**
146
+ * STSREST01 Server client ID. Used for oauth2 client credentials flow.
147
+ * Ref: https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow
148
+ * Ref: https://auth0.com/docs/get-started/authentication-and-authorization-flow/call-your-api-using-the-client-credentials-flow
149
+ */
150
+ rest01clientid?: string;
151
+ /**
152
+ * STSREST01 Server client ID file. Used for oauth2 client credentials flow.
153
+ */
154
+ rest01clientidfile?: string;
155
+ /**
156
+ * STSREST01 Server client secret. Used for oauth2 client credentials flow.
157
+ */
158
+ rest01clientsecret?: string;
159
+ /**
160
+ * STSREST01 Server client secret file. Used for oauth2 client credentials flow.
161
+ */
162
+ rest01clientsecretfile?: string;
163
+ /**
164
+ * STS Instrument Manager Service endpoint
165
+ */
166
+ imendpoint: string;
167
+ /**
168
+ * STS Instrument Manager Service listen port (listen port for the service)
169
+ */
170
+ imhostport: string;
171
+ /**
172
+ * STS Instrument Manager Service client access port (client port to access the service)
173
+ */
174
+ import: string;
175
+ /**
176
+ * STS Instrument Manager Service endpoint
177
+ */
178
+ imapiroot: string;
179
+ /**
180
+ * Instrument Manager API Identifier. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
181
+ */
182
+ imapiidentifier?: string;
183
+ /**
184
+ * Instrument Manager API Identifier file. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
185
+ */
186
+ imapiidentifierfile?: string;
187
+ /**
188
+ * STS Instrument Manager Prometheus metric support
189
+ */
190
+ imprometheussupport: boolean;
191
+ /**
192
+ * STS Instrument Manager Cluster Server port (port used for cluster prometheus scrapes)
193
+ */
194
+ imprometheusclusterport: string;
195
+ /**
196
+ * STS Instrument Manager Service Name
197
+ */
198
+ imservicename: string;
199
+ /**
200
+ * STS Instrument Manager Service Version
201
+ */
202
+ imserviceversion: string;
203
+ /**
204
+ * STS Instrument Manager Server client ID. Used for oauth2 client credentials flow.
205
+ */
206
+ imclientid?: string;
207
+ /**
208
+ * STS Instrument Manager Server client ID file. Used for oauth2 client credentials flow.
209
+ */
210
+ imclientidfile?: string;
211
+ /**
212
+ * STS Instrument Manager Server client secret. Used for oauth2 client credentials flow.
213
+ */
214
+ imclientsecret?: string;
215
+ /**
216
+ * STS Instrument Manager Server client secret file. Used for oauth2 client credentials flow.
217
+ */
218
+ imclientsecretfile?: string;
219
+ /**
220
+ * STS Test Orchestrator Service endpoint
221
+ */
222
+ toendpoint: string;
223
+ /**
224
+ * STS Test Orchestrator Service listen port (listen port for the service)
225
+ */
226
+ tohostport: string;
227
+ /**
228
+ * STS Test Orchestrator Service client access port (client port to access the service)
229
+ */
230
+ toport: string;
231
+ /**
232
+ * STS Test Orchestrator Service endpoint
233
+ */
234
+ toapiroot: string;
235
+ /**
236
+ * Test Orchestrator API Identifier. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
237
+ */
238
+ toapiidentifier?: string;
239
+ /**
240
+ * Test Orchestrator API Identifier file. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
241
+ */
242
+ toapiidentifierfile?: string;
243
+ /**
244
+ * STS Test Orchestrator Prometheus metric support
245
+ */
246
+ toprometheussupport: boolean;
247
+ /**
248
+ * STS Test Orchestrator Cluster Server port (port used for cluster prometheus scrapes)
249
+ */
250
+ toprometheusclusterport: string;
251
+ /**
252
+ * STS Test Orchestrator Service Name
253
+ */
254
+ toservicename: string;
255
+ /**
256
+ * STS Test Orchestrator Service Version
257
+ */
258
+ toserviceversion: string;
259
+ /**
260
+ * STS Test Orchestrator Server client ID. Used for oauth2 client credentials flow.
261
+ */
262
+ toclientid?: string;
263
+ /**
264
+ * STS Test Orchestrator Server client ID file. Used for oauth2 client credentials flow.
265
+ */
266
+ toclientidfile?: string;
267
+ /**
268
+ * STS Test Orchestrator Server client secret. Used for oauth2 client credentials flow.
269
+ */
270
+ toclientsecret?: string;
271
+ /**
272
+ * STS Test Orchestrator Server client secret file. Used for oauth2 client credentials flow.
273
+ */
274
+ toclientsecretfile?: string;
275
+ /**
276
+ * Auth Server endpoint
277
+ */
278
+ asendpoint: string;
279
+ /**
280
+ * Auth Server host port (listen port for the service)
281
+ */
282
+ ashostport: string;
283
+ /**
284
+ * Auth Server port (client port to access the service)
285
+ */
286
+ asport: string;
287
+ /**
288
+ * Auth Server API root.
289
+ */
290
+ asapiroot: string;
291
+ /**
292
+ * Auth Server OAuth2 API root.
293
+ */
294
+ asoauthapiroot: string;
295
+ /**
296
+ * Auth Server Admin API root.
297
+ */
298
+ asadminapiroot: string;
299
+ /**
300
+ * Auth Server API Identifier.
301
+ */
302
+ asapiidentifier: string;
303
+ /**
304
+ * Auth Server API Identifier file.
305
+ */
306
+ asapiidentifierfile?: string;
307
+ /**
308
+ * Auth Server OAuth API Identifier.
309
+ */
310
+ asoauthapiidentifier?: string;
311
+ /**
312
+ * Auth Server OAuth API Identifier file.
313
+ */
314
+ asoauthapiidentifierfile?: string;
315
+ /**
316
+ * Auth Server Administration API Identifier.
317
+ */
318
+ asadminapiidentifier?: string;
319
+ /**
320
+ * Auth Server Administration API Identifier file.
321
+ */
322
+ asadminapiidentifierfile?: string;
323
+ /**
324
+ * Auth Server Prometheus metric support
325
+ */
326
+ asprometheussupport: boolean;
327
+ /**
328
+ * Auth Prometheus Cluster Server port (port used for cluster prometheus scrapes)
329
+ */
330
+ asprometheusclusterport: string;
331
+ /**
332
+ * STSAuth Service Name
333
+ */
334
+ asservicename: string;
335
+ /**
336
+ * STSAuth Service Version
337
+ */
338
+ asserviceversion: string;
339
+ /**
340
+ * STS Auth Server client ID. Used for oauth2 client credentials flow.
341
+ */
342
+ asclientid?: string;
343
+ /**
344
+ * STS Auth Server client ID file. Used for oauth2 client credentials flow.
345
+ */
346
+ asclientidfile?: string;
347
+ /**
348
+ * STS Auth Server client secret. Used for oauth2 client credentials flow.
349
+ */
350
+ asclientsecret?: string;
351
+ /**
352
+ * STS Auth Server client secret file. Used for oauth2 client credentials flow.
353
+ */
354
+ asclientsecretfile?: string;
355
+ /**
356
+ * Auth Server - JWKS Public End Point.
357
+ */
358
+ asjwksjsonpath: string;
359
+ /**
360
+ * Auth Server - JWKS key rotation time (seconds).
361
+ */
362
+ asjwkskeyrotationtime: number;
363
+ /**
364
+ * Auth Server - JWKS key purge time offset (seconds). Old keys (current keys are considered 'old' immediately after a key rotation) will be kept
365
+ * for asaccesstokenexpire + asjwkskeypurgetimeoffset seconds before purging from the JWKS.
366
+ */
367
+ asjwkskeypurgetimeoffset: number;
368
+ /**
369
+ * Auth Server - JWKS key count. Defines the number of active keys within the JWKS. Note that the actual key count may be double this value as current
370
+ * keys are rotated to old keys prior to old key purge. Old keys will be kept for asaccesstokenexpire + asjwkskeypurgetimeoffset seconds before removal from the JWKS.
371
+ * This is to ensure that any tokens signed by a current key that is then expired can still be validated within the life of the issued token.
372
+ */
373
+ asjwkskeycount: number;
374
+ /**
375
+ * Auth Server - JWKS Access token timeout.
376
+ */
377
+ asaccesstokenexpire: number;
378
+ /**
379
+ * STSBroker Server endpoint
380
+ */
381
+ brokerendpoint: string;
382
+ /**
383
+ * STSBroker Server port (listen port for the service)
384
+ */
385
+ brokerhostport: string;
386
+ /**
387
+ * STSBroker Server port (client port to access the service)
388
+ */
389
+ brokerport: string;
390
+ /**
391
+ * STSBroker Server endpoint
392
+ */
393
+ brokerapiroot: string;
394
+ /**
395
+ * STSBroker API Identifier. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
396
+ */
397
+ brokerapiidentifier?: string;
398
+ /**
399
+ * STSBroker API Identifier file. This value will be used as the audience parameter on authorization calls (OAuth2 client credentials flow).
400
+ */
401
+ brokerapiidentifierfile?: string;
402
+ /**
403
+ * STSBroker Prometheus metric support
404
+ */
405
+ brokerprometheussupport: boolean;
406
+ /**
407
+ * STSBroker Cluster Server port (port used for cluster prometheus scrapes). Service will listen on this port at mount point /metrics
408
+ */
409
+ brokerprometheusclusterport: string;
410
+ /**
411
+ * STSBroker Service Name
412
+ */
413
+ brokerservicename: string;
414
+ /**
415
+ * STSBroker Service Version
416
+ */
417
+ brokerserviceversion: string;
418
+ /**
419
+ * STSBroker Server client ID. Used for oauth2 client credentials flow.
420
+ */
421
+ brokerclientid?: string;
422
+ /**
423
+ * STSBroker Server client ID file. Used for oauth2 client credentials flow.
424
+ */
425
+ brokerclientidfile?: string;
426
+ /**
427
+ * STSBroker Server client secret. Used for oauth2 client credentials flow.
428
+ */
429
+ brokerclientsecret?: string;
430
+ /**
431
+ * STSBroker Server client secret file. Used for oauth2 client credentials flow.
432
+ */
433
+ brokerclientsecretfile?: string;
434
+ /**
435
+ * STS Test Runner Prometheus metric support
436
+ */
437
+ trprometheussupport: boolean;
438
+ /**
439
+ * STS Test Runner Cluster Server port (port used for cluster prometheus scrapes)
440
+ */
441
+ trprometheusclusterport: string;
442
+ /**
443
+ * STS Test Runner Service Name
444
+ */
445
+ trservicename: string;
446
+ /**
447
+ * STS Test Runner Service Version
448
+ */
449
+ trserviceversion: string;
450
+ /**
451
+ * STS Test Runner Server client ID. Used for oauth2 client credentials flow.
452
+ */
453
+ trclientid?: string;
454
+ /**
455
+ * STS Test Runner Server client ID file. Used for oauth2 client credentials flow.
456
+ */
457
+ trclientidfile?: string;
458
+ /**
459
+ * STS Test Runner Server client secret. Used for oauth2 client credentials flow.
460
+ */
461
+ trclientsecret?: string;
462
+ /**
463
+ * STS Test Runner Server client secret file. Used for oauth2 client credentials flow.
464
+ */
465
+ trclientsecretfile?: string;
466
+ /**
467
+ * Duration (in ms) between each publish event.
468
+ */
469
+ publishinterval: number;
470
+ /**
471
+ * The maximum time (in ms) to wait before timeout error when publishing instruments. Ideally, this should always be lower than the publishinterval frequency
472
+ * to avoid cascading http build up errors.
473
+ */
474
+ publishtimeout: number;
475
+ /**
476
+ * If true, instrument publish failures will be logged to debug output.
477
+ */
478
+ publishdebug: boolean;
479
+ /**
480
+ * Transport(s) to use for sending instrumentation data to the instrumentation server
481
+ */
482
+ transport: string;
483
+ /**
484
+ * Use secure cookies option when passing back cookies from STS services (such as STSAuth service).
485
+ * This setting will be ignore for production mode. In production mode services will always use secure cookies.
486
+ */
487
+ useSecureCookies: boolean;
488
+ /**
489
+ * keepAlive <boolean> Keep sockets around even when there are no outstanding requests, so they can be used for future requests without having to reestablish a
490
+ * TCP connection. Not to be confused with the keep-alive value of the Connection header. The Connection: keep-alive header is always sent when using an agent
491
+ * except when the Connection header is explicitly specified or when the keepAlive and maxSockets options are respectively set to false and Infinity, in which
492
+ * case Connection: close will be used. Default: false.
493
+ * Reference: https://nodejs.org/api/http.html#class-httpagent
494
+ */
495
+ keepAlive: boolean;
496
+ /**
497
+ * maxSockets <number> Maximum number of sockets to allow per host. If the same host opens multiple concurrent connections, each request will use new socket until the
498
+ * maxSockets value is reached. If the host attempts to open more connections than maxSockets, the additional requests will enter into a pending request queue, and will
499
+ * enter active connection state when an existing connection terminates. This makes sure there are at most maxSockets active connections at any point in time,
500
+ * from a given host. Default: Infinity.
501
+ * Reference: https://nodejs.org/api/http.html#class-httpagent
502
+ */
503
+ maxSockets: number;
504
+ /**
505
+ * maxTotalSockets <number> Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity.
506
+ * Reference: https://nodejs.org/api/http.html#class-httpagent
507
+ */
508
+ maxTotalSockets: number;
509
+ /**
510
+ * maxFreeSockets <number> Maximum number of sockets per host to leave open in a free state. Only relevant if keepAlive is set to true. Default: 256.
511
+ * Reference: https://nodejs.org/api/http.html#class-httpagent
512
+ */
513
+ maxFreeSockets: number;
514
+ /**
515
+ * timeout <number> Socket timeout in milliseconds. This will set the timeout when the socket is created.
516
+ * Reference: https://nodejs.org/api/http.html#class-httpagent
517
+ */
518
+ timeout: number;
519
+ /**
520
+ * Maximum payload size allowed for express server calls
521
+ */
522
+ maxPayloadSize: string;
523
+ /**
524
+ * Generic interval (ms) to make on observation for instrumentation objects.
525
+ */
526
+ instrumentationObservationInterval: number;
527
+ /**
528
+ * Generic sliding time window (seconds) for instrumentation objects that process telemetry over time (e.g. P(x) instruments).
529
+ */
530
+ instrumentationTimeWindow: number;
531
+ /**
532
+ * Define the valid age for a JWT access token (in ms). Default 10 minutes.
533
+ */
534
+ authJWTAccessTokenTimeout: number;
535
+ /**
536
+ * Define the valid age for a JWT refresh token (in ms). Default 24 hours.
537
+ */
538
+ authJWTRefreshTokenTimeout: number;
539
+ /**
540
+ * Define the valid age for an authentication/session cookie. Default 24 hours.
541
+ */
542
+ authCookieTimeout: number;
543
+ /**
544
+ * Define the time (ms) to wait prior to exiting the application (using process.exit(0))
545
+ */
546
+ masterProcessExitTime: number;
547
+ /**
548
+ * Define the time (ms) to wait prior to exiting the application (using process.exit(0))
549
+ */
550
+ childProcessExitTime: number;
551
+ /**
552
+ * Define the interval (ms) to collect system information for instrumentation purposes
553
+ */
554
+ systemInformationInterval: number;
555
+ /**
556
+ * Ignore socket.io REST api calls and/or WebSocket calls when collecting telemetry for instrumentation purposes.
557
+ */
558
+ ignoresocketio: boolean;
559
+ /**
560
+ * Define the interval for checking instrumentation updates on a instrumentation model. Entries in the model will be removed after this timeout value (ms) if no
561
+ * activity has been detected. Default 5 seconds.
562
+ //,modelPurgeUpdateTimeout: (process.env.MODEL_PURGE_UPDATE_TIMEOUT === undefined ? 5000 : parseInt(process.env.MODEL_PURGE_UPDATE_TIMEOUT))
563
+ */
564
+ /**
565
+ * HTTPS server key path.
566
+ */
567
+ httpsserverkeypath: string;
568
+ /**
569
+ * HTTPS server cert path.
570
+ */
571
+ httpsservercertpath: string;
572
+ /**
573
+ * Maximum number of RSA keys in the JWKS store
574
+ */
575
+ tsjwkskeys: number;
576
+ /**
577
+ * File path for JWKS store data. This file will contain the public and private keys for the JWKS store.
578
+ */
579
+ tsjwksstorepath: string;
580
+ /**
581
+ * File path for JWKS store path config setting (tsjwksstorepath). Use this config item with Docker/Kubernetes secrets.
582
+ */
583
+ tsjwksstorepathfile?: string;
584
+ /**
585
+ * File path for JWKS public store data. This file will contain only the public signing keys for the JWKS store.
586
+ */
587
+ tsjwksstorepublicpath: string;
588
+ /**
589
+ * Enables a LRU cache. Ref: https://github.com/auth0/node-jwks-rsa#caching
590
+ */
591
+ jwksAuthConfigCache: boolean;
592
+ /**
593
+ * Maximum number of LRU cache entries. Ref: https://github.com/auth0/node-jwks-rsa#caching
594
+ */
595
+ jwksAuthConfigCacheMaxEntries: number;
596
+ /**
597
+ * Maximum age of LRU cache entries. Ref: https://github.com/auth0/node-jwks-rsa#caching
598
+ */
599
+ jwksAuthConfigCacheMaxAge: number;
600
+ /**
601
+ * Enforce rate limiting for jwks public endpoint query. Ref: https://github.com/auth0/node-jwks-rsa#rate-limiting
602
+ */
603
+ jwksAuthConfigRateLimit: boolean;
604
+ /**
605
+ * Enforce rate limiting maximum number of requests per minute. Ref: https://github.com/auth0/node-jwks-rsa#rate-limiting
606
+ */
607
+ jwksAuthConfigRateLimitRequestsPerMinute: number;
608
+ /**
609
+ * Timeout for the public endpoint query. Note: This will be ignored if an http/https agent is specified.
610
+ */
611
+ jwksAuthConfigTimeout: number;
612
+ }
613
+ export * from './stsconfig';
614
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,QAAQ,mBAAmB,CAAC;AAGnC,MAAM,WAAW,UAAW,SAAQ,UAAU;IAG7C;;OAEG;IACH,YAAY,EAAE,OAAO,CAAA;IAErB;;OAEM;IACN,MAAM,EAAE,OAAO,CAAA;IAIf;;;OAGM;IACN,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEM;IACN,aAAa,EAAE,OAAO,CAAA;IAEtB;;OAEM;IACN,gBAAgB,EAAE,OAAO,CAAA;IAIzB;;OAEM;IACN,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEM;IACN,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEM;IACN,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEM;IACN,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEM;IACN,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEM;IACN,QAAQ,EAA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E,OAAO,CAAA;IAEhC;;OAEG;IACH,wCAAwC,EAAE,MAAM,CAAA;IAEhD;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAA;CAC7B;AAED,cAAc,aAAa,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stsconfig-01.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stsconfig-01.test.d.ts","sourceRoot":"","sources":["../../src/stsconfig-01.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stsconfig-02.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stsconfig-02.test.d.ts","sourceRoot":"","sources":["../../src/stsconfig-02.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stsconfig-default.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stsconfig-default.test.d.ts","sourceRoot":"","sources":["../../src/stsconfig-default.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import 'colors';
2
+ import { STSOptions } from './index';
3
+ export declare function $Options(): STSOptions;
4
+ //# sourceMappingURL=stsconfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stsconfig.d.ts","sourceRoot":"","sources":["../../src/stsconfig.ts"],"names":[],"mappings":"AAMA,OAAO,QAAQ,CAAA;AAEf,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAodpC,wBAAgB,QAAQ,IAAI,UAAU,CASrC"}