@fusionauth/typescript-client 1.31.0 → 1.32.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.
|
@@ -42,7 +42,7 @@ export declare class FusionAuthClient {
|
|
|
42
42
|
* Adds a user to an existing family. The family id must be specified.
|
|
43
43
|
*
|
|
44
44
|
* @param {UUID} familyId The id of the family.
|
|
45
|
-
* @param {FamilyRequest} request The request object that contains all
|
|
45
|
+
* @param {FamilyRequest} request The request object that contains all the information used to determine which user to add to the family.
|
|
46
46
|
* @returns {Promise<ClientResponse<FamilyResponse>>}
|
|
47
47
|
*/
|
|
48
48
|
addUserToFamily(familyId: UUID, request: FamilyRequest): Promise<ClientResponse<FamilyResponse>>;
|
|
@@ -75,7 +75,7 @@ export declare class FusionAuthClient {
|
|
|
75
75
|
/**
|
|
76
76
|
* Adds a comment to the user's account.
|
|
77
77
|
*
|
|
78
|
-
* @param {UserCommentRequest} request The request object that contains all
|
|
78
|
+
* @param {UserCommentRequest} request The request object that contains all the information used to create the user comment.
|
|
79
79
|
* @returns {Promise<ClientResponse<void>>}
|
|
80
80
|
*/
|
|
81
81
|
commentOnUser(request: UserCommentRequest): Promise<ClientResponse<void>>;
|
|
@@ -95,7 +95,7 @@ export declare class FusionAuthClient {
|
|
|
95
95
|
* Creates an application. You can optionally specify an Id for the application, if not provided one will be generated.
|
|
96
96
|
*
|
|
97
97
|
* @param {UUID} applicationId (Optional) The Id to use for the application. If not provided a secure random UUID will be generated.
|
|
98
|
-
* @param {ApplicationRequest} request The request object that contains all
|
|
98
|
+
* @param {ApplicationRequest} request The request object that contains all the information used to create the application.
|
|
99
99
|
* @returns {Promise<ClientResponse<ApplicationResponse>>}
|
|
100
100
|
*/
|
|
101
101
|
createApplication(applicationId: UUID, request: ApplicationRequest): Promise<ClientResponse<ApplicationResponse>>;
|
|
@@ -105,7 +105,7 @@ export declare class FusionAuthClient {
|
|
|
105
105
|
*
|
|
106
106
|
* @param {UUID} applicationId The Id of the application to create the role on.
|
|
107
107
|
* @param {UUID} roleId (Optional) The Id of the role. If not provided a secure random UUID will be generated.
|
|
108
|
-
* @param {ApplicationRequest} request The request object that contains all
|
|
108
|
+
* @param {ApplicationRequest} request The request object that contains all the information used to create the application role.
|
|
109
109
|
* @returns {Promise<ClientResponse<ApplicationResponse>>}
|
|
110
110
|
*/
|
|
111
111
|
createApplicationRole(applicationId: UUID, roleId: UUID, request: ApplicationRequest): Promise<ClientResponse<ApplicationResponse>>;
|
|
@@ -114,7 +114,7 @@ export declare class FusionAuthClient {
|
|
|
114
114
|
* make changes to the FusionAuth database. When using the FusionAuth App web interface, any changes are automatically
|
|
115
115
|
* written to the audit log. However, if you are accessing the API, you must write the audit logs yourself.
|
|
116
116
|
*
|
|
117
|
-
* @param {AuditLogRequest} request The request object that contains all
|
|
117
|
+
* @param {AuditLogRequest} request The request object that contains all the information used to create the audit log entry.
|
|
118
118
|
* @returns {Promise<ClientResponse<AuditLogResponse>>}
|
|
119
119
|
*/
|
|
120
120
|
createAuditLog(request: AuditLogRequest): Promise<ClientResponse<AuditLogResponse>>;
|
|
@@ -122,7 +122,7 @@ export declare class FusionAuthClient {
|
|
|
122
122
|
* Creates a connector. You can optionally specify an Id for the connector, if not provided one will be generated.
|
|
123
123
|
*
|
|
124
124
|
* @param {UUID} connectorId (Optional) The Id for the connector. If not provided a secure random UUID will be generated.
|
|
125
|
-
* @param {ConnectorRequest} request The request object that contains all
|
|
125
|
+
* @param {ConnectorRequest} request The request object that contains all the information used to create the connector.
|
|
126
126
|
* @returns {Promise<ClientResponse<ConnectorResponse>>}
|
|
127
127
|
*/
|
|
128
128
|
createConnector(connectorId: UUID, request: ConnectorRequest): Promise<ClientResponse<ConnectorResponse>>;
|
|
@@ -130,7 +130,7 @@ export declare class FusionAuthClient {
|
|
|
130
130
|
* Creates a user consent type. You can optionally specify an Id for the consent type, if not provided one will be generated.
|
|
131
131
|
*
|
|
132
132
|
* @param {UUID} consentId (Optional) The Id for the consent. If not provided a secure random UUID will be generated.
|
|
133
|
-
* @param {ConsentRequest} request The request object that contains all
|
|
133
|
+
* @param {ConsentRequest} request The request object that contains all the information used to create the consent.
|
|
134
134
|
* @returns {Promise<ClientResponse<ConsentResponse>>}
|
|
135
135
|
*/
|
|
136
136
|
createConsent(consentId: UUID, request: ConsentRequest): Promise<ClientResponse<ConsentResponse>>;
|
|
@@ -138,7 +138,7 @@ export declare class FusionAuthClient {
|
|
|
138
138
|
* Creates an email template. You can optionally specify an Id for the template, if not provided one will be generated.
|
|
139
139
|
*
|
|
140
140
|
* @param {UUID} emailTemplateId (Optional) The Id for the template. If not provided a secure random UUID will be generated.
|
|
141
|
-
* @param {EmailTemplateRequest} request The request object that contains all
|
|
141
|
+
* @param {EmailTemplateRequest} request The request object that contains all the information used to create the email template.
|
|
142
142
|
* @returns {Promise<ClientResponse<EmailTemplateResponse>>}
|
|
143
143
|
*/
|
|
144
144
|
createEmailTemplate(emailTemplateId: UUID, request: EmailTemplateRequest): Promise<ClientResponse<EmailTemplateResponse>>;
|
|
@@ -146,7 +146,7 @@ export declare class FusionAuthClient {
|
|
|
146
146
|
* Creates an Entity. You can optionally specify an Id for the Entity. If not provided one will be generated.
|
|
147
147
|
*
|
|
148
148
|
* @param {UUID} entityId (Optional) The Id for the Entity. If not provided a secure random UUID will be generated.
|
|
149
|
-
* @param {EntityRequest} request The request object that contains all
|
|
149
|
+
* @param {EntityRequest} request The request object that contains all the information used to create the Entity.
|
|
150
150
|
* @returns {Promise<ClientResponse<EntityResponse>>}
|
|
151
151
|
*/
|
|
152
152
|
createEntity(entityId: UUID, request: EntityRequest): Promise<ClientResponse<EntityResponse>>;
|
|
@@ -154,7 +154,7 @@ export declare class FusionAuthClient {
|
|
|
154
154
|
* Creates a Entity Type. You can optionally specify an Id for the Entity Type, if not provided one will be generated.
|
|
155
155
|
*
|
|
156
156
|
* @param {UUID} entityTypeId (Optional) The Id for the Entity Type. If not provided a secure random UUID will be generated.
|
|
157
|
-
* @param {EntityTypeRequest} request The request object that contains all
|
|
157
|
+
* @param {EntityTypeRequest} request The request object that contains all the information used to create the Entity Type.
|
|
158
158
|
* @returns {Promise<ClientResponse<EntityTypeResponse>>}
|
|
159
159
|
*/
|
|
160
160
|
createEntityType(entityTypeId: UUID, request: EntityTypeRequest): Promise<ClientResponse<EntityTypeResponse>>;
|
|
@@ -164,7 +164,7 @@ export declare class FusionAuthClient {
|
|
|
164
164
|
*
|
|
165
165
|
* @param {UUID} entityTypeId The Id of the entity type to create the permission on.
|
|
166
166
|
* @param {UUID} permissionId (Optional) The Id of the permission. If not provided a secure random UUID will be generated.
|
|
167
|
-
* @param {EntityTypeRequest} request The request object that contains all
|
|
167
|
+
* @param {EntityTypeRequest} request The request object that contains all the information used to create the permission.
|
|
168
168
|
* @returns {Promise<ClientResponse<EntityTypeResponse>>}
|
|
169
169
|
*/
|
|
170
170
|
createEntityTypePermission(entityTypeId: UUID, permissionId: UUID, request: EntityTypeRequest): Promise<ClientResponse<EntityTypeResponse>>;
|
|
@@ -173,7 +173,7 @@ export declare class FusionAuthClient {
|
|
|
173
173
|
* family, if not provided one will be generated.
|
|
174
174
|
*
|
|
175
175
|
* @param {UUID} familyId (Optional) The id for the family. If not provided a secure random UUID will be generated.
|
|
176
|
-
* @param {FamilyRequest} request The request object that contains all
|
|
176
|
+
* @param {FamilyRequest} request The request object that contains all the information used to create the family.
|
|
177
177
|
* @returns {Promise<ClientResponse<FamilyResponse>>}
|
|
178
178
|
*/
|
|
179
179
|
createFamily(familyId: UUID, request: FamilyRequest): Promise<ClientResponse<FamilyResponse>>;
|
|
@@ -181,7 +181,7 @@ export declare class FusionAuthClient {
|
|
|
181
181
|
* Creates a form. You can optionally specify an Id for the form, if not provided one will be generated.
|
|
182
182
|
*
|
|
183
183
|
* @param {UUID} formId (Optional) The Id for the form. If not provided a secure random UUID will be generated.
|
|
184
|
-
* @param {FormRequest} request The request object that contains all
|
|
184
|
+
* @param {FormRequest} request The request object that contains all the information used to create the form.
|
|
185
185
|
* @returns {Promise<ClientResponse<FormResponse>>}
|
|
186
186
|
*/
|
|
187
187
|
createForm(formId: UUID, request: FormRequest): Promise<ClientResponse<FormResponse>>;
|
|
@@ -189,7 +189,7 @@ export declare class FusionAuthClient {
|
|
|
189
189
|
* Creates a form field. You can optionally specify an Id for the form, if not provided one will be generated.
|
|
190
190
|
*
|
|
191
191
|
* @param {UUID} fieldId (Optional) The Id for the form field. If not provided a secure random UUID will be generated.
|
|
192
|
-
* @param {FormFieldRequest} request The request object that contains all
|
|
192
|
+
* @param {FormFieldRequest} request The request object that contains all the information used to create the form field.
|
|
193
193
|
* @returns {Promise<ClientResponse<FormFieldResponse>>}
|
|
194
194
|
*/
|
|
195
195
|
createFormField(fieldId: UUID, request: FormFieldRequest): Promise<ClientResponse<FormFieldResponse>>;
|
|
@@ -197,14 +197,14 @@ export declare class FusionAuthClient {
|
|
|
197
197
|
* Creates a group. You can optionally specify an Id for the group, if not provided one will be generated.
|
|
198
198
|
*
|
|
199
199
|
* @param {UUID} groupId (Optional) The Id for the group. If not provided a secure random UUID will be generated.
|
|
200
|
-
* @param {GroupRequest} request The request object that contains all
|
|
200
|
+
* @param {GroupRequest} request The request object that contains all the information used to create the group.
|
|
201
201
|
* @returns {Promise<ClientResponse<GroupResponse>>}
|
|
202
202
|
*/
|
|
203
203
|
createGroup(groupId: UUID, request: GroupRequest): Promise<ClientResponse<GroupResponse>>;
|
|
204
204
|
/**
|
|
205
205
|
* Creates a member in a group.
|
|
206
206
|
*
|
|
207
|
-
* @param {MemberRequest} request The request object that contains all
|
|
207
|
+
* @param {MemberRequest} request The request object that contains all the information used to create the group member(s).
|
|
208
208
|
* @returns {Promise<ClientResponse<MemberResponse>>}
|
|
209
209
|
*/
|
|
210
210
|
createGroupMembers(request: MemberRequest): Promise<ClientResponse<MemberResponse>>;
|
|
@@ -212,7 +212,7 @@ export declare class FusionAuthClient {
|
|
|
212
212
|
* Creates an IP Access Control List. You can optionally specify an Id on this create request, if one is not provided one will be generated.
|
|
213
213
|
*
|
|
214
214
|
* @param {UUID} accessControlListId (Optional) The Id for the IP Access Control List. If not provided a secure random UUID will be generated.
|
|
215
|
-
* @param {IPAccessControlListRequest} request The request object that contains all
|
|
215
|
+
* @param {IPAccessControlListRequest} request The request object that contains all the information used to create the IP Access Control List.
|
|
216
216
|
* @returns {Promise<ClientResponse<IPAccessControlListResponse>>}
|
|
217
217
|
*/
|
|
218
218
|
createIPAccessControlList(accessControlListId: UUID, request: IPAccessControlListRequest): Promise<ClientResponse<IPAccessControlListResponse>>;
|
|
@@ -220,7 +220,7 @@ export declare class FusionAuthClient {
|
|
|
220
220
|
* Creates an identity provider. You can optionally specify an Id for the identity provider, if not provided one will be generated.
|
|
221
221
|
*
|
|
222
222
|
* @param {UUID} identityProviderId (Optional) The Id of the identity provider. If not provided a secure random UUID will be generated.
|
|
223
|
-
* @param {IdentityProviderRequest} request The request object that contains all
|
|
223
|
+
* @param {IdentityProviderRequest} request The request object that contains all the information used to create the identity provider.
|
|
224
224
|
* @returns {Promise<ClientResponse<IdentityProviderResponse>>}
|
|
225
225
|
*/
|
|
226
226
|
createIdentityProvider(identityProviderId: UUID, request: IdentityProviderRequest): Promise<ClientResponse<IdentityProviderResponse>>;
|
|
@@ -228,7 +228,7 @@ export declare class FusionAuthClient {
|
|
|
228
228
|
* Creates a Lambda. You can optionally specify an Id for the lambda, if not provided one will be generated.
|
|
229
229
|
*
|
|
230
230
|
* @param {UUID} lambdaId (Optional) The Id for the lambda. If not provided a secure random UUID will be generated.
|
|
231
|
-
* @param {LambdaRequest} request The request object that contains all
|
|
231
|
+
* @param {LambdaRequest} request The request object that contains all the information used to create the lambda.
|
|
232
232
|
* @returns {Promise<ClientResponse<LambdaResponse>>}
|
|
233
233
|
*/
|
|
234
234
|
createLambda(lambdaId: UUID, request: LambdaRequest): Promise<ClientResponse<LambdaResponse>>;
|
|
@@ -236,7 +236,7 @@ export declare class FusionAuthClient {
|
|
|
236
236
|
* Creates an message template. You can optionally specify an Id for the template, if not provided one will be generated.
|
|
237
237
|
*
|
|
238
238
|
* @param {UUID} messageTemplateId (Optional) The Id for the template. If not provided a secure random UUID will be generated.
|
|
239
|
-
* @param {MessageTemplateRequest} request The request object that contains all
|
|
239
|
+
* @param {MessageTemplateRequest} request The request object that contains all the information used to create the message template.
|
|
240
240
|
* @returns {Promise<ClientResponse<MessageTemplateResponse>>}
|
|
241
241
|
*/
|
|
242
242
|
createMessageTemplate(messageTemplateId: UUID, request: MessageTemplateRequest): Promise<ClientResponse<MessageTemplateResponse>>;
|
|
@@ -244,7 +244,7 @@ export declare class FusionAuthClient {
|
|
|
244
244
|
* Creates a messenger. You can optionally specify an Id for the messenger, if not provided one will be generated.
|
|
245
245
|
*
|
|
246
246
|
* @param {UUID} messengerId (Optional) The Id for the messenger. If not provided a secure random UUID will be generated.
|
|
247
|
-
* @param {MessengerRequest} request The request object that contains all
|
|
247
|
+
* @param {MessengerRequest} request The request object that contains all the information used to create the messenger.
|
|
248
248
|
* @returns {Promise<ClientResponse<MessengerResponse>>}
|
|
249
249
|
*/
|
|
250
250
|
createMessenger(messengerId: UUID, request: MessengerRequest): Promise<ClientResponse<MessengerResponse>>;
|
|
@@ -252,7 +252,7 @@ export declare class FusionAuthClient {
|
|
|
252
252
|
* Creates a tenant. You can optionally specify an Id for the tenant, if not provided one will be generated.
|
|
253
253
|
*
|
|
254
254
|
* @param {UUID} tenantId (Optional) The Id for the tenant. If not provided a secure random UUID will be generated.
|
|
255
|
-
* @param {TenantRequest} request The request object that contains all
|
|
255
|
+
* @param {TenantRequest} request The request object that contains all the information used to create the tenant.
|
|
256
256
|
* @returns {Promise<ClientResponse<TenantResponse>>}
|
|
257
257
|
*/
|
|
258
258
|
createTenant(tenantId: UUID, request: TenantRequest): Promise<ClientResponse<TenantResponse>>;
|
|
@@ -260,7 +260,7 @@ export declare class FusionAuthClient {
|
|
|
260
260
|
* Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
|
|
261
261
|
*
|
|
262
262
|
* @param {UUID} themeId (Optional) The Id for the theme. If not provided a secure random UUID will be generated.
|
|
263
|
-
* @param {ThemeRequest} request The request object that contains all
|
|
263
|
+
* @param {ThemeRequest} request The request object that contains all the information used to create the theme.
|
|
264
264
|
* @returns {Promise<ClientResponse<ThemeResponse>>}
|
|
265
265
|
*/
|
|
266
266
|
createTheme(themeId: UUID, request: ThemeRequest): Promise<ClientResponse<ThemeResponse>>;
|
|
@@ -268,7 +268,7 @@ export declare class FusionAuthClient {
|
|
|
268
268
|
* Creates a user. You can optionally specify an Id for the user, if not provided one will be generated.
|
|
269
269
|
*
|
|
270
270
|
* @param {UUID} userId (Optional) The Id for the user. If not provided a secure random UUID will be generated.
|
|
271
|
-
* @param {UserRequest} request The request object that contains all
|
|
271
|
+
* @param {UserRequest} request The request object that contains all the information used to create the user.
|
|
272
272
|
* @returns {Promise<ClientResponse<UserResponse>>}
|
|
273
273
|
*/
|
|
274
274
|
createUser(userId: UUID, request: UserRequest): Promise<ClientResponse<UserResponse>>;
|
|
@@ -277,7 +277,7 @@ export declare class FusionAuthClient {
|
|
|
277
277
|
* that the user action can be applied to any user.
|
|
278
278
|
*
|
|
279
279
|
* @param {UUID} userActionId (Optional) The Id for the user action. If not provided a secure random UUID will be generated.
|
|
280
|
-
* @param {UserActionRequest} request The request object that contains all
|
|
280
|
+
* @param {UserActionRequest} request The request object that contains all the information used to create the user action.
|
|
281
281
|
* @returns {Promise<ClientResponse<UserActionResponse>>}
|
|
282
282
|
*/
|
|
283
283
|
createUserAction(userActionId: UUID, request: UserActionRequest): Promise<ClientResponse<UserActionResponse>>;
|
|
@@ -286,7 +286,7 @@ export declare class FusionAuthClient {
|
|
|
286
286
|
* successfully. Anytime after that the user action reason can be used.
|
|
287
287
|
*
|
|
288
288
|
* @param {UUID} userActionReasonId (Optional) The Id for the user action reason. If not provided a secure random UUID will be generated.
|
|
289
|
-
* @param {UserActionReasonRequest} request The request object that contains all
|
|
289
|
+
* @param {UserActionReasonRequest} request The request object that contains all the information used to create the user action reason.
|
|
290
290
|
* @returns {Promise<ClientResponse<UserActionReasonResponse>>}
|
|
291
291
|
*/
|
|
292
292
|
createUserActionReason(userActionReasonId: UUID, request: UserActionReasonRequest): Promise<ClientResponse<UserActionReasonResponse>>;
|
|
@@ -301,7 +301,7 @@ export declare class FusionAuthClient {
|
|
|
301
301
|
/**
|
|
302
302
|
* Link an external user from a 3rd party identity provider to a FusionAuth user.
|
|
303
303
|
*
|
|
304
|
-
* @param {IdentityProviderLinkRequest} request The request object that contains all
|
|
304
|
+
* @param {IdentityProviderLinkRequest} request The request object that contains all the information used to link the FusionAuth user.
|
|
305
305
|
* @returns {Promise<ClientResponse<IdentityProviderLinkResponse>>}
|
|
306
306
|
*/
|
|
307
307
|
createUserLink(request: IdentityProviderLinkRequest): Promise<ClientResponse<IdentityProviderLinkResponse>>;
|
|
@@ -309,7 +309,7 @@ export declare class FusionAuthClient {
|
|
|
309
309
|
* Creates a webhook. You can optionally specify an Id for the webhook, if not provided one will be generated.
|
|
310
310
|
*
|
|
311
311
|
* @param {UUID} webhookId (Optional) The Id for the webhook. If not provided a secure random UUID will be generated.
|
|
312
|
-
* @param {WebhookRequest} request The request object that contains all
|
|
312
|
+
* @param {WebhookRequest} request The request object that contains all the information used to create the webhook.
|
|
313
313
|
* @returns {Promise<ClientResponse<WebhookResponse>>}
|
|
314
314
|
*/
|
|
315
315
|
createWebhook(webhookId: UUID, request: WebhookRequest): Promise<ClientResponse<WebhookResponse>>;
|
|
@@ -543,7 +543,7 @@ export declare class FusionAuthClient {
|
|
|
543
543
|
* with the tenant and everything under the tenant (applications, users, etc).
|
|
544
544
|
*
|
|
545
545
|
* @param {UUID} tenantId The Id of the tenant to delete.
|
|
546
|
-
* @param {TenantDeleteRequest} request The request object that contains all
|
|
546
|
+
* @param {TenantDeleteRequest} request The request object that contains all the information used to delete the user.
|
|
547
547
|
* @returns {Promise<ClientResponse<void>>}
|
|
548
548
|
*/
|
|
549
549
|
deleteTenantWithRequest(tenantId: UUID, request: TenantDeleteRequest): Promise<ClientResponse<void>>;
|
|
@@ -591,7 +591,7 @@ export declare class FusionAuthClient {
|
|
|
591
591
|
* with the user.
|
|
592
592
|
*
|
|
593
593
|
* @param {UUID} userId The Id of the user to delete (required).
|
|
594
|
-
* @param {UserDeleteSingleRequest} request The request object that contains all
|
|
594
|
+
* @param {UserDeleteSingleRequest} request The request object that contains all the information used to delete the user.
|
|
595
595
|
* @returns {Promise<ClientResponse<void>>}
|
|
596
596
|
*/
|
|
597
597
|
deleteUserWithRequest(userId: UUID, request: UserDeleteSingleRequest): Promise<ClientResponse<void>>;
|
|
@@ -725,7 +725,7 @@ export declare class FusionAuthClient {
|
|
|
725
725
|
* Generate a new RSA or EC key pair or an HMAC secret.
|
|
726
726
|
*
|
|
727
727
|
* @param {UUID} keyId (Optional) The Id for the key. If not provided a secure random UUID will be generated.
|
|
728
|
-
* @param {KeyRequest} request The request object that contains all
|
|
728
|
+
* @param {KeyRequest} request The request object that contains all the information used to create the key.
|
|
729
729
|
* @returns {Promise<ClientResponse<KeyResponse>>}
|
|
730
730
|
*/
|
|
731
731
|
generateKey(keyId: UUID, request: KeyRequest): Promise<ClientResponse<KeyResponse>>;
|
|
@@ -775,7 +775,7 @@ export declare class FusionAuthClient {
|
|
|
775
775
|
* Import an existing RSA or EC key pair or an HMAC secret.
|
|
776
776
|
*
|
|
777
777
|
* @param {UUID} keyId (Optional) The Id for the key. If not provided a secure random UUID will be generated.
|
|
778
|
-
* @param {KeyRequest} request The request object that contains all
|
|
778
|
+
* @param {KeyRequest} request The request object that contains all the information used to create the key.
|
|
779
779
|
* @returns {Promise<ClientResponse<KeyResponse>>}
|
|
780
780
|
*/
|
|
781
781
|
importKey(keyId: UUID, request: KeyRequest): Promise<ClientResponse<KeyResponse>>;
|
|
@@ -868,7 +868,7 @@ export declare class FusionAuthClient {
|
|
|
868
868
|
* The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the
|
|
869
869
|
* client and revoke the refresh token stored. This API takes the refresh token in the JSON body.
|
|
870
870
|
*
|
|
871
|
-
* @param {LogoutRequest} request The request object that contains all
|
|
871
|
+
* @param {LogoutRequest} request The request object that contains all the information used to logout the user.
|
|
872
872
|
* @returns {Promise<ClientResponse<void>>}
|
|
873
873
|
*/
|
|
874
874
|
logoutWithRequest(request: LogoutRequest): Promise<ClientResponse<void>>;
|
|
@@ -2057,7 +2057,7 @@ export declare class FusionAuthClient {
|
|
|
2057
2057
|
/**
|
|
2058
2058
|
* Send a Two Factor authentication code to assist in setting up Two Factor authentication or disabling.
|
|
2059
2059
|
*
|
|
2060
|
-
* @param {TwoFactorSendRequest} request The request object that contains all
|
|
2060
|
+
* @param {TwoFactorSendRequest} request The request object that contains all the information used to send the code.
|
|
2061
2061
|
* @returns {Promise<ClientResponse<void>>}
|
|
2062
2062
|
*
|
|
2063
2063
|
* @deprecated This method has been renamed to sendTwoFactorCodeForEnableDisable, use that method instead.
|
|
@@ -2066,7 +2066,7 @@ export declare class FusionAuthClient {
|
|
|
2066
2066
|
/**
|
|
2067
2067
|
* Send a Two Factor authentication code to assist in setting up Two Factor authentication or disabling.
|
|
2068
2068
|
*
|
|
2069
|
-
* @param {TwoFactorSendRequest} request The request object that contains all
|
|
2069
|
+
* @param {TwoFactorSendRequest} request The request object that contains all the information used to send the code.
|
|
2070
2070
|
* @returns {Promise<ClientResponse<void>>}
|
|
2071
2071
|
*/
|
|
2072
2072
|
sendTwoFactorCodeForEnableDisable(request: TwoFactorSendRequest): Promise<ClientResponse<void>>;
|
|
@@ -2126,7 +2126,7 @@ export declare class FusionAuthClient {
|
|
|
2126
2126
|
* Updates an API key by given id
|
|
2127
2127
|
*
|
|
2128
2128
|
* @param {UUID} apiKeyId The Id of the API key to update.
|
|
2129
|
-
* @param {APIKeyRequest} request The request object that contains all
|
|
2129
|
+
* @param {APIKeyRequest} request The request object that contains all the information used to create the API Key.
|
|
2130
2130
|
* @returns {Promise<ClientResponse<APIKeyResponse>>}
|
|
2131
2131
|
*/
|
|
2132
2132
|
updateAPIKey(apiKeyId: UUID, request: APIKeyRequest): Promise<ClientResponse<APIKeyResponse>>;
|
|
@@ -2350,7 +2350,7 @@ export declare class FusionAuthClient {
|
|
|
2350
2350
|
* Creates or updates an Entity Grant. This is when a User/Entity is granted permissions to an Entity.
|
|
2351
2351
|
*
|
|
2352
2352
|
* @param {UUID} entityId The Id of the Entity that the User/Entity is being granted access to.
|
|
2353
|
-
* @param {EntityGrantRequest} request The request object that contains all
|
|
2353
|
+
* @param {EntityGrantRequest} request The request object that contains all the information used to create the Entity Grant.
|
|
2354
2354
|
* @returns {Promise<ClientResponse<void>>}
|
|
2355
2355
|
*/
|
|
2356
2356
|
upsertEntityGrant(entityId: UUID, request: EntityGrantRequest): Promise<ClientResponse<void>>;
|
|
@@ -2844,6 +2844,7 @@ export interface BaseIdentityProvider<D extends BaseIdentityProviderApplicationC
|
|
|
2844
2844
|
lastUpdateInstant?: number;
|
|
2845
2845
|
linkingStrategy?: IdentityProviderLinkingStrategy;
|
|
2846
2846
|
name?: string;
|
|
2847
|
+
tenantConfiguration?: Record<UUID, IdentityProviderTenantConfiguration>;
|
|
2847
2848
|
type?: IdentityProviderType;
|
|
2848
2849
|
}
|
|
2849
2850
|
/**
|
|
@@ -3192,12 +3193,14 @@ export interface EmailAddress {
|
|
|
3192
3193
|
* @author Brian Pontarelli
|
|
3193
3194
|
*/
|
|
3194
3195
|
export interface EmailConfiguration {
|
|
3196
|
+
additionalHeaders?: Array<EmailHeader>;
|
|
3195
3197
|
defaultFromEmail?: string;
|
|
3196
3198
|
defaultFromName?: string;
|
|
3197
3199
|
emailUpdateEmailTemplateId?: UUID;
|
|
3198
3200
|
emailVerifiedEmailTemplateId?: UUID;
|
|
3199
3201
|
forgotPasswordEmailTemplateId?: UUID;
|
|
3200
3202
|
host?: string;
|
|
3203
|
+
implicitEmailVerificationAllowed?: boolean;
|
|
3201
3204
|
loginIdInUseOnCreateEmailTemplateId?: UUID;
|
|
3202
3205
|
loginIdInUseOnUpdateEmailTemplateId?: UUID;
|
|
3203
3206
|
loginNewDeviceEmailTemplateId?: UUID;
|
|
@@ -3219,6 +3222,13 @@ export interface EmailConfiguration {
|
|
|
3219
3222
|
verifyEmail?: boolean;
|
|
3220
3223
|
verifyEmailWhenChanged?: boolean;
|
|
3221
3224
|
}
|
|
3225
|
+
/**
|
|
3226
|
+
* @author Daniel DeGroff
|
|
3227
|
+
*/
|
|
3228
|
+
export interface EmailHeader {
|
|
3229
|
+
name?: string;
|
|
3230
|
+
value?: string;
|
|
3231
|
+
}
|
|
3222
3232
|
export interface EmailPlus extends Enableable {
|
|
3223
3233
|
emailTemplateId?: UUID;
|
|
3224
3234
|
maximumTimeToSendEmailInHours?: number;
|
|
@@ -3507,6 +3517,7 @@ export interface EpicGamesIdentityProvider extends BaseIdentityProvider<EpicGame
|
|
|
3507
3517
|
*/
|
|
3508
3518
|
export interface Error {
|
|
3509
3519
|
code?: string;
|
|
3520
|
+
data?: Record<string, any>;
|
|
3510
3521
|
message?: string;
|
|
3511
3522
|
}
|
|
3512
3523
|
/**
|
|
@@ -4124,6 +4135,12 @@ export interface IdentityProviderDetails {
|
|
|
4124
4135
|
oauth2?: IdentityProviderOauth2Configuration;
|
|
4125
4136
|
type?: IdentityProviderType;
|
|
4126
4137
|
}
|
|
4138
|
+
/**
|
|
4139
|
+
* @author Daniel DeGroff
|
|
4140
|
+
*/
|
|
4141
|
+
export interface IdentityProviderLimitUserLinkingPolicy extends Enableable {
|
|
4142
|
+
maximumLinks?: number;
|
|
4143
|
+
}
|
|
4127
4144
|
/**
|
|
4128
4145
|
* @author Daniel DeGroff
|
|
4129
4146
|
*/
|
|
@@ -4231,6 +4248,13 @@ export interface IdentityProviderStartLoginRequest extends BaseLoginRequest {
|
|
|
4231
4248
|
export interface IdentityProviderStartLoginResponse {
|
|
4232
4249
|
code?: string;
|
|
4233
4250
|
}
|
|
4251
|
+
/**
|
|
4252
|
+
* @author Daniel DeGroff
|
|
4253
|
+
*/
|
|
4254
|
+
export interface IdentityProviderTenantConfiguration {
|
|
4255
|
+
data?: Record<string, any>;
|
|
4256
|
+
limitUserLinkCount?: IdentityProviderLimitUserLinkingPolicy;
|
|
4257
|
+
}
|
|
4234
4258
|
/**
|
|
4235
4259
|
* @author Daniel DeGroff
|
|
4236
4260
|
*/
|
|
@@ -5266,7 +5290,9 @@ export interface PendingIdPLink {
|
|
|
5266
5290
|
displayName?: string;
|
|
5267
5291
|
email?: string;
|
|
5268
5292
|
identityProviderId?: UUID;
|
|
5293
|
+
identityProviderLinks?: Array<IdentityProviderLink>;
|
|
5269
5294
|
identityProviderName?: string;
|
|
5295
|
+
identityProviderTenantConfiguration?: IdentityProviderTenantConfiguration;
|
|
5270
5296
|
identityProviderType?: IdentityProviderType;
|
|
5271
5297
|
identityProviderUserId?: string;
|
|
5272
5298
|
user?: User;
|