@rapidrest/core 1.3.0 → 1.3.1
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/lib/ClassLoader.js +3 -2
- package/dist/lib/ClassLoader.js.map +1 -1
- package/dist/lib/JWTUtils.js +1 -0
- package/dist/lib/JWTUtils.js.map +1 -1
- package/dist/types/JWTUtils.d.ts +1 -0
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Config.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Destroy.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Init.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Inject.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Logger.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Nullable.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Validator.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/type-aliases/ValidatorFunction.md +1 -1
- package/docs/reference/classes/AlertUtils.md +6 -6
- package/docs/reference/classes/ApiError.md +5 -5
- package/docs/reference/classes/ClassLoader.md +34 -34
- package/docs/reference/classes/Event.md +8 -8
- package/docs/reference/classes/EventUtils.md +4 -4
- package/docs/reference/classes/FileUtils.md +5 -5
- package/docs/reference/classes/JWTUtils.md +5 -5
- package/docs/reference/classes/MessagingUtils.md +8 -8
- package/docs/reference/classes/OASUtils.md +9 -9
- package/docs/reference/classes/ObjectFactory.md +14 -14
- package/docs/reference/classes/ObjectUtils.md +2 -2
- package/docs/reference/classes/StringUtils.md +6 -6
- package/docs/reference/classes/ThreadPool.md +11 -11
- package/docs/reference/classes/ThreadWorker.md +6 -6
- package/docs/reference/classes/UserUtils.md +6 -6
- package/docs/reference/classes/ValidationUtils.md +14 -14
- package/docs/reference/enumerations/AlertPriority.md +6 -6
- package/docs/reference/enumerations/JWTUtilsCompressionMethods.md +2 -2
- package/docs/reference/enumerations/WorkerMessageType.md +5 -5
- package/docs/reference/functions/sleep.md +1 -1
- package/docs/reference/interfaces/Alert.md +10 -10
- package/docs/reference/interfaces/AlertAttachment.md +5 -5
- package/docs/reference/interfaces/AlertClose.md +3 -3
- package/docs/reference/interfaces/AlertUtilsAttachmentOptions.md +4 -4
- package/docs/reference/interfaces/AlertUtilsOptions.md +4 -4
- package/docs/reference/interfaces/InstanceOptions.md +4 -4
- package/docs/reference/interfaces/JWTPayload.md +5 -5
- package/docs/reference/interfaces/JWTUser.md +5 -5
- package/docs/reference/interfaces/JWTUtilsConfig.md +4 -4
- package/docs/reference/interfaces/JWTUtilsPayloadKeyOptions.md +5 -5
- package/docs/reference/interfaces/JWTUtilsPayloadOptions.md +3 -3
- package/docs/reference/interfaces/JWTUtilsPayloadPasswordOptions.md +6 -6
- package/docs/reference/interfaces/NewEvent.md +2 -2
- package/docs/reference/interfaces/OriginSettings.md +3 -3
- package/docs/reference/interfaces/SlackConfig.md +4 -4
- package/docs/reference/interfaces/SmtpAuth.md +3 -3
- package/docs/reference/interfaces/SmtpConfig.md +5 -5
- package/docs/reference/interfaces/Template.md +13 -13
- package/docs/reference/interfaces/TemplateMapBase.md +1 -1
- package/docs/reference/interfaces/TwilioConfig.md +4 -4
- package/docs/reference/interfaces/WorkerMessage.md +3 -3
- package/docs/reference/interfaces/WorkerOptions.md +6 -6
- package/docs/reference/type-aliases/BooleanFunc.md +1 -1
- package/docs/reference/type-aliases/TemplateMap.md +1 -1
- package/docs/reference/type-aliases/WorkerCallback.md +1 -1
- package/docs/reference/variables/Logger.md +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ValidationUtils
|
|
8
8
|
|
|
9
|
-
Defined in: [src/ValidationUtils.ts:14](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/ValidationUtils.ts:14](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L14)
|
|
10
10
|
|
|
11
11
|
A collection of validation functions to use with the `@Validator()` decorator.
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ A collection of validation functions to use with the `@Validator()` decorator.
|
|
|
26
26
|
|
|
27
27
|
> `static` **check**(`val`, `func`): `any`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/ValidationUtils.ts:23](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/ValidationUtils.ts:23](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L23)
|
|
30
30
|
|
|
31
31
|
A simple wrapper that calls the specified boolean validation function with the given value and returns the
|
|
32
32
|
value as a result if the validation function passes. Otherwise throws an error.
|
|
@@ -59,7 +59,7 @@ Throws an error if the value fails the boolean validation test.
|
|
|
59
59
|
|
|
60
60
|
> `static` **checkDate**(`val`): `string`
|
|
61
61
|
|
|
62
|
-
Defined in: [src/ValidationUtils.ts:33](https://github.com/rapidrest/core/blob/
|
|
62
|
+
Defined in: [src/ValidationUtils.ts:33](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L33)
|
|
63
63
|
|
|
64
64
|
Validates that the provided string represents a ISO, RFC or UTC date or timestamp.
|
|
65
65
|
|
|
@@ -79,7 +79,7 @@ Validates that the provided string represents a ISO, RFC or UTC date or timestam
|
|
|
79
79
|
|
|
80
80
|
> `static` **checkEmail**(`val`): `string`
|
|
81
81
|
|
|
82
|
-
Defined in: [src/ValidationUtils.ts:43](https://github.com/rapidrest/core/blob/
|
|
82
|
+
Defined in: [src/ValidationUtils.ts:43](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L43)
|
|
83
83
|
|
|
84
84
|
Validates that the provided string represents a valid e-mail address.
|
|
85
85
|
|
|
@@ -99,7 +99,7 @@ Validates that the provided string represents a valid e-mail address.
|
|
|
99
99
|
|
|
100
100
|
> `static` **checkEmpty**(`val`): `any`[]
|
|
101
101
|
|
|
102
|
-
Defined in: [src/ValidationUtils.ts:53](https://github.com/rapidrest/core/blob/
|
|
102
|
+
Defined in: [src/ValidationUtils.ts:53](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L53)
|
|
103
103
|
|
|
104
104
|
Validates that the provided array is not empty.
|
|
105
105
|
|
|
@@ -119,7 +119,7 @@ Validates that the provided array is not empty.
|
|
|
119
119
|
|
|
120
120
|
> `static` **checkIP**(`val`): `string`
|
|
121
121
|
|
|
122
|
-
Defined in: [src/ValidationUtils.ts:63](https://github.com/rapidrest/core/blob/
|
|
122
|
+
Defined in: [src/ValidationUtils.ts:63](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L63)
|
|
123
123
|
|
|
124
124
|
Validates that the provided string is a valid IP address.
|
|
125
125
|
|
|
@@ -139,7 +139,7 @@ Validates that the provided string is a valid IP address.
|
|
|
139
139
|
|
|
140
140
|
> `static` **checkJSON**(`val`): `string`
|
|
141
141
|
|
|
142
|
-
Defined in: [src/ValidationUtils.ts:73](https://github.com/rapidrest/core/blob/
|
|
142
|
+
Defined in: [src/ValidationUtils.ts:73](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L73)
|
|
143
143
|
|
|
144
144
|
Validates that the provided string is valid JSON (note: uses `JSON.parse`).
|
|
145
145
|
|
|
@@ -159,7 +159,7 @@ Validates that the provided string is valid JSON (note: uses `JSON.parse`).
|
|
|
159
159
|
|
|
160
160
|
> `static` **checkName**(`val`): `string`
|
|
161
161
|
|
|
162
|
-
Defined in: [src/ValidationUtils.ts:83](https://github.com/rapidrest/core/blob/
|
|
162
|
+
Defined in: [src/ValidationUtils.ts:83](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L83)
|
|
163
163
|
|
|
164
164
|
Validates that the provided string matches the regexp pattern /[a-zA-Z0-9_\-\.@:\+]+/.
|
|
165
165
|
|
|
@@ -179,7 +179,7 @@ Validates that the provided string matches the regexp pattern /[a-zA-Z0-9_\-\.@:
|
|
|
179
179
|
|
|
180
180
|
> `static` **checkNull**(`val`): `any`
|
|
181
181
|
|
|
182
|
-
Defined in: [src/ValidationUtils.ts:93](https://github.com/rapidrest/core/blob/
|
|
182
|
+
Defined in: [src/ValidationUtils.ts:93](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L93)
|
|
183
183
|
|
|
184
184
|
Validates that the provided object is not null or empty.
|
|
185
185
|
|
|
@@ -199,7 +199,7 @@ Validates that the provided object is not null or empty.
|
|
|
199
199
|
|
|
200
200
|
> `static` **checkPhone**(`val`): `string`
|
|
201
201
|
|
|
202
|
-
Defined in: [src/ValidationUtils.ts:103](https://github.com/rapidrest/core/blob/
|
|
202
|
+
Defined in: [src/ValidationUtils.ts:103](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L103)
|
|
203
203
|
|
|
204
204
|
Validates that the provided string represents a valid phone number.
|
|
205
205
|
|
|
@@ -219,7 +219,7 @@ Validates that the provided string represents a valid phone number.
|
|
|
219
219
|
|
|
220
220
|
> `static` **checkSemVer**(`val`): `string`
|
|
221
221
|
|
|
222
|
-
Defined in: [src/ValidationUtils.ts:113](https://github.com/rapidrest/core/blob/
|
|
222
|
+
Defined in: [src/ValidationUtils.ts:113](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L113)
|
|
223
223
|
|
|
224
224
|
Validates that the provided string represents a semantic version.
|
|
225
225
|
|
|
@@ -239,7 +239,7 @@ Validates that the provided string represents a semantic version.
|
|
|
239
239
|
|
|
240
240
|
> `static` **checkURL**(`val`): `string`
|
|
241
241
|
|
|
242
|
-
Defined in: [src/ValidationUtils.ts:123](https://github.com/rapidrest/core/blob/
|
|
242
|
+
Defined in: [src/ValidationUtils.ts:123](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L123)
|
|
243
243
|
|
|
244
244
|
Validates that the provided string is a valid URL.
|
|
245
245
|
|
|
@@ -259,7 +259,7 @@ Validates that the provided string is a valid URL.
|
|
|
259
259
|
|
|
260
260
|
> `static` **checkUUID**(`val`): `string`
|
|
261
261
|
|
|
262
|
-
Defined in: [src/ValidationUtils.ts:133](https://github.com/rapidrest/core/blob/
|
|
262
|
+
Defined in: [src/ValidationUtils.ts:133](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L133)
|
|
263
263
|
|
|
264
264
|
Validates that the provided string is a valid UUID.
|
|
265
265
|
|
|
@@ -279,7 +279,7 @@ Validates that the provided string is a valid UUID.
|
|
|
279
279
|
|
|
280
280
|
> `static` **checkVersion**(`val`): `number`
|
|
281
281
|
|
|
282
|
-
Defined in: [src/ValidationUtils.ts:143](https://github.com/rapidrest/core/blob/
|
|
282
|
+
Defined in: [src/ValidationUtils.ts:143](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ValidationUtils.ts#L143)
|
|
283
283
|
|
|
284
284
|
Validates that the provided value is an entity `version` number (e.g. `value > 0`).
|
|
285
285
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Enumeration: AlertPriority
|
|
8
8
|
|
|
9
|
-
Defined in: [src/AlertUtils.ts:24](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/AlertUtils.ts:24](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L24)
|
|
10
10
|
|
|
11
11
|
Describes the level of priority for a given alert and an importance for triaging the problem.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Describes the level of priority for a given alert and an importance for triaging
|
|
|
16
16
|
|
|
17
17
|
> **Critical**: `"P1"`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/AlertUtils.ts:26](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/AlertUtils.ts:26](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L26)
|
|
20
20
|
|
|
21
21
|
Describes an alert that affects critical operating functionality or infrastructure.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ Describes an alert that affects critical operating functionality or infrastructu
|
|
|
26
26
|
|
|
27
27
|
> **Important**: `"P3"`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/AlertUtils.ts:30](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/AlertUtils.ts:30](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L30)
|
|
30
30
|
|
|
31
31
|
Describes an alert that affects basic systems that may create a poor end-user experience.
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ Describes an alert that affects basic systems that may create a poor end-user ex
|
|
|
36
36
|
|
|
37
37
|
> **Notice**: `"P5"`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/AlertUtils.ts:34](https://github.com/rapidrest/core/blob/
|
|
39
|
+
Defined in: [src/AlertUtils.ts:34](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L34)
|
|
40
40
|
|
|
41
41
|
Describes an alert that has no material affect on end-user experience and no potential for escalation.
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ Describes an alert that has no material affect on end-user experience and no pot
|
|
|
46
46
|
|
|
47
47
|
> **Severe**: `"P2"`
|
|
48
48
|
|
|
49
|
-
Defined in: [src/AlertUtils.ts:28](https://github.com/rapidrest/core/blob/
|
|
49
|
+
Defined in: [src/AlertUtils.ts:28](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L28)
|
|
50
50
|
|
|
51
51
|
Describes an alert that affects key systems that have great impact on end-user experiences.
|
|
52
52
|
|
|
@@ -56,6 +56,6 @@ Describes an alert that affects key systems that have great impact on end-user e
|
|
|
56
56
|
|
|
57
57
|
> **Warning**: `"P4"`
|
|
58
58
|
|
|
59
|
-
Defined in: [src/AlertUtils.ts:32](https://github.com/rapidrest/core/blob/
|
|
59
|
+
Defined in: [src/AlertUtils.ts:32](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L32)
|
|
60
60
|
|
|
61
61
|
Describes an alert that has no material affect on the end-user experience but with potential to escalate.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Enumeration: JWTUtilsCompressionMethods
|
|
8
8
|
|
|
9
|
-
Defined in: [src/JWTUtils.ts:55](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/JWTUtils.ts:55](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L55)
|
|
10
10
|
|
|
11
11
|
Describes the different types of support compression methods for JWT payloads.
|
|
12
12
|
|
|
@@ -16,6 +16,6 @@ Describes the different types of support compression methods for JWT payloads.
|
|
|
16
16
|
|
|
17
17
|
> **ZLIB**: `"zlib"`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/JWTUtils.ts:57](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/JWTUtils.ts:57](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L57)
|
|
20
20
|
|
|
21
21
|
Uses the zlib compression method.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Enumeration: WorkerMessageType
|
|
8
8
|
|
|
9
|
-
Defined in: [src/threads/ThreadWorker.ts:7](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/threads/ThreadWorker.ts:7](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/threads/ThreadWorker.ts#L7)
|
|
10
10
|
|
|
11
11
|
Describes the types of messages passed between the parent thread pool manager and a worker thread.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Describes the types of messages passed between the parent thread pool manager an
|
|
|
16
16
|
|
|
17
17
|
> **ERROR**: `"_WorkerError"`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/threads/ThreadWorker.ts:8](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/threads/ThreadWorker.ts:8](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/threads/ThreadWorker.ts#L8)
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ Defined in: [src/threads/ThreadWorker.ts:8](https://github.com/rapidrest/core/bl
|
|
|
24
24
|
|
|
25
25
|
> **LOG**: `"_WorkerLog"`
|
|
26
26
|
|
|
27
|
-
Defined in: [src/threads/ThreadWorker.ts:9](https://github.com/rapidrest/core/blob/
|
|
27
|
+
Defined in: [src/threads/ThreadWorker.ts:9](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/threads/ThreadWorker.ts#L9)
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Defined in: [src/threads/ThreadWorker.ts:9](https://github.com/rapidrest/core/bl
|
|
|
32
32
|
|
|
33
33
|
> **ONLINE**: `"_WorkerOnline"`
|
|
34
34
|
|
|
35
|
-
Defined in: [src/threads/ThreadWorker.ts:10](https://github.com/rapidrest/core/blob/
|
|
35
|
+
Defined in: [src/threads/ThreadWorker.ts:10](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/threads/ThreadWorker.ts#L10)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -40,4 +40,4 @@ Defined in: [src/threads/ThreadWorker.ts:10](https://github.com/rapidrest/core/b
|
|
|
40
40
|
|
|
41
41
|
> **STOP**: `"_StopWorker"`
|
|
42
42
|
|
|
43
|
-
Defined in: [src/threads/ThreadWorker.ts:11](https://github.com/rapidrest/core/blob/
|
|
43
|
+
Defined in: [src/threads/ThreadWorker.ts:11](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/threads/ThreadWorker.ts#L11)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **sleep**(`ms?`): `Promise`\<`void`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [src/sleep.ts:8](https://github.com/rapidrest/core/blob/
|
|
11
|
+
Defined in: [src/sleep.ts:8](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/sleep.ts#L8)
|
|
12
12
|
|
|
13
13
|
Starts a timer to suspend execution for a given number of milliseconds.
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Alert
|
|
8
8
|
|
|
9
|
-
Defined in: [src/AlertUtils.ts:40](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/AlertUtils.ts:40](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L40)
|
|
10
10
|
|
|
11
11
|
Describes a single system failure or other similar critical event that requires immediate attention.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Describes a single system failure or other similar critical event that requires
|
|
|
16
16
|
|
|
17
17
|
> **alias**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/AlertUtils.ts:42](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/AlertUtils.ts:42](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L42)
|
|
20
20
|
|
|
21
21
|
The name of the alert that uniquely identifies the report for purposes of de-duplication.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The name of the alert that uniquely identifies the report for purposes of de-dup
|
|
|
26
26
|
|
|
27
27
|
> **description**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/AlertUtils.ts:44](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/AlertUtils.ts:44](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L44)
|
|
30
30
|
|
|
31
31
|
The detailed information about the event that has occurred.
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ The detailed information about the event that has occurred.
|
|
|
36
36
|
|
|
37
37
|
> `optional` **details?**: `any`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/AlertUtils.ts:46](https://github.com/rapidrest/core/blob/
|
|
39
|
+
Defined in: [src/AlertUtils.ts:46](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L46)
|
|
40
40
|
|
|
41
41
|
A key-value map of custom information about the alert.
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ A key-value map of custom information about the alert.
|
|
|
46
46
|
|
|
47
47
|
> `optional` **entity?**: `string`
|
|
48
48
|
|
|
49
|
-
Defined in: [src/AlertUtils.ts:48](https://github.com/rapidrest/core/blob/
|
|
49
|
+
Defined in: [src/AlertUtils.ts:48](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L48)
|
|
50
50
|
|
|
51
51
|
Used to specify a category or problem domain for filtering.
|
|
52
52
|
|
|
@@ -56,7 +56,7 @@ Used to specify a category or problem domain for filtering.
|
|
|
56
56
|
|
|
57
57
|
> **message**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [src/AlertUtils.ts:50](https://github.com/rapidrest/core/blob/
|
|
59
|
+
Defined in: [src/AlertUtils.ts:50](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L50)
|
|
60
60
|
|
|
61
61
|
The basic summary of the alert that describes the event.
|
|
62
62
|
|
|
@@ -66,7 +66,7 @@ The basic summary of the alert that describes the event.
|
|
|
66
66
|
|
|
67
67
|
> `optional` **note?**: `string`
|
|
68
68
|
|
|
69
|
-
Defined in: [src/AlertUtils.ts:52](https://github.com/rapidrest/core/blob/
|
|
69
|
+
Defined in: [src/AlertUtils.ts:52](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L52)
|
|
70
70
|
|
|
71
71
|
Additional detail about the event.
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ Additional detail about the event.
|
|
|
76
76
|
|
|
77
77
|
> **priority**: [`AlertPriority`](../enumerations/AlertPriority.md)
|
|
78
78
|
|
|
79
|
-
Defined in: [src/AlertUtils.ts:54](https://github.com/rapidrest/core/blob/
|
|
79
|
+
Defined in: [src/AlertUtils.ts:54](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L54)
|
|
80
80
|
|
|
81
81
|
The priority level of the alert.
|
|
82
82
|
|
|
@@ -86,7 +86,7 @@ The priority level of the alert.
|
|
|
86
86
|
|
|
87
87
|
> **source**: `string`
|
|
88
88
|
|
|
89
|
-
Defined in: [src/AlertUtils.ts:56](https://github.com/rapidrest/core/blob/
|
|
89
|
+
Defined in: [src/AlertUtils.ts:56](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L56)
|
|
90
90
|
|
|
91
91
|
The source of the alert. Can be a pod/service name, IP address or other unique identifier.
|
|
92
92
|
|
|
@@ -96,6 +96,6 @@ The source of the alert. Can be a pod/service name, IP address or other unique i
|
|
|
96
96
|
|
|
97
97
|
> `optional` **tags?**: `string`[]
|
|
98
98
|
|
|
99
|
-
Defined in: [src/AlertUtils.ts:58](https://github.com/rapidrest/core/blob/
|
|
99
|
+
Defined in: [src/AlertUtils.ts:58](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L58)
|
|
100
100
|
|
|
101
101
|
A list of unique tags to associate with the event.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AlertAttachment
|
|
8
8
|
|
|
9
|
-
Defined in: [src/AlertUtils.ts:64](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/AlertUtils.ts:64](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L64)
|
|
10
10
|
|
|
11
11
|
Describes a single attachment that can be added to an alert.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Describes a single attachment that can be added to an alert.
|
|
|
16
16
|
|
|
17
17
|
> **contentType**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/AlertUtils.ts:66](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/AlertUtils.ts:66](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L66)
|
|
20
20
|
|
|
21
21
|
The content-type of the attachment.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The content-type of the attachment.
|
|
|
26
26
|
|
|
27
27
|
> **data**: `Buffer`\<`ArrayBufferLike`\> \| `ReadStream`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/AlertUtils.ts:68](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/AlertUtils.ts:68](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L68)
|
|
30
30
|
|
|
31
31
|
The contents of the attachment.
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ The contents of the attachment.
|
|
|
36
36
|
|
|
37
37
|
> **filename**: `string`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/AlertUtils.ts:70](https://github.com/rapidrest/core/blob/
|
|
39
|
+
Defined in: [src/AlertUtils.ts:70](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L70)
|
|
40
40
|
|
|
41
41
|
The name of the attachment.
|
|
42
42
|
|
|
@@ -46,6 +46,6 @@ The name of the attachment.
|
|
|
46
46
|
|
|
47
47
|
> `optional` **size?**: `number`
|
|
48
48
|
|
|
49
|
-
Defined in: [src/AlertUtils.ts:72](https://github.com/rapidrest/core/blob/
|
|
49
|
+
Defined in: [src/AlertUtils.ts:72](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L72)
|
|
50
50
|
|
|
51
51
|
The size of the attachment.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AlertClose
|
|
8
8
|
|
|
9
|
-
Defined in: [src/AlertUtils.ts:78](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/AlertUtils.ts:78](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L78)
|
|
10
10
|
|
|
11
11
|
Describes a request to close an alert.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Describes a request to close an alert.
|
|
|
16
16
|
|
|
17
17
|
> `optional` **note?**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/AlertUtils.ts:82](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/AlertUtils.ts:82](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L82)
|
|
20
20
|
|
|
21
21
|
Additional alert note to add.
|
|
22
22
|
|
|
@@ -26,6 +26,6 @@ Additional alert note to add.
|
|
|
26
26
|
|
|
27
27
|
> `optional` **source?**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/AlertUtils.ts:80](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/AlertUtils.ts:80](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L80)
|
|
30
30
|
|
|
31
31
|
Display name of the request source.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AlertUtilsAttachmentOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/AlertUtils.ts:100](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/AlertUtils.ts:100](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L100)
|
|
10
10
|
|
|
11
11
|
Describes the alert attachment options to use when creating an alert.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Describes the alert attachment options to use when creating an alert.
|
|
|
16
16
|
|
|
17
17
|
> **files**: [`AlertAttachment`](AlertAttachment.md)[]
|
|
18
18
|
|
|
19
|
-
Defined in: [src/AlertUtils.ts:102](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/AlertUtils.ts:102](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L102)
|
|
20
20
|
|
|
21
21
|
The attachment files to upload with the alert.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The attachment files to upload with the alert.
|
|
|
26
26
|
|
|
27
27
|
> `optional` **indexFile?**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/AlertUtils.ts:104](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/AlertUtils.ts:104](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L104)
|
|
30
30
|
|
|
31
31
|
The name of the index file when the attachment is a zip file.
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ The name of the index file when the attachment is a zip file.
|
|
|
36
36
|
|
|
37
37
|
> `optional` **zip?**: `boolean`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/AlertUtils.ts:109](https://github.com/rapidrest/core/blob/
|
|
39
|
+
Defined in: [src/AlertUtils.ts:109](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L109)
|
|
40
40
|
|
|
41
41
|
Set to `true` to to package all files into a single zip before being uploaded, otherwise set to `false` to
|
|
42
42
|
upload each file individually.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AlertUtilsOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/AlertUtils.ts:88](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/AlertUtils.ts:88](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L88)
|
|
10
10
|
|
|
11
11
|
The set of configuration options to pass to AlertUtils when creating an instance.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ The set of configuration options to pass to AlertUtils when creating an instance
|
|
|
16
16
|
|
|
17
17
|
> **auth**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/AlertUtils.ts:90](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/AlertUtils.ts:90](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L90)
|
|
20
20
|
|
|
21
21
|
The value of the Authorization header to apply to all outgoing HTTP requests.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The value of the Authorization header to apply to all outgoing HTTP requests.
|
|
|
26
26
|
|
|
27
27
|
> `optional` **logger?**: `any`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/AlertUtils.ts:94](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/AlertUtils.ts:94](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L94)
|
|
30
30
|
|
|
31
31
|
The logging utility to use.
|
|
32
32
|
|
|
@@ -36,6 +36,6 @@ The logging utility to use.
|
|
|
36
36
|
|
|
37
37
|
> **serviceUrl**: `string`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/AlertUtils.ts:92](https://github.com/rapidrest/core/blob/
|
|
39
|
+
Defined in: [src/AlertUtils.ts:92](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L92)
|
|
40
40
|
|
|
41
41
|
The full url of the REST API service that alerts will be sent to.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: InstanceOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/ObjectFactory.ts:11](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/ObjectFactory.ts:11](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L11)
|
|
10
10
|
|
|
11
11
|
The set of options to use when creating new instances of objects.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ The set of options to use when creating new instances of objects.
|
|
|
16
16
|
|
|
17
17
|
> `optional` **args?**: `any`[]
|
|
18
18
|
|
|
19
|
-
Defined in: [src/ObjectFactory.ts:13](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/ObjectFactory.ts:13](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L13)
|
|
20
20
|
|
|
21
21
|
The list of arguments to pass to the class constructor.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The list of arguments to pass to the class constructor.
|
|
|
26
26
|
|
|
27
27
|
> `optional` **initialize?**: `boolean`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/ObjectFactory.ts:17](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/ObjectFactory.ts:17](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L17)
|
|
30
30
|
|
|
31
31
|
Set to `true` to perform initialization of the object after creation, otherwise set to `false`. Default is `true`.
|
|
32
32
|
|
|
@@ -36,6 +36,6 @@ Set to `true` to perform initialization of the object after creation, otherwise
|
|
|
36
36
|
|
|
37
37
|
> `optional` **name?**: `string`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/ObjectFactory.ts:15](https://github.com/rapidrest/core/blob/
|
|
39
|
+
Defined in: [src/ObjectFactory.ts:15](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L15)
|
|
40
40
|
|
|
41
41
|
The unique name of the object instance.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: JWTPayload
|
|
8
8
|
|
|
9
|
-
Defined in: [src/JWTUtils.ts:38](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/JWTUtils.ts:38](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L38)
|
|
10
10
|
|
|
11
11
|
Describes the payload data structure of signed JWT tokens.
|
|
12
12
|
|
|
@@ -36,7 +36,7 @@ Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:115
|
|
|
36
36
|
|
|
37
37
|
> `optional` **compression?**: `"zlib"`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/JWTUtils.ts:40](https://github.com/rapidrest/core/blob/
|
|
39
|
+
Defined in: [src/JWTUtils.ts:40](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L40)
|
|
40
40
|
|
|
41
41
|
Indicates if the payload profile has been compressed and with what method.
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ Indicates if the payload profile has been compressed and with what method.
|
|
|
46
46
|
|
|
47
47
|
> `optional` **encryption?**: `boolean`
|
|
48
48
|
|
|
49
|
-
Defined in: [src/JWTUtils.ts:43](https://github.com/rapidrest/core/blob/
|
|
49
|
+
Defined in: [src/JWTUtils.ts:43](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L43)
|
|
50
50
|
|
|
51
51
|
Indicates if the payload profile has been encrypted.
|
|
52
52
|
|
|
@@ -116,7 +116,7 @@ Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:117
|
|
|
116
116
|
|
|
117
117
|
> **profile**: `string` \| [`JWTUser`](JWTUser.md)
|
|
118
118
|
|
|
119
|
-
Defined in: [src/JWTUtils.ts:46](https://github.com/rapidrest/core/blob/
|
|
119
|
+
Defined in: [src/JWTUtils.ts:46](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L46)
|
|
120
120
|
|
|
121
121
|
The user profile of the authenticated user the token is valid for.
|
|
122
122
|
|
|
@@ -126,7 +126,7 @@ The user profile of the authenticated user the token is valid for.
|
|
|
126
126
|
|
|
127
127
|
> **sessionUid**: `string`
|
|
128
128
|
|
|
129
|
-
Defined in: [src/JWTUtils.ts:49](https://github.com/rapidrest/core/blob/
|
|
129
|
+
Defined in: [src/JWTUtils.ts:49](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L49)
|
|
130
130
|
|
|
131
131
|
The unique identifier of the user's authentication session.
|
|
132
132
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: JWTUser
|
|
8
8
|
|
|
9
|
-
Defined in: [src/JWTUtils.ts:13](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/JWTUtils.ts:13](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L13)
|
|
10
10
|
|
|
11
11
|
Describes user data that is encoded in the payload of a JWT token.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Jean-Philippe Steinmetz <rapidrests@gmail.com>
|
|
|
20
20
|
|
|
21
21
|
> **name**: `string`
|
|
22
22
|
|
|
23
|
-
Defined in: [src/JWTUtils.ts:22](https://github.com/rapidrest/core/blob/
|
|
23
|
+
Defined in: [src/JWTUtils.ts:22](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L22)
|
|
24
24
|
|
|
25
25
|
The unique name of the user.
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The unique name of the user.
|
|
|
30
30
|
|
|
31
31
|
> **roles**: `string`[]
|
|
32
32
|
|
|
33
|
-
Defined in: [src/JWTUtils.ts:27](https://github.com/rapidrest/core/blob/
|
|
33
|
+
Defined in: [src/JWTUtils.ts:27](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L27)
|
|
34
34
|
|
|
35
35
|
The list of roles (by name) that the user is apart of and will assume privileges for.
|
|
36
36
|
|
|
@@ -40,7 +40,7 @@ The list of roles (by name) that the user is apart of and will assume privileges
|
|
|
40
40
|
|
|
41
41
|
> **uid**: `string`
|
|
42
42
|
|
|
43
|
-
Defined in: [src/JWTUtils.ts:17](https://github.com/rapidrest/core/blob/
|
|
43
|
+
Defined in: [src/JWTUtils.ts:17](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L17)
|
|
44
44
|
|
|
45
45
|
The universally unique identifier of the user.
|
|
46
46
|
|
|
@@ -50,6 +50,6 @@ The universally unique identifier of the user.
|
|
|
50
50
|
|
|
51
51
|
> `optional` **verified?**: `boolean`
|
|
52
52
|
|
|
53
|
-
Defined in: [src/JWTUtils.ts:32](https://github.com/rapidrest/core/blob/
|
|
53
|
+
Defined in: [src/JWTUtils.ts:32](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L32)
|
|
54
54
|
|
|
55
55
|
Indicates if the user's e-mail address has been verified.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: JWTUtilsConfig
|
|
8
8
|
|
|
9
|
-
Defined in: [src/JWTUtils.ts:123](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/JWTUtils.ts:123](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L123)
|
|
10
10
|
|
|
11
11
|
Describes the configuration options to be used with `JWTUtils` functions.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Jean-Philippe Steinmetz <rapidrests@gmail.com>
|
|
|
20
20
|
|
|
21
21
|
> `optional` **options?**: `VerifyOptions`
|
|
22
22
|
|
|
23
|
-
Defined in: [src/JWTUtils.ts:132](https://github.com/rapidrest/core/blob/
|
|
23
|
+
Defined in: [src/JWTUtils.ts:132](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L132)
|
|
24
24
|
|
|
25
25
|
The options to use when performing JWT signing or verification.
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The options to use when performing JWT signing or verification.
|
|
|
30
30
|
|
|
31
31
|
> `optional` **payload?**: [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md) \| [`JWTUtilsPayloadPasswordOptions`](JWTUtilsPayloadPasswordOptions.md) \| [`JWTUtilsPayloadKeyOptions`](JWTUtilsPayloadKeyOptions.md)
|
|
32
32
|
|
|
33
|
-
Defined in: [src/JWTUtils.ts:137](https://github.com/rapidrest/core/blob/
|
|
33
|
+
Defined in: [src/JWTUtils.ts:137](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L137)
|
|
34
34
|
|
|
35
35
|
The options that determine how JWT token payloads will be handled.
|
|
36
36
|
|
|
@@ -40,6 +40,6 @@ The options that determine how JWT token payloads will be handled.
|
|
|
40
40
|
|
|
41
41
|
> **secret**: `Secret`
|
|
42
42
|
|
|
43
|
-
Defined in: [src/JWTUtils.ts:127](https://github.com/rapidrest/core/blob/
|
|
43
|
+
Defined in: [src/JWTUtils.ts:127](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L127)
|
|
44
44
|
|
|
45
45
|
The secret to use for signing and verifying JWT tokens.
|