auth0 5.5.0 → 5.7.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/dist/cjs/management/Client.d.ts +12 -0
- package/dist/cjs/management/Client.js +67 -0
- package/dist/cjs/management/api/requests/requests.d.ts +181 -24
- package/dist/cjs/management/api/resources/actions/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/actions/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +4 -3
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +46 -0
- package/dist/cjs/management/api/resources/clients/client/Client.js +146 -1
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +43 -0
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +152 -0
- package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +30 -0
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +115 -0
- package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/eventStreams/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +16 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +57 -0
- package/dist/cjs/management/api/resources/networkAcls/client/Client.d.ts +0 -2
- package/dist/cjs/management/api/resources/networkAcls/client/Client.js +0 -2
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.js +13 -8
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.d.ts +95 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +383 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +3 -1
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +23 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +88 -0
- package/dist/cjs/management/api/types/types.d.ts +673 -322
- package/dist/cjs/management/api/types/types.js +180 -134
- package/dist/cjs/management/core/auth/BasicAuth.d.ts +2 -2
- package/dist/cjs/management/core/auth/BasicAuth.js +7 -1
- package/dist/cjs/management/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/cjs/management/core/fetcher/Fetcher.d.ts +2 -0
- package/dist/cjs/management/core/fetcher/Fetcher.js +5 -1
- package/dist/cjs/management/core/fetcher/index.d.ts +2 -0
- package/dist/cjs/management/core/fetcher/index.js +3 -1
- package/dist/cjs/management/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/management/core/fetcher/makePassthroughRequest.js +135 -0
- package/dist/cjs/management/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/cjs/management/core/fetcher/makeRequest.js +30 -9
- package/dist/cjs/management/core/pagination/Page.d.ts +1 -1
- package/dist/cjs/management/core/pagination/index.d.ts +0 -1
- package/dist/cjs/management/core/pagination/index.js +1 -4
- package/dist/cjs/management/core/runtime/runtime.js +8 -7
- package/dist/cjs/management/errors/ManagementError.d.ts +3 -1
- package/dist/cjs/management/errors/ManagementError.js +4 -1
- package/dist/cjs/management/errors/ManagementTimeoutError.d.ts +4 -1
- package/dist/cjs/management/errors/ManagementTimeoutError.js +4 -1
- package/dist/cjs/management/errors/handleNonStatusCodeError.js +4 -1
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/Client.d.mts +12 -0
- package/dist/esm/management/Client.mjs +34 -0
- package/dist/esm/management/api/requests/requests.d.mts +181 -24
- package/dist/esm/management/api/resources/actions/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/actions/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +4 -3
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +46 -0
- package/dist/esm/management/api/resources/clients/client/Client.mjs +146 -1
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +43 -0
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +152 -0
- package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +30 -0
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +115 -0
- package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +16 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +57 -0
- package/dist/esm/management/api/resources/networkAcls/client/Client.d.mts +0 -2
- package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +0 -2
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.d.mts +95 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +346 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +3 -1
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +23 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +88 -0
- package/dist/esm/management/api/types/types.d.mts +673 -322
- package/dist/esm/management/api/types/types.mjs +170 -124
- package/dist/esm/management/core/auth/BasicAuth.d.mts +2 -2
- package/dist/esm/management/core/auth/BasicAuth.mjs +7 -1
- package/dist/esm/management/core/fetcher/BinaryResponse.d.mts +1 -1
- package/dist/esm/management/core/fetcher/Fetcher.d.mts +2 -0
- package/dist/esm/management/core/fetcher/Fetcher.mjs +5 -1
- package/dist/esm/management/core/fetcher/index.d.mts +2 -0
- package/dist/esm/management/core/fetcher/index.mjs +1 -0
- package/dist/esm/management/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/management/core/fetcher/makePassthroughRequest.mjs +132 -0
- package/dist/esm/management/core/fetcher/makeRequest.d.mts +6 -1
- package/dist/esm/management/core/fetcher/makeRequest.mjs +28 -9
- package/dist/esm/management/core/pagination/Page.d.mts +1 -1
- package/dist/esm/management/core/pagination/index.d.mts +0 -1
- package/dist/esm/management/core/pagination/index.mjs +0 -1
- package/dist/esm/management/core/runtime/runtime.mjs +8 -7
- package/dist/esm/management/errors/ManagementError.d.mts +3 -1
- package/dist/esm/management/errors/ManagementError.mjs +4 -1
- package/dist/esm/management/errors/ManagementTimeoutError.d.mts +4 -1
- package/dist/esm/management/errors/ManagementTimeoutError.mjs +4 -1
- package/dist/esm/management/errors/handleNonStatusCodeError.mjs +4 -1
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +5 -6
- package/reference.md +958 -68
- package/dist/cjs/management/core/pagination/CustomPager.d.ts +0 -67
- package/dist/cjs/management/core/pagination/CustomPager.js +0 -194
- package/dist/esm/management/core/pagination/CustomPager.d.mts +0 -67
- package/dist/esm/management/core/pagination/CustomPager.mjs +0 -189
|
@@ -3,7 +3,7 @@ import * as Management from "../index.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @example
|
|
5
5
|
* {
|
|
6
|
-
* triggerId: "
|
|
6
|
+
* triggerId: "post-login",
|
|
7
7
|
* actionName: "actionName",
|
|
8
8
|
* deployed: true,
|
|
9
9
|
* page: 1,
|
|
@@ -30,7 +30,7 @@ export interface ListActionsRequestParameters {
|
|
|
30
30
|
* {
|
|
31
31
|
* name: "name",
|
|
32
32
|
* supported_triggers: [{
|
|
33
|
-
* id: "
|
|
33
|
+
* id: "post-login"
|
|
34
34
|
* }]
|
|
35
35
|
* }
|
|
36
36
|
*/
|
|
@@ -113,7 +113,8 @@ export interface UpdateBrandingRequestContent {
|
|
|
113
113
|
* audience: "audience",
|
|
114
114
|
* client_id: "client_id",
|
|
115
115
|
* allow_any_organization: true,
|
|
116
|
-
* subject_type: "client"
|
|
116
|
+
* subject_type: "client",
|
|
117
|
+
* default_for: "third_party_clients"
|
|
117
118
|
* }
|
|
118
119
|
*/
|
|
119
120
|
export interface ListClientGrantsRequestParameters {
|
|
@@ -129,19 +130,22 @@ export interface ListClientGrantsRequestParameters {
|
|
|
129
130
|
allow_any_organization?: Management.ClientGrantAllowAnyOrganizationEnum | null;
|
|
130
131
|
/** The type of application access the client grant allows. */
|
|
131
132
|
subject_type?: Management.ClientGrantSubjectTypeEnum | null;
|
|
133
|
+
/** Used to filter the returned client grants to include only default client grants for the specified group of clients. */
|
|
134
|
+
default_for?: Management.ClientGrantDefaultForEnum | null;
|
|
132
135
|
}
|
|
133
136
|
/**
|
|
134
137
|
* @example
|
|
135
138
|
* {
|
|
136
|
-
* client_id: "client_id",
|
|
137
139
|
* audience: "audience"
|
|
138
140
|
* }
|
|
139
141
|
*/
|
|
140
142
|
export interface CreateClientGrantRequestContent {
|
|
141
143
|
/** ID of the client. */
|
|
142
|
-
client_id
|
|
144
|
+
client_id?: string;
|
|
143
145
|
/** The audience (API identifier) of this client grant */
|
|
144
146
|
audience: string;
|
|
147
|
+
/** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. If specified, a value for `client_id` must not be specified. */
|
|
148
|
+
default_for?: Management.ClientGrantDefaultForEnum;
|
|
145
149
|
organization_usage?: Management.ClientGrantOrganizationUsageEnum;
|
|
146
150
|
/** If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. */
|
|
147
151
|
allow_any_organization?: boolean;
|
|
@@ -159,7 +163,7 @@ export interface CreateClientGrantRequestContent {
|
|
|
159
163
|
*/
|
|
160
164
|
export interface UpdateClientGrantRequestContent {
|
|
161
165
|
/** Scopes allowed for this client grant. */
|
|
162
|
-
scope?: string[];
|
|
166
|
+
scope?: string[] | null;
|
|
163
167
|
organization_usage?: Management.ClientGrantOrganizationNullableUsageEnum | null;
|
|
164
168
|
/** Controls allowing any organization to be used with this grant */
|
|
165
169
|
allow_any_organization?: boolean | null;
|
|
@@ -179,6 +183,7 @@ export interface UpdateClientGrantRequestContent {
|
|
|
179
183
|
* is_global: true,
|
|
180
184
|
* is_first_party: true,
|
|
181
185
|
* app_type: "app_type",
|
|
186
|
+
* external_client_id: "external_client_id",
|
|
182
187
|
* q: "q"
|
|
183
188
|
* }
|
|
184
189
|
*/
|
|
@@ -199,7 +204,9 @@ export interface ListClientsRequestParameters {
|
|
|
199
204
|
is_first_party?: boolean | null;
|
|
200
205
|
/** Optional filter by a comma-separated list of application types. */
|
|
201
206
|
app_type?: string | null;
|
|
202
|
-
/**
|
|
207
|
+
/** Optional filter by the <a href="https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-04.html">Client ID Metadata Document</a> URI for CIMD-registered clients. */
|
|
208
|
+
external_client_id?: string | null;
|
|
209
|
+
/** Advanced Query in <a href="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i> */
|
|
203
210
|
q?: string | null;
|
|
204
211
|
}
|
|
205
212
|
/**
|
|
@@ -290,9 +297,32 @@ export interface CreateClientRequestContent {
|
|
|
290
297
|
token_quota?: Management.CreateTokenQuota;
|
|
291
298
|
/** The identifier of the resource server that this client is linked to. */
|
|
292
299
|
resource_server_identifier?: string;
|
|
300
|
+
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
|
|
301
|
+
redirection_policy?: Management.ClientRedirectionPolicyEnum;
|
|
293
302
|
express_configuration?: Management.ExpressConfiguration;
|
|
303
|
+
my_organization_configuration?: Management.ClientMyOrganizationPostConfiguration;
|
|
294
304
|
async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration;
|
|
295
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* @example
|
|
308
|
+
* {
|
|
309
|
+
* external_client_id: "external_client_id"
|
|
310
|
+
* }
|
|
311
|
+
*/
|
|
312
|
+
export interface PreviewCimdMetadataRequestContent {
|
|
313
|
+
/** URL to the Client ID Metadata Document */
|
|
314
|
+
external_client_id: string;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* @example
|
|
318
|
+
* {
|
|
319
|
+
* external_client_id: "external_client_id"
|
|
320
|
+
* }
|
|
321
|
+
*/
|
|
322
|
+
export interface RegisterCimdClientRequestContent {
|
|
323
|
+
/** URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations. */
|
|
324
|
+
external_client_id: string;
|
|
325
|
+
}
|
|
296
326
|
/**
|
|
297
327
|
* @example
|
|
298
328
|
* {
|
|
@@ -377,7 +407,7 @@ export interface UpdateClientRequestContent {
|
|
|
377
407
|
organization_usage?: Management.ClientOrganizationUsagePatchEnum | null;
|
|
378
408
|
organization_require_behavior?: Management.ClientOrganizationRequireBehaviorPatchEnum | null;
|
|
379
409
|
/** Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both. */
|
|
380
|
-
organization_discovery_methods?: Management.ClientOrganizationDiscoveryEnum[];
|
|
410
|
+
organization_discovery_methods?: Management.ClientOrganizationDiscoveryEnum[] | null;
|
|
381
411
|
client_authentication_methods?: Management.ClientAuthenticationMethod | null;
|
|
382
412
|
/** Makes the use of Pushed Authorization Requests mandatory for this client */
|
|
383
413
|
require_pushed_authorization_requests?: boolean;
|
|
@@ -395,7 +425,10 @@ export interface UpdateClientRequestContent {
|
|
|
395
425
|
/** Specifies how long, in seconds, a Pushed Authorization Request URI remains valid */
|
|
396
426
|
par_request_expiry?: number | null;
|
|
397
427
|
express_configuration?: Management.ExpressConfigurationOrNull | null;
|
|
398
|
-
|
|
428
|
+
my_organization_configuration?: Management.ClientMyOrganizationPatchConfiguration | null;
|
|
429
|
+
async_approval_notification_channels?: (Management.ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration | undefined) | null;
|
|
430
|
+
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
|
|
431
|
+
redirection_policy?: Management.ClientRedirectionPolicyEnum;
|
|
399
432
|
}
|
|
400
433
|
/**
|
|
401
434
|
* @example
|
|
@@ -474,7 +507,7 @@ export interface CreateConnectionRequestContent {
|
|
|
474
507
|
display_name?: string;
|
|
475
508
|
strategy: Management.ConnectionIdentityProviderEnum;
|
|
476
509
|
options?: Management.ConnectionPropertiesOptions;
|
|
477
|
-
/**
|
|
510
|
+
/** Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. */
|
|
478
511
|
enabled_clients?: string[];
|
|
479
512
|
/** <code>true</code> promotes to a domain-level connection so that third-party applications can use it. <code>false</code> does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to <code>false</code>.) */
|
|
480
513
|
is_domain_connection?: boolean;
|
|
@@ -508,7 +541,7 @@ export interface UpdateConnectionRequestContent {
|
|
|
508
541
|
display_name?: string;
|
|
509
542
|
options?: Management.UpdateConnectionOptions | null;
|
|
510
543
|
/** DEPRECATED property. Use the PATCH /v2/connections/{id}/clients endpoint to enable or disable the connection for any clients. */
|
|
511
|
-
enabled_clients?: string[];
|
|
544
|
+
enabled_clients?: string[] | null;
|
|
512
545
|
/** <code>true</code> promotes to a domain-level connection so that third-party applications can use it. <code>false</code> does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to <code>false</code>.) */
|
|
513
546
|
is_domain_connection?: boolean;
|
|
514
547
|
/** Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to <code>false</code>.) */
|
|
@@ -529,7 +562,7 @@ export interface UpdateConnectionRequestContent {
|
|
|
529
562
|
* }
|
|
530
563
|
*/
|
|
531
564
|
export interface ListCustomDomainsRequestParameters {
|
|
532
|
-
/** Query in <a href ="
|
|
565
|
+
/** Query in <a href ="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene query string syntax</a>. */
|
|
533
566
|
q?: string | null;
|
|
534
567
|
/** Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. */
|
|
535
568
|
fields?: string | null;
|
|
@@ -556,6 +589,16 @@ export interface CreateCustomDomainRequestContent {
|
|
|
556
589
|
/** Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. */
|
|
557
590
|
relying_party_identifier?: string;
|
|
558
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* @example
|
|
594
|
+
* {
|
|
595
|
+
* domain: "domain"
|
|
596
|
+
* }
|
|
597
|
+
*/
|
|
598
|
+
export interface SetDefaultCustomDomainRequestContent {
|
|
599
|
+
/** The domain to set as the default custom domain. Must be a verified custom domain or the canonical domain. */
|
|
600
|
+
domain: string;
|
|
601
|
+
}
|
|
559
602
|
/**
|
|
560
603
|
* @example
|
|
561
604
|
* {}
|
|
@@ -720,7 +763,7 @@ export interface UpdateEventStreamRequestContent {
|
|
|
720
763
|
/**
|
|
721
764
|
* @example
|
|
722
765
|
* {
|
|
723
|
-
* event_type: "
|
|
766
|
+
* event_type: "group.created"
|
|
724
767
|
* }
|
|
725
768
|
*/
|
|
726
769
|
export interface CreateEventStreamTestEventRequestContent {
|
|
@@ -772,7 +815,7 @@ export interface GetFlowRequestParameters {
|
|
|
772
815
|
*/
|
|
773
816
|
export interface UpdateFlowRequestContent {
|
|
774
817
|
name?: string;
|
|
775
|
-
actions?: Management.FlowAction[];
|
|
818
|
+
actions?: Management.FlowAction[] | null;
|
|
776
819
|
}
|
|
777
820
|
/**
|
|
778
821
|
* @example
|
|
@@ -1028,7 +1071,6 @@ export interface ListNetworkAclsRequestParameters {
|
|
|
1028
1071
|
* {
|
|
1029
1072
|
* description: "description",
|
|
1030
1073
|
* active: true,
|
|
1031
|
-
* priority: 1.1,
|
|
1032
1074
|
* rule: {
|
|
1033
1075
|
* action: {},
|
|
1034
1076
|
* scope: "management"
|
|
@@ -1040,7 +1082,7 @@ export interface CreateNetworkAclRequestContent {
|
|
|
1040
1082
|
/** Indicates whether or not this access control list is actively being used */
|
|
1041
1083
|
active: boolean;
|
|
1042
1084
|
/** Indicates the order in which the ACL will be evaluated relative to other ACL rules. */
|
|
1043
|
-
priority
|
|
1085
|
+
priority?: number;
|
|
1044
1086
|
rule: Management.NetworkAclRule;
|
|
1045
1087
|
}
|
|
1046
1088
|
/**
|
|
@@ -1048,7 +1090,6 @@ export interface CreateNetworkAclRequestContent {
|
|
|
1048
1090
|
* {
|
|
1049
1091
|
* description: "description",
|
|
1050
1092
|
* active: true,
|
|
1051
|
-
* priority: 1.1,
|
|
1052
1093
|
* rule: {
|
|
1053
1094
|
* action: {},
|
|
1054
1095
|
* scope: "management"
|
|
@@ -1060,7 +1101,7 @@ export interface SetNetworkAclRequestContent {
|
|
|
1060
1101
|
/** Indicates whether or not this access control list is actively being used */
|
|
1061
1102
|
active: boolean;
|
|
1062
1103
|
/** Indicates the order in which the ACL will be evaluated relative to other ACL rules. */
|
|
1063
|
-
priority
|
|
1104
|
+
priority?: number;
|
|
1064
1105
|
rule: Management.NetworkAclRule;
|
|
1065
1106
|
}
|
|
1066
1107
|
/**
|
|
@@ -1132,6 +1173,31 @@ export interface UpdateSettingsRequestContent {
|
|
|
1132
1173
|
/** Use WebAuthn with Device Biometrics as the first authentication factor */
|
|
1133
1174
|
webauthn_platform_first_factor?: boolean | null;
|
|
1134
1175
|
}
|
|
1176
|
+
/**
|
|
1177
|
+
* @example
|
|
1178
|
+
* {
|
|
1179
|
+
* user_id: "user_id",
|
|
1180
|
+
* client_id: "client_id",
|
|
1181
|
+
* from: "from",
|
|
1182
|
+
* take: 1,
|
|
1183
|
+
* fields: "fields",
|
|
1184
|
+
* include_fields: true
|
|
1185
|
+
* }
|
|
1186
|
+
*/
|
|
1187
|
+
export interface GetRefreshTokensRequestParameters {
|
|
1188
|
+
/** ID of the user whose refresh tokens to retrieve. Required. */
|
|
1189
|
+
user_id: string;
|
|
1190
|
+
/** Filter results by client ID. Only valid when user_id is provided. */
|
|
1191
|
+
client_id?: string | null;
|
|
1192
|
+
/** An opaque cursor from which to start the selection (exclusive). Expires after 24 hours. Obtained from the next property of a previous response. */
|
|
1193
|
+
from?: string | null;
|
|
1194
|
+
/** Number of results per page. Defaults to 50. */
|
|
1195
|
+
take?: number | null;
|
|
1196
|
+
/** Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. */
|
|
1197
|
+
fields?: string | null;
|
|
1198
|
+
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
1199
|
+
include_fields?: boolean | null;
|
|
1200
|
+
}
|
|
1135
1201
|
/**
|
|
1136
1202
|
* @example
|
|
1137
1203
|
* {}
|
|
@@ -1179,6 +1245,8 @@ export interface CreateResourceServerRequestContent {
|
|
|
1179
1245
|
signing_secret?: string;
|
|
1180
1246
|
/** Whether refresh tokens can be issued for this API (true) or not (false). */
|
|
1181
1247
|
allow_offline_access?: boolean;
|
|
1248
|
+
/** Whether Online Refresh Tokens can be issued for this API (true) or not (false). */
|
|
1249
|
+
allow_online_access?: boolean;
|
|
1182
1250
|
/** Expiration value (in seconds) for access tokens issued for this API from the token endpoint. */
|
|
1183
1251
|
token_lifetime?: number;
|
|
1184
1252
|
token_dialect?: Management.ResourceServerTokenDialectSchemaEnum;
|
|
@@ -1188,7 +1256,7 @@ export interface CreateResourceServerRequestContent {
|
|
|
1188
1256
|
enforce_policies?: boolean;
|
|
1189
1257
|
token_encryption?: Management.ResourceServerTokenEncryption | null;
|
|
1190
1258
|
consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
|
|
1191
|
-
authorization_details?: unknown[];
|
|
1259
|
+
authorization_details?: unknown[] | null;
|
|
1192
1260
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1193
1261
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1194
1262
|
}
|
|
@@ -1218,6 +1286,8 @@ export interface UpdateResourceServerRequestContent {
|
|
|
1218
1286
|
skip_consent_for_verifiable_first_party_clients?: boolean;
|
|
1219
1287
|
/** Whether refresh tokens can be issued for this API (true) or not (false). */
|
|
1220
1288
|
allow_offline_access?: boolean;
|
|
1289
|
+
/** Whether Online Refresh Tokens can be issued for this API (true) or not (false). */
|
|
1290
|
+
allow_online_access?: boolean;
|
|
1221
1291
|
/** Expiration value (in seconds) for access tokens issued for this API from the token endpoint. */
|
|
1222
1292
|
token_lifetime?: number;
|
|
1223
1293
|
token_dialect?: Management.ResourceServerTokenDialectSchemaEnum;
|
|
@@ -1225,7 +1295,7 @@ export interface UpdateResourceServerRequestContent {
|
|
|
1225
1295
|
enforce_policies?: boolean;
|
|
1226
1296
|
token_encryption?: Management.ResourceServerTokenEncryption | null;
|
|
1227
1297
|
consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
|
|
1228
|
-
authorization_details?: unknown[];
|
|
1298
|
+
authorization_details?: unknown[] | null;
|
|
1229
1299
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1230
1300
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1231
1301
|
}
|
|
@@ -1629,7 +1699,7 @@ export interface ListUsersRequestParameters {
|
|
|
1629
1699
|
fields?: string | null;
|
|
1630
1700
|
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
1631
1701
|
include_fields?: boolean | null;
|
|
1632
|
-
/** Query in <a target='_new' href ='
|
|
1702
|
+
/** Query in <a target='_new' href ='https://lucene.apache.org/core/2_9_4/queryparsersyntax.html'>Lucene query string syntax</a>. Some query types cannot be used on metadata fields, for details see <a href='https://auth0.com/docs/users/search/v3/query-syntax#searchable-fields'>Searchable Fields</a>. */
|
|
1633
1703
|
q?: string | null;
|
|
1634
1704
|
/** The version of the search engine */
|
|
1635
1705
|
search_engine?: Management.SearchEngineVersionsEnum | null;
|
|
@@ -2241,6 +2311,8 @@ export interface PostClientCredentialRequestContent {
|
|
|
2241
2311
|
parse_expiry_from_cert?: boolean;
|
|
2242
2312
|
/** The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires. Applies to `public_key` credential type. */
|
|
2243
2313
|
expires_at?: string;
|
|
2314
|
+
/** Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64} */
|
|
2315
|
+
kid?: string;
|
|
2244
2316
|
}
|
|
2245
2317
|
/**
|
|
2246
2318
|
* @example
|
|
@@ -2284,6 +2356,31 @@ export interface ListDirectoryProvisioningsRequestParameters {
|
|
|
2284
2356
|
/** Number of results per page. Defaults to 50. */
|
|
2285
2357
|
take?: number | null;
|
|
2286
2358
|
}
|
|
2359
|
+
/**
|
|
2360
|
+
* @example
|
|
2361
|
+
* {
|
|
2362
|
+
* from: "from",
|
|
2363
|
+
* take: 1
|
|
2364
|
+
* }
|
|
2365
|
+
*/
|
|
2366
|
+
export interface ListSynchronizedGroupsRequestParameters {
|
|
2367
|
+
/** Optional Id from which to start selection. */
|
|
2368
|
+
from?: string | null;
|
|
2369
|
+
/** Number of results per page. Defaults to 50. */
|
|
2370
|
+
take?: number | null;
|
|
2371
|
+
}
|
|
2372
|
+
/**
|
|
2373
|
+
* @example
|
|
2374
|
+
* {
|
|
2375
|
+
* groups: [{
|
|
2376
|
+
* id: "id"
|
|
2377
|
+
* }]
|
|
2378
|
+
* }
|
|
2379
|
+
*/
|
|
2380
|
+
export interface ReplaceSynchronizedGroupsRequestContent {
|
|
2381
|
+
/** Array of Google Workspace Directory group objects to synchronize. */
|
|
2382
|
+
groups: Management.SynchronizedGroupPayload[];
|
|
2383
|
+
}
|
|
2287
2384
|
/**
|
|
2288
2385
|
* @example
|
|
2289
2386
|
* {
|
|
@@ -2824,6 +2921,63 @@ export interface AssociateOrganizationClientGrantRequestContent {
|
|
|
2824
2921
|
/** A Client Grant ID to add to the organization. */
|
|
2825
2922
|
grant_id: string;
|
|
2826
2923
|
}
|
|
2924
|
+
/**
|
|
2925
|
+
* @example
|
|
2926
|
+
* {
|
|
2927
|
+
* page: 1,
|
|
2928
|
+
* per_page: 1,
|
|
2929
|
+
* include_totals: true,
|
|
2930
|
+
* is_enabled: true
|
|
2931
|
+
* }
|
|
2932
|
+
*/
|
|
2933
|
+
export interface ListOrganizationAllConnectionsRequestParameters {
|
|
2934
|
+
/** Page index of the results to return. First page is 0. */
|
|
2935
|
+
page?: number | null;
|
|
2936
|
+
/** Number of results per page. Defaults to 50. */
|
|
2937
|
+
per_page?: number | null;
|
|
2938
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
2939
|
+
include_totals?: boolean | null;
|
|
2940
|
+
/** Filter connections by enabled status. */
|
|
2941
|
+
is_enabled?: boolean | null;
|
|
2942
|
+
}
|
|
2943
|
+
/**
|
|
2944
|
+
* @example
|
|
2945
|
+
* {
|
|
2946
|
+
* connection_id: "connection_id"
|
|
2947
|
+
* }
|
|
2948
|
+
*/
|
|
2949
|
+
export interface CreateOrganizationAllConnectionRequestParameters {
|
|
2950
|
+
/** Name of the connection in the scope of this organization. */
|
|
2951
|
+
organization_connection_name?: string;
|
|
2952
|
+
/** When true, all users that log in with this connection will be automatically granted membership in the organization. When false, users must be granted membership in the organization before logging in with this connection. */
|
|
2953
|
+
assign_membership_on_login?: boolean;
|
|
2954
|
+
/** Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true. */
|
|
2955
|
+
show_as_button?: boolean;
|
|
2956
|
+
/** Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false. */
|
|
2957
|
+
is_signup_enabled?: boolean;
|
|
2958
|
+
organization_access_level?: Management.OrganizationAccessLevelEnum;
|
|
2959
|
+
/** Whether the connection is enabled for the organization. */
|
|
2960
|
+
is_enabled?: boolean;
|
|
2961
|
+
/** Connection identifier. */
|
|
2962
|
+
connection_id: string;
|
|
2963
|
+
}
|
|
2964
|
+
/**
|
|
2965
|
+
* @example
|
|
2966
|
+
* {}
|
|
2967
|
+
*/
|
|
2968
|
+
export interface UpdateOrganizationConnectionRequestParameters {
|
|
2969
|
+
/** Name of the connection in the scope of this organization. */
|
|
2970
|
+
organization_connection_name?: string | null;
|
|
2971
|
+
/** When true, all users that log in with this connection will be automatically granted membership in the organization. When false, users must be granted membership in the organization before logging in with this connection. */
|
|
2972
|
+
assign_membership_on_login?: boolean;
|
|
2973
|
+
/** Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true. */
|
|
2974
|
+
show_as_button?: boolean;
|
|
2975
|
+
/** Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false. */
|
|
2976
|
+
is_signup_enabled?: boolean;
|
|
2977
|
+
organization_access_level?: Management.OrganizationAccessLevelEnumWithNull | null;
|
|
2978
|
+
/** Whether the connection is enabled for the organization. */
|
|
2979
|
+
is_enabled?: boolean | null;
|
|
2980
|
+
}
|
|
2827
2981
|
/**
|
|
2828
2982
|
* @example
|
|
2829
2983
|
* {
|
|
@@ -3094,13 +3248,13 @@ export interface BulkUpdateAculRequestContent {
|
|
|
3094
3248
|
export interface UpdateAculRequestContent {
|
|
3095
3249
|
/** Rendering mode */
|
|
3096
3250
|
rendering_mode?: Management.AculRenderingModeEnum;
|
|
3097
|
-
context_configuration?: Management.AculContextConfiguration;
|
|
3251
|
+
context_configuration?: (Management.AculContextConfiguration | undefined) | null;
|
|
3098
3252
|
/** Override Universal Login default head tags */
|
|
3099
3253
|
default_head_tags_disabled?: boolean | null;
|
|
3100
3254
|
/** Use page template with ACUL */
|
|
3101
3255
|
use_page_template?: boolean | null;
|
|
3102
3256
|
/** An array of head tags */
|
|
3103
|
-
head_tags?: Management.AculHeadTag[];
|
|
3257
|
+
head_tags?: Management.AculHeadTag[] | null;
|
|
3104
3258
|
filters?: Management.AculFilters | null;
|
|
3105
3259
|
}
|
|
3106
3260
|
/**
|
|
@@ -3270,7 +3424,7 @@ export interface UpdateTenantSettingsRequestContent {
|
|
|
3270
3424
|
/** Whether to accept an organization name instead of an ID on auth endpoints */
|
|
3271
3425
|
allow_organization_name_in_authentication_api?: boolean | null;
|
|
3272
3426
|
/** Supported ACR values */
|
|
3273
|
-
acr_values_supported?: string[];
|
|
3427
|
+
acr_values_supported?: string[] | null;
|
|
3274
3428
|
mtls?: Management.TenantSettingsMtls | null;
|
|
3275
3429
|
/** Enables the use of Pushed Authorization Requests */
|
|
3276
3430
|
pushed_authorization_requests_supported?: boolean | null;
|
|
@@ -3283,10 +3437,13 @@ export interface UpdateTenantSettingsRequestContent {
|
|
|
3283
3437
|
*/
|
|
3284
3438
|
skip_non_verifiable_callback_uri_confirmation_prompt?: boolean | null;
|
|
3285
3439
|
resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile;
|
|
3440
|
+
/** Whether the authorization server supports retrieving client metadata from a client_id URL. */
|
|
3441
|
+
client_id_metadata_document_supported?: boolean;
|
|
3286
3442
|
/** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
|
|
3287
3443
|
enable_ai_guide?: boolean;
|
|
3288
3444
|
/** Whether Phone Consolidated Experience is enabled for this tenant. */
|
|
3289
3445
|
phone_consolidated_experience?: boolean;
|
|
3446
|
+
dynamic_client_registration_security_mode?: Management.TenantSettingsDynamicClientRegistrationSecurityMode;
|
|
3290
3447
|
}
|
|
3291
3448
|
/**
|
|
3292
3449
|
* @example
|
|
@@ -35,7 +35,7 @@ export declare class ActionsClient {
|
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* await client.actions.list({
|
|
38
|
-
* triggerId: "
|
|
38
|
+
* triggerId: "post-login",
|
|
39
39
|
* actionName: "actionName",
|
|
40
40
|
* deployed: true,
|
|
41
41
|
* page: 1,
|
|
@@ -59,7 +59,7 @@ export declare class ActionsClient {
|
|
|
59
59
|
* await client.actions.create({
|
|
60
60
|
* name: "name",
|
|
61
61
|
* supported_triggers: [{
|
|
62
|
-
* id: "
|
|
62
|
+
* id: "post-login"
|
|
63
63
|
* }]
|
|
64
64
|
* })
|
|
65
65
|
*/
|
|
@@ -52,7 +52,7 @@ export class ActionsClient {
|
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* await client.actions.list({
|
|
55
|
-
* triggerId: "
|
|
55
|
+
* triggerId: "post-login",
|
|
56
56
|
* actionName: "actionName",
|
|
57
57
|
* deployed: true,
|
|
58
58
|
* page: 1,
|
|
@@ -66,7 +66,7 @@ export class ActionsClient {
|
|
|
66
66
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
67
67
|
const { triggerId, actionName, deployed, page = 0, per_page: perPage = 50, installed } = request;
|
|
68
68
|
const _queryParams = {
|
|
69
|
-
triggerId,
|
|
69
|
+
triggerId: triggerId !== undefined ? triggerId : undefined,
|
|
70
70
|
actionName,
|
|
71
71
|
deployed,
|
|
72
72
|
page,
|
|
@@ -141,7 +141,7 @@ export class ActionsClient {
|
|
|
141
141
|
* await client.actions.create({
|
|
142
142
|
* name: "name",
|
|
143
143
|
* supported_triggers: [{
|
|
144
|
-
* id: "
|
|
144
|
+
* id: "post-login"
|
|
145
145
|
* }]
|
|
146
146
|
* })
|
|
147
147
|
*/
|
|
@@ -23,7 +23,7 @@ export declare class BindingsClient {
|
|
|
23
23
|
* @throws {@link Management.TooManyRequestsError}
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
* await client.actions.triggers.bindings.list("
|
|
26
|
+
* await client.actions.triggers.bindings.list("post-login", {
|
|
27
27
|
* page: 1,
|
|
28
28
|
* per_page: 1
|
|
29
29
|
* })
|
|
@@ -42,7 +42,7 @@ export declare class BindingsClient {
|
|
|
42
42
|
* @throws {@link Management.TooManyRequestsError}
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
|
-
* await client.actions.triggers.bindings.updateMany("
|
|
45
|
+
* await client.actions.triggers.bindings.updateMany("post-login")
|
|
46
46
|
*/
|
|
47
47
|
updateMany(triggerId: Management.ActionTriggerTypeEnum, request?: Management.UpdateActionBindingsRequestContent, requestOptions?: BindingsClient.RequestOptions): core.HttpResponsePromise<Management.UpdateActionBindingsResponseContent>;
|
|
48
48
|
private __updateMany;
|
|
@@ -32,7 +32,7 @@ export class BindingsClient {
|
|
|
32
32
|
* @throws {@link Management.TooManyRequestsError}
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
|
-
* await client.actions.triggers.bindings.list("
|
|
35
|
+
* await client.actions.triggers.bindings.list("post-login", {
|
|
36
36
|
* page: 1,
|
|
37
37
|
* per_page: 1
|
|
38
38
|
* })
|
|
@@ -112,7 +112,7 @@ export class BindingsClient {
|
|
|
112
112
|
* @throws {@link Management.TooManyRequestsError}
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
|
-
* await client.actions.triggers.bindings.updateMany("
|
|
115
|
+
* await client.actions.triggers.bindings.updateMany("post-login")
|
|
116
116
|
*/
|
|
117
117
|
updateMany(triggerId, request = {}, requestOptions) {
|
|
118
118
|
return core.HttpResponsePromise.fromPromise(this.__updateMany(triggerId, request, requestOptions));
|
|
@@ -30,7 +30,8 @@ export declare class ClientGrantsClient {
|
|
|
30
30
|
* audience: "audience",
|
|
31
31
|
* client_id: "client_id",
|
|
32
32
|
* allow_any_organization: true,
|
|
33
|
-
* subject_type: "client"
|
|
33
|
+
* subject_type: "client",
|
|
34
|
+
* default_for: "third_party_clients"
|
|
34
35
|
* })
|
|
35
36
|
*/
|
|
36
37
|
list(request?: Management.ListClientGrantsRequestParameters, requestOptions?: ClientGrantsClient.RequestOptions): Promise<core.Page<Management.ClientGrantResponseContent, Management.ListClientGrantPaginatedResponseContent>>;
|
|
@@ -49,7 +50,6 @@ export declare class ClientGrantsClient {
|
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
51
52
|
* await client.clientGrants.create({
|
|
52
|
-
* client_id: "client_id",
|
|
53
53
|
* audience: "audience"
|
|
54
54
|
* })
|
|
55
55
|
*/
|
|
@@ -41,14 +41,15 @@ export class ClientGrantsClient {
|
|
|
41
41
|
* audience: "audience",
|
|
42
42
|
* client_id: "client_id",
|
|
43
43
|
* allow_any_organization: true,
|
|
44
|
-
* subject_type: "client"
|
|
44
|
+
* subject_type: "client",
|
|
45
|
+
* default_for: "third_party_clients"
|
|
45
46
|
* })
|
|
46
47
|
*/
|
|
47
48
|
list() {
|
|
48
49
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
49
50
|
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
50
51
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
51
|
-
const { from: from_, take = 50, audience, client_id: clientId, allow_any_organization: allowAnyOrganization, subject_type: subjectType, } = request;
|
|
52
|
+
const { from: from_, take = 50, audience, client_id: clientId, allow_any_organization: allowAnyOrganization, subject_type: subjectType, default_for: defaultFor, } = request;
|
|
52
53
|
const _queryParams = {
|
|
53
54
|
from: from_,
|
|
54
55
|
take,
|
|
@@ -56,6 +57,7 @@ export class ClientGrantsClient {
|
|
|
56
57
|
client_id: clientId,
|
|
57
58
|
allow_any_organization: allowAnyOrganization,
|
|
58
59
|
subject_type: subjectType !== undefined ? subjectType : undefined,
|
|
60
|
+
default_for: defaultFor !== undefined ? defaultFor : undefined,
|
|
59
61
|
};
|
|
60
62
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
61
63
|
let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -121,7 +123,6 @@ export class ClientGrantsClient {
|
|
|
121
123
|
*
|
|
122
124
|
* @example
|
|
123
125
|
* await client.clientGrants.create({
|
|
124
|
-
* client_id: "client_id",
|
|
125
126
|
* audience: "audience"
|
|
126
127
|
* })
|
|
127
128
|
*/
|
|
@@ -69,6 +69,7 @@ export declare class ClientsClient {
|
|
|
69
69
|
* is_global: true,
|
|
70
70
|
* is_first_party: true,
|
|
71
71
|
* app_type: "app_type",
|
|
72
|
+
* external_client_id: "external_client_id",
|
|
72
73
|
* q: "q"
|
|
73
74
|
* })
|
|
74
75
|
*/
|
|
@@ -105,6 +106,51 @@ export declare class ClientsClient {
|
|
|
105
106
|
*/
|
|
106
107
|
create(request: Management.CreateClientRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.CreateClientResponseContent>;
|
|
107
108
|
private __create;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* Fetches and validates a Client ID Metadata Document without creating a client.
|
|
112
|
+
* Returns the raw metadata and how it would be mapped to Auth0 client fields.
|
|
113
|
+
* This endpoint is useful for testing metadata URIs before creating CIMD clients.
|
|
114
|
+
*
|
|
115
|
+
*
|
|
116
|
+
* @param {Management.PreviewCimdMetadataRequestContent} request
|
|
117
|
+
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link Management.BadRequestError}
|
|
120
|
+
* @throws {@link Management.UnauthorizedError}
|
|
121
|
+
* @throws {@link Management.ForbiddenError}
|
|
122
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
123
|
+
* @throws {@link Management.InternalServerError}
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* await client.clients.previewCimdMetadata({
|
|
127
|
+
* external_client_id: "external_client_id"
|
|
128
|
+
* })
|
|
129
|
+
*/
|
|
130
|
+
previewCimdMetadata(request: Management.PreviewCimdMetadataRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.PreviewCimdMetadataResponseContent>;
|
|
131
|
+
private __previewCimdMetadata;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
|
|
135
|
+
* Uses external_client_id as the unique identifier for upsert operations.
|
|
136
|
+
* **Create:** Returns 201 when a new client is created (requires \
|
|
137
|
+
*
|
|
138
|
+
* @param {Management.RegisterCimdClientRequestContent} request
|
|
139
|
+
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link Management.BadRequestError}
|
|
142
|
+
* @throws {@link Management.UnauthorizedError}
|
|
143
|
+
* @throws {@link Management.ForbiddenError}
|
|
144
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
145
|
+
* @throws {@link Management.InternalServerError}
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* await client.clients.registerCimdClient({
|
|
149
|
+
* external_client_id: "external_client_id"
|
|
150
|
+
* })
|
|
151
|
+
*/
|
|
152
|
+
registerCimdClient(request: Management.RegisterCimdClientRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.RegisterCimdClientResponseContent>;
|
|
153
|
+
private __registerCimdClient;
|
|
108
154
|
/**
|
|
109
155
|
* Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
|
|
110
156
|
* For more information, read <a href="https://www.auth0.com/docs/get-started/applications"> Applications in Auth0</a> and <a href="https://www.auth0.com/docs/authenticate/single-sign-on"> Single Sign-On</a>.
|