@3sixty/api-auth-entity-storage-rest-client 0.0.0-stage → 0.20.0-next.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/LICENSE +201 -0
- package/README.md +24 -2
- package/dist/es/entityStorageAuthenticationAdminRestClient.js +115 -0
- package/dist/es/entityStorageAuthenticationAdminRestClient.js.map +1 -0
- package/dist/es/entityStorageAuthenticationAuditRestClient.js +111 -0
- package/dist/es/entityStorageAuthenticationAuditRestClient.js.map +1 -0
- package/dist/es/entityStorageAuthenticationRestClient.js +103 -0
- package/dist/es/entityStorageAuthenticationRestClient.js.map +1 -0
- package/dist/es/index.js +7 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/entityStorageAuthenticationRestClientConstructorOptions.js +2 -0
- package/dist/es/models/entityStorageAuthenticationRestClientConstructorOptions.js.map +1 -0
- package/dist/types/entityStorageAuthenticationAdminRestClient.d.ts +62 -0
- package/dist/types/entityStorageAuthenticationAuditRestClient.d.ts +73 -0
- package/dist/types/entityStorageAuthenticationRestClient.d.ts +54 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/models/entityStorageAuthenticationRestClientConstructorOptions.d.ts +11 -0
- package/docs/changelog.md +0 -0
- package/docs/examples.md +111 -0
- package/docs/reference/classes/EntityStorageAuthenticationAdminRestClient.md +323 -0
- package/docs/reference/classes/EntityStorageAuthenticationAuditRestClient.md +343 -0
- package/docs/reference/classes/EntityStorageAuthenticationRestClient.md +271 -0
- package/docs/reference/index.md +11 -0
- package/docs/reference/interfaces/IEntityStorageAuthenticationRestClientConstructorOptions.md +153 -0
- package/locales/en.json +1 -0
- package/package.json +54 -5
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
# Class: EntityStorageAuthenticationAuditRestClient
|
|
2
|
+
|
|
3
|
+
The client to connect to the authentication audit service.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `BaseRestClient`
|
|
8
|
+
|
|
9
|
+
## Implements
|
|
10
|
+
|
|
11
|
+
- `IAuthenticationAuditComponent`
|
|
12
|
+
|
|
13
|
+
## Constructors
|
|
14
|
+
|
|
15
|
+
### Constructor
|
|
16
|
+
|
|
17
|
+
> **new EntityStorageAuthenticationAuditRestClient**(`config`): `EntityStorageAuthenticationAuditRestClient`
|
|
18
|
+
|
|
19
|
+
Create a new instance of EntityStorageAuthenticationAuditRestClient.
|
|
20
|
+
|
|
21
|
+
#### Parameters
|
|
22
|
+
|
|
23
|
+
##### config
|
|
24
|
+
|
|
25
|
+
`IBaseRestClientConfig`
|
|
26
|
+
|
|
27
|
+
The configuration for the client.
|
|
28
|
+
|
|
29
|
+
#### Returns
|
|
30
|
+
|
|
31
|
+
`EntityStorageAuthenticationAuditRestClient`
|
|
32
|
+
|
|
33
|
+
#### Overrides
|
|
34
|
+
|
|
35
|
+
`BaseRestClient.constructor`
|
|
36
|
+
|
|
37
|
+
## Properties
|
|
38
|
+
|
|
39
|
+
### CLASS\_NAME {#class_name}
|
|
40
|
+
|
|
41
|
+
> `readonly` `static` **CLASS\_NAME**: `string`
|
|
42
|
+
|
|
43
|
+
Runtime name for the class.
|
|
44
|
+
|
|
45
|
+
## Methods
|
|
46
|
+
|
|
47
|
+
### className() {#classname}
|
|
48
|
+
|
|
49
|
+
> **className**(): `string`
|
|
50
|
+
|
|
51
|
+
Returns the class name of the component.
|
|
52
|
+
|
|
53
|
+
#### Returns
|
|
54
|
+
|
|
55
|
+
`string`
|
|
56
|
+
|
|
57
|
+
The class name of the component.
|
|
58
|
+
|
|
59
|
+
#### Implementation of
|
|
60
|
+
|
|
61
|
+
`IAuthenticationAuditComponent.className`
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### create() {#create}
|
|
66
|
+
|
|
67
|
+
> **create**(`entry`): `Promise`\<`string`\>
|
|
68
|
+
|
|
69
|
+
Create a new audit entry.
|
|
70
|
+
|
|
71
|
+
#### Parameters
|
|
72
|
+
|
|
73
|
+
##### entry
|
|
74
|
+
|
|
75
|
+
`Omit`\<`IAuthenticationAuditEntry`, `"id"` \| `"dateCreated"`\>
|
|
76
|
+
|
|
77
|
+
The audit entry to be logged.
|
|
78
|
+
|
|
79
|
+
#### Returns
|
|
80
|
+
|
|
81
|
+
`Promise`\<`string`\>
|
|
82
|
+
|
|
83
|
+
The unique identifier of the created audit entry.
|
|
84
|
+
|
|
85
|
+
#### Implementation of
|
|
86
|
+
|
|
87
|
+
`IAuthenticationAuditComponent.create`
|
|
88
|
+
|
|
89
|
+
***
|
|
90
|
+
|
|
91
|
+
### get() {#get}
|
|
92
|
+
|
|
93
|
+
> **get**(`id`): `Promise`\<`IAuthenticationAuditEntry`\>
|
|
94
|
+
|
|
95
|
+
Get an audit entry by id.
|
|
96
|
+
|
|
97
|
+
#### Parameters
|
|
98
|
+
|
|
99
|
+
##### id
|
|
100
|
+
|
|
101
|
+
`string`
|
|
102
|
+
|
|
103
|
+
The unique identifier of the audit entry.
|
|
104
|
+
|
|
105
|
+
#### Returns
|
|
106
|
+
|
|
107
|
+
`Promise`\<`IAuthenticationAuditEntry`\>
|
|
108
|
+
|
|
109
|
+
The audit entry.
|
|
110
|
+
|
|
111
|
+
#### Implementation of
|
|
112
|
+
|
|
113
|
+
`IAuthenticationAuditComponent.get`
|
|
114
|
+
|
|
115
|
+
***
|
|
116
|
+
|
|
117
|
+
### update() {#update}
|
|
118
|
+
|
|
119
|
+
> **update**(`id`, `entry`): `Promise`\<`void`\>
|
|
120
|
+
|
|
121
|
+
Update an audit entry.
|
|
122
|
+
|
|
123
|
+
#### Parameters
|
|
124
|
+
|
|
125
|
+
##### id
|
|
126
|
+
|
|
127
|
+
`string`
|
|
128
|
+
|
|
129
|
+
The unique identifier of the audit entry to update.
|
|
130
|
+
|
|
131
|
+
##### entry
|
|
132
|
+
|
|
133
|
+
`Partial`\<`Omit`\<`IAuthenticationAuditEntry`, `"id"` \| `"dateCreated"`\>\>
|
|
134
|
+
|
|
135
|
+
The fields to update on the audit entry.
|
|
136
|
+
|
|
137
|
+
#### Returns
|
|
138
|
+
|
|
139
|
+
`Promise`\<`void`\>
|
|
140
|
+
|
|
141
|
+
A promise that resolves when the audit entry has been updated.
|
|
142
|
+
|
|
143
|
+
#### Implementation of
|
|
144
|
+
|
|
145
|
+
`IAuthenticationAuditComponent.update`
|
|
146
|
+
|
|
147
|
+
***
|
|
148
|
+
|
|
149
|
+
### remove() {#remove}
|
|
150
|
+
|
|
151
|
+
> **remove**(`id`): `Promise`\<`void`\>
|
|
152
|
+
|
|
153
|
+
Remove an audit entry.
|
|
154
|
+
|
|
155
|
+
#### Parameters
|
|
156
|
+
|
|
157
|
+
##### id
|
|
158
|
+
|
|
159
|
+
`string`
|
|
160
|
+
|
|
161
|
+
The unique identifier of the audit entry to remove.
|
|
162
|
+
|
|
163
|
+
#### Returns
|
|
164
|
+
|
|
165
|
+
`Promise`\<`void`\>
|
|
166
|
+
|
|
167
|
+
A promise that resolves when the audit entry has been removed.
|
|
168
|
+
|
|
169
|
+
#### Implementation of
|
|
170
|
+
|
|
171
|
+
`IAuthenticationAuditComponent.remove`
|
|
172
|
+
|
|
173
|
+
***
|
|
174
|
+
|
|
175
|
+
### query() {#query}
|
|
176
|
+
|
|
177
|
+
> **query**(`options?`, `cursor?`, `limit?`): `Promise`\<\{ `entries`: `IAuthenticationAuditEntry`[]; `cursor?`: `string`; \}\>
|
|
178
|
+
|
|
179
|
+
Query the audit entries.
|
|
180
|
+
|
|
181
|
+
#### Parameters
|
|
182
|
+
|
|
183
|
+
##### options?
|
|
184
|
+
|
|
185
|
+
The query options.
|
|
186
|
+
|
|
187
|
+
###### actorId?
|
|
188
|
+
|
|
189
|
+
`string`
|
|
190
|
+
|
|
191
|
+
The actor identifier to filter the audit entries, optional.
|
|
192
|
+
|
|
193
|
+
###### organizationId?
|
|
194
|
+
|
|
195
|
+
`string`
|
|
196
|
+
|
|
197
|
+
The organization identifier to filter the audit entries, optional.
|
|
198
|
+
|
|
199
|
+
###### tenantId?
|
|
200
|
+
|
|
201
|
+
`string`
|
|
202
|
+
|
|
203
|
+
The tenant identifier to filter the audit entries, optional.
|
|
204
|
+
|
|
205
|
+
###### nodeId?
|
|
206
|
+
|
|
207
|
+
`string`
|
|
208
|
+
|
|
209
|
+
The node identifier to filter the audit entries, optional.
|
|
210
|
+
|
|
211
|
+
###### event?
|
|
212
|
+
|
|
213
|
+
`string`
|
|
214
|
+
|
|
215
|
+
The audit event to filter the audit entries, optional.
|
|
216
|
+
|
|
217
|
+
###### startDate?
|
|
218
|
+
|
|
219
|
+
`string`
|
|
220
|
+
|
|
221
|
+
The start date to filter the audit entries, optional.
|
|
222
|
+
|
|
223
|
+
###### endDate?
|
|
224
|
+
|
|
225
|
+
`string`
|
|
226
|
+
|
|
227
|
+
The end date to filter the audit entries, optional.
|
|
228
|
+
|
|
229
|
+
##### cursor?
|
|
230
|
+
|
|
231
|
+
`string`
|
|
232
|
+
|
|
233
|
+
The cursor for pagination.
|
|
234
|
+
|
|
235
|
+
##### limit?
|
|
236
|
+
|
|
237
|
+
`number`
|
|
238
|
+
|
|
239
|
+
The maximum number of entries to return.
|
|
240
|
+
|
|
241
|
+
#### Returns
|
|
242
|
+
|
|
243
|
+
`Promise`\<\{ `entries`: `IAuthenticationAuditEntry`[]; `cursor?`: `string`; \}\>
|
|
244
|
+
|
|
245
|
+
The audit entries.
|
|
246
|
+
|
|
247
|
+
#### Implementation of
|
|
248
|
+
|
|
249
|
+
`IAuthenticationAuditComponent.query`
|
|
250
|
+
|
|
251
|
+
***
|
|
252
|
+
|
|
253
|
+
### getEndpointWithPrefix() {#getendpointwithprefix}
|
|
254
|
+
|
|
255
|
+
> **getEndpointWithPrefix**(): `string`
|
|
256
|
+
|
|
257
|
+
Get the endpoint with the prefix for the namespace.
|
|
258
|
+
|
|
259
|
+
#### Returns
|
|
260
|
+
|
|
261
|
+
`string`
|
|
262
|
+
|
|
263
|
+
The endpoint with namespace prefix attached.
|
|
264
|
+
|
|
265
|
+
#### Inherited from
|
|
266
|
+
|
|
267
|
+
`BaseRestClient.getEndpointWithPrefix`
|
|
268
|
+
|
|
269
|
+
***
|
|
270
|
+
|
|
271
|
+
### getPathPrefix() {#getpathprefix}
|
|
272
|
+
|
|
273
|
+
> **getPathPrefix**(): `string`
|
|
274
|
+
|
|
275
|
+
Get the path prefix as a URL path string provided in the constructor.
|
|
276
|
+
|
|
277
|
+
#### Returns
|
|
278
|
+
|
|
279
|
+
`string`
|
|
280
|
+
|
|
281
|
+
The path prefix.
|
|
282
|
+
|
|
283
|
+
#### Inherited from
|
|
284
|
+
|
|
285
|
+
`BaseRestClient.getPathPrefix`
|
|
286
|
+
|
|
287
|
+
***
|
|
288
|
+
|
|
289
|
+
### fetch() {#fetch}
|
|
290
|
+
|
|
291
|
+
> **fetch**\<`T`, `U`\>(`route`, `method`, `request?`, `options?`): `Promise`\<`U`\>
|
|
292
|
+
|
|
293
|
+
Perform a request in json format.
|
|
294
|
+
|
|
295
|
+
#### Type Parameters
|
|
296
|
+
|
|
297
|
+
##### T
|
|
298
|
+
|
|
299
|
+
`T` *extends* `IHttpRequest`\<`any`\>
|
|
300
|
+
|
|
301
|
+
##### U
|
|
302
|
+
|
|
303
|
+
`U` *extends* `IHttpResponse`\<`any`\>
|
|
304
|
+
|
|
305
|
+
#### Parameters
|
|
306
|
+
|
|
307
|
+
##### route
|
|
308
|
+
|
|
309
|
+
`string`
|
|
310
|
+
|
|
311
|
+
The route of the request.
|
|
312
|
+
|
|
313
|
+
##### method
|
|
314
|
+
|
|
315
|
+
`HttpMethod`
|
|
316
|
+
|
|
317
|
+
The http method.
|
|
318
|
+
|
|
319
|
+
##### request?
|
|
320
|
+
|
|
321
|
+
`T`
|
|
322
|
+
|
|
323
|
+
Request to send to the endpoint.
|
|
324
|
+
|
|
325
|
+
##### options?
|
|
326
|
+
|
|
327
|
+
Optional override options for the request.
|
|
328
|
+
|
|
329
|
+
###### overridePrefix?
|
|
330
|
+
|
|
331
|
+
`string`
|
|
332
|
+
|
|
333
|
+
Optional override prefix to use for this request instead of the default prefix.
|
|
334
|
+
|
|
335
|
+
#### Returns
|
|
336
|
+
|
|
337
|
+
`Promise`\<`U`\>
|
|
338
|
+
|
|
339
|
+
The response.
|
|
340
|
+
|
|
341
|
+
#### Inherited from
|
|
342
|
+
|
|
343
|
+
`BaseRestClient.fetch`
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
# Class: EntityStorageAuthenticationRestClient
|
|
2
|
+
|
|
3
|
+
The client to connect to the authentication service.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `BaseRestClient`
|
|
8
|
+
|
|
9
|
+
## Implements
|
|
10
|
+
|
|
11
|
+
- `IAuthenticationComponent`
|
|
12
|
+
|
|
13
|
+
## Constructors
|
|
14
|
+
|
|
15
|
+
### Constructor
|
|
16
|
+
|
|
17
|
+
> **new EntityStorageAuthenticationRestClient**(`config`): `EntityStorageAuthenticationRestClient`
|
|
18
|
+
|
|
19
|
+
Create a new instance of EntityStorageAuthenticationRestClient.
|
|
20
|
+
|
|
21
|
+
#### Parameters
|
|
22
|
+
|
|
23
|
+
##### config
|
|
24
|
+
|
|
25
|
+
[`IEntityStorageAuthenticationRestClientConstructorOptions`](../interfaces/IEntityStorageAuthenticationRestClientConstructorOptions.md)
|
|
26
|
+
|
|
27
|
+
The configuration for the client.
|
|
28
|
+
|
|
29
|
+
#### Returns
|
|
30
|
+
|
|
31
|
+
`EntityStorageAuthenticationRestClient`
|
|
32
|
+
|
|
33
|
+
#### Overrides
|
|
34
|
+
|
|
35
|
+
`BaseRestClient.constructor`
|
|
36
|
+
|
|
37
|
+
## Properties
|
|
38
|
+
|
|
39
|
+
### CLASS\_NAME {#class_name}
|
|
40
|
+
|
|
41
|
+
> `readonly` `static` **CLASS\_NAME**: `string`
|
|
42
|
+
|
|
43
|
+
Runtime name for the class.
|
|
44
|
+
|
|
45
|
+
## Methods
|
|
46
|
+
|
|
47
|
+
### className() {#classname}
|
|
48
|
+
|
|
49
|
+
> **className**(): `string`
|
|
50
|
+
|
|
51
|
+
Returns the class name of the component.
|
|
52
|
+
|
|
53
|
+
#### Returns
|
|
54
|
+
|
|
55
|
+
`string`
|
|
56
|
+
|
|
57
|
+
The class name of the component.
|
|
58
|
+
|
|
59
|
+
#### Implementation of
|
|
60
|
+
|
|
61
|
+
`IAuthenticationComponent.className`
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### login() {#login}
|
|
66
|
+
|
|
67
|
+
> **login**(`email`, `password`): `Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
|
|
68
|
+
|
|
69
|
+
Perform a login for the user.
|
|
70
|
+
|
|
71
|
+
#### Parameters
|
|
72
|
+
|
|
73
|
+
##### email
|
|
74
|
+
|
|
75
|
+
`string`
|
|
76
|
+
|
|
77
|
+
The email address for the user.
|
|
78
|
+
|
|
79
|
+
##### password
|
|
80
|
+
|
|
81
|
+
`string`
|
|
82
|
+
|
|
83
|
+
The password for the user.
|
|
84
|
+
|
|
85
|
+
#### Returns
|
|
86
|
+
|
|
87
|
+
`Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
|
|
88
|
+
|
|
89
|
+
The authentication token for the user, if it uses a mechanism with public access.
|
|
90
|
+
|
|
91
|
+
#### Implementation of
|
|
92
|
+
|
|
93
|
+
`IAuthenticationComponent.login`
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### logout() {#logout}
|
|
98
|
+
|
|
99
|
+
> **logout**(`token?`): `Promise`\<`void`\>
|
|
100
|
+
|
|
101
|
+
Logout the current user.
|
|
102
|
+
|
|
103
|
+
#### Parameters
|
|
104
|
+
|
|
105
|
+
##### token?
|
|
106
|
+
|
|
107
|
+
`string`
|
|
108
|
+
|
|
109
|
+
The token to logout, if it uses a mechanism with public access.
|
|
110
|
+
|
|
111
|
+
#### Returns
|
|
112
|
+
|
|
113
|
+
`Promise`\<`void`\>
|
|
114
|
+
|
|
115
|
+
A promise that resolves when the logout request has completed.
|
|
116
|
+
|
|
117
|
+
#### Implementation of
|
|
118
|
+
|
|
119
|
+
`IAuthenticationComponent.logout`
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### refresh() {#refresh}
|
|
124
|
+
|
|
125
|
+
> **refresh**(`token?`): `Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
|
|
126
|
+
|
|
127
|
+
Refresh the token.
|
|
128
|
+
|
|
129
|
+
#### Parameters
|
|
130
|
+
|
|
131
|
+
##### token?
|
|
132
|
+
|
|
133
|
+
`string`
|
|
134
|
+
|
|
135
|
+
The token to refresh, if it uses a mechanism with public access.
|
|
136
|
+
|
|
137
|
+
#### Returns
|
|
138
|
+
|
|
139
|
+
`Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
|
|
140
|
+
|
|
141
|
+
The refreshed token, if it uses a mechanism with public access.
|
|
142
|
+
|
|
143
|
+
#### Implementation of
|
|
144
|
+
|
|
145
|
+
`IAuthenticationComponent.refresh`
|
|
146
|
+
|
|
147
|
+
***
|
|
148
|
+
|
|
149
|
+
### updatePassword() {#updatepassword}
|
|
150
|
+
|
|
151
|
+
> **updatePassword**(`currentPassword`, `newPassword`): `Promise`\<`void`\>
|
|
152
|
+
|
|
153
|
+
Update the user's password.
|
|
154
|
+
|
|
155
|
+
#### Parameters
|
|
156
|
+
|
|
157
|
+
##### currentPassword
|
|
158
|
+
|
|
159
|
+
`string`
|
|
160
|
+
|
|
161
|
+
The current password for the user.
|
|
162
|
+
|
|
163
|
+
##### newPassword
|
|
164
|
+
|
|
165
|
+
`string`
|
|
166
|
+
|
|
167
|
+
The new password for the user.
|
|
168
|
+
|
|
169
|
+
#### Returns
|
|
170
|
+
|
|
171
|
+
`Promise`\<`void`\>
|
|
172
|
+
|
|
173
|
+
A promise that resolves when the password has been updated on the server.
|
|
174
|
+
|
|
175
|
+
#### Implementation of
|
|
176
|
+
|
|
177
|
+
`IAuthenticationComponent.updatePassword`
|
|
178
|
+
|
|
179
|
+
***
|
|
180
|
+
|
|
181
|
+
### getEndpointWithPrefix() {#getendpointwithprefix}
|
|
182
|
+
|
|
183
|
+
> **getEndpointWithPrefix**(): `string`
|
|
184
|
+
|
|
185
|
+
Get the endpoint with the prefix for the namespace.
|
|
186
|
+
|
|
187
|
+
#### Returns
|
|
188
|
+
|
|
189
|
+
`string`
|
|
190
|
+
|
|
191
|
+
The endpoint with namespace prefix attached.
|
|
192
|
+
|
|
193
|
+
#### Inherited from
|
|
194
|
+
|
|
195
|
+
`BaseRestClient.getEndpointWithPrefix`
|
|
196
|
+
|
|
197
|
+
***
|
|
198
|
+
|
|
199
|
+
### getPathPrefix() {#getpathprefix}
|
|
200
|
+
|
|
201
|
+
> **getPathPrefix**(): `string`
|
|
202
|
+
|
|
203
|
+
Get the path prefix as a URL path string provided in the constructor.
|
|
204
|
+
|
|
205
|
+
#### Returns
|
|
206
|
+
|
|
207
|
+
`string`
|
|
208
|
+
|
|
209
|
+
The path prefix.
|
|
210
|
+
|
|
211
|
+
#### Inherited from
|
|
212
|
+
|
|
213
|
+
`BaseRestClient.getPathPrefix`
|
|
214
|
+
|
|
215
|
+
***
|
|
216
|
+
|
|
217
|
+
### fetch() {#fetch}
|
|
218
|
+
|
|
219
|
+
> **fetch**\<`T`, `U`\>(`route`, `method`, `request?`, `options?`): `Promise`\<`U`\>
|
|
220
|
+
|
|
221
|
+
Perform a request in json format.
|
|
222
|
+
|
|
223
|
+
#### Type Parameters
|
|
224
|
+
|
|
225
|
+
##### T
|
|
226
|
+
|
|
227
|
+
`T` *extends* `IHttpRequest`\<`any`\>
|
|
228
|
+
|
|
229
|
+
##### U
|
|
230
|
+
|
|
231
|
+
`U` *extends* `IHttpResponse`\<`any`\>
|
|
232
|
+
|
|
233
|
+
#### Parameters
|
|
234
|
+
|
|
235
|
+
##### route
|
|
236
|
+
|
|
237
|
+
`string`
|
|
238
|
+
|
|
239
|
+
The route of the request.
|
|
240
|
+
|
|
241
|
+
##### method
|
|
242
|
+
|
|
243
|
+
`HttpMethod`
|
|
244
|
+
|
|
245
|
+
The http method.
|
|
246
|
+
|
|
247
|
+
##### request?
|
|
248
|
+
|
|
249
|
+
`T`
|
|
250
|
+
|
|
251
|
+
Request to send to the endpoint.
|
|
252
|
+
|
|
253
|
+
##### options?
|
|
254
|
+
|
|
255
|
+
Optional override options for the request.
|
|
256
|
+
|
|
257
|
+
###### overridePrefix?
|
|
258
|
+
|
|
259
|
+
`string`
|
|
260
|
+
|
|
261
|
+
Optional override prefix to use for this request instead of the default prefix.
|
|
262
|
+
|
|
263
|
+
#### Returns
|
|
264
|
+
|
|
265
|
+
`Promise`\<`U`\>
|
|
266
|
+
|
|
267
|
+
The response.
|
|
268
|
+
|
|
269
|
+
#### Inherited from
|
|
270
|
+
|
|
271
|
+
`BaseRestClient.fetch`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @3sixty/api-auth-entity-storage-rest-client
|
|
2
|
+
|
|
3
|
+
## Classes
|
|
4
|
+
|
|
5
|
+
- [EntityStorageAuthenticationAdminRestClient](classes/EntityStorageAuthenticationAdminRestClient.md)
|
|
6
|
+
- [EntityStorageAuthenticationAuditRestClient](classes/EntityStorageAuthenticationAuditRestClient.md)
|
|
7
|
+
- [EntityStorageAuthenticationRestClient](classes/EntityStorageAuthenticationRestClient.md)
|
|
8
|
+
|
|
9
|
+
## Interfaces
|
|
10
|
+
|
|
11
|
+
- [IEntityStorageAuthenticationRestClientConstructorOptions](interfaces/IEntityStorageAuthenticationRestClientConstructorOptions.md)
|