auth0 5.4.0 → 5.6.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 +156 -22
- 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 +0 -1
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +0 -1
- 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/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/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 +508 -292
- package/dist/cjs/management/api/types/types.js +101 -103
- 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 +156 -22
- 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 +0 -1
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +0 -1
- 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/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/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 +508 -292
- package/dist/esm/management/api/types/types.mjs +91 -93
- 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 +752 -30
- 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
|
@@ -43,6 +43,7 @@ import { UsersClient } from "./api/resources/users/client/Client.js";
|
|
|
43
43
|
import { VerifiableCredentialsClient } from "./api/resources/verifiableCredentials/client/Client.js";
|
|
44
44
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
45
45
|
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
|
|
46
|
+
import * as core from "./core/index.js";
|
|
46
47
|
export declare namespace ManagementClient {
|
|
47
48
|
type Options = BaseClientOptions;
|
|
48
49
|
interface RequestOptions extends BaseRequestOptions {
|
|
@@ -137,4 +138,15 @@ export declare class ManagementClient {
|
|
|
137
138
|
get riskAssessments(): RiskAssessmentsClient;
|
|
138
139
|
get tenants(): TenantsClient;
|
|
139
140
|
get verifiableCredentials(): VerifiableCredentialsClient;
|
|
141
|
+
/**
|
|
142
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
143
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
144
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
145
|
+
*
|
|
146
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
147
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
148
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
149
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
150
|
+
*/
|
|
151
|
+
fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
|
|
140
152
|
}
|
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
3
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
46
|
exports.ManagementClient = void 0;
|
|
5
47
|
const Client_js_1 = require("./api/resources/actions/client/Client.js");
|
|
@@ -46,6 +88,7 @@ const Client_js_41 = require("./api/resources/userGrants/client/Client.js");
|
|
|
46
88
|
const Client_js_42 = require("./api/resources/users/client/Client.js");
|
|
47
89
|
const Client_js_43 = require("./api/resources/verifiableCredentials/client/Client.js");
|
|
48
90
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
91
|
+
const core = __importStar(require("./core/index.js"));
|
|
49
92
|
class ManagementClient {
|
|
50
93
|
constructor(options) {
|
|
51
94
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
@@ -222,5 +265,29 @@ class ManagementClient {
|
|
|
222
265
|
var _a;
|
|
223
266
|
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new Client_js_43.VerifiableCredentialsClient(this._options)));
|
|
224
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
270
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
271
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
272
|
+
*
|
|
273
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
274
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
275
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
276
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
277
|
+
*/
|
|
278
|
+
fetch(input, init, requestOptions) {
|
|
279
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
280
|
+
var _a;
|
|
281
|
+
return core.makePassthroughRequest(input, init, {
|
|
282
|
+
baseUrl: (_a = this._options.baseUrl) !== null && _a !== void 0 ? _a : this._options.environment,
|
|
283
|
+
headers: this._options.headers,
|
|
284
|
+
timeoutInSeconds: this._options.timeoutInSeconds,
|
|
285
|
+
maxRetries: this._options.maxRetries,
|
|
286
|
+
fetch: this._options.fetch,
|
|
287
|
+
logging: this._options.logging,
|
|
288
|
+
getAuthHeaders: () => __awaiter(this, void 0, void 0, function* () { return (yield this._options.authProvider.getAuthRequest()).headers; }),
|
|
289
|
+
}, requestOptions);
|
|
290
|
+
});
|
|
291
|
+
}
|
|
225
292
|
}
|
|
226
293
|
exports.ManagementClient = ManagementClient;
|
|
@@ -3,7 +3,7 @@ import * as Management from "../index.js";
|
|
|
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
|
*/
|
|
@@ -133,13 +133,12 @@ export interface ListClientGrantsRequestParameters {
|
|
|
133
133
|
/**
|
|
134
134
|
* @example
|
|
135
135
|
* {
|
|
136
|
-
* client_id: "client_id",
|
|
137
136
|
* audience: "audience"
|
|
138
137
|
* }
|
|
139
138
|
*/
|
|
140
139
|
export interface CreateClientGrantRequestContent {
|
|
141
140
|
/** ID of the client. */
|
|
142
|
-
client_id
|
|
141
|
+
client_id?: string;
|
|
143
142
|
/** The audience (API identifier) of this client grant */
|
|
144
143
|
audience: string;
|
|
145
144
|
organization_usage?: Management.ClientGrantOrganizationUsageEnum;
|
|
@@ -159,7 +158,7 @@ export interface CreateClientGrantRequestContent {
|
|
|
159
158
|
*/
|
|
160
159
|
export interface UpdateClientGrantRequestContent {
|
|
161
160
|
/** Scopes allowed for this client grant. */
|
|
162
|
-
scope?: string[];
|
|
161
|
+
scope?: string[] | null;
|
|
163
162
|
organization_usage?: Management.ClientGrantOrganizationNullableUsageEnum | null;
|
|
164
163
|
/** Controls allowing any organization to be used with this grant */
|
|
165
164
|
allow_any_organization?: boolean | null;
|
|
@@ -179,6 +178,7 @@ export interface UpdateClientGrantRequestContent {
|
|
|
179
178
|
* is_global: true,
|
|
180
179
|
* is_first_party: true,
|
|
181
180
|
* app_type: "app_type",
|
|
181
|
+
* external_client_id: "external_client_id",
|
|
182
182
|
* q: "q"
|
|
183
183
|
* }
|
|
184
184
|
*/
|
|
@@ -199,7 +199,9 @@ export interface ListClientsRequestParameters {
|
|
|
199
199
|
is_first_party?: boolean | null;
|
|
200
200
|
/** Optional filter by a comma-separated list of application types. */
|
|
201
201
|
app_type?: string | null;
|
|
202
|
-
/**
|
|
202
|
+
/** 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. */
|
|
203
|
+
external_client_id?: string | null;
|
|
204
|
+
/** 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
205
|
q?: string | null;
|
|
204
206
|
}
|
|
205
207
|
/**
|
|
@@ -218,6 +220,7 @@ export interface CreateClientRequestContent {
|
|
|
218
220
|
/** Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication. */
|
|
219
221
|
callbacks?: string[];
|
|
220
222
|
oidc_logout?: Management.ClientOidcBackchannelLogoutSettings;
|
|
223
|
+
/** Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout) */
|
|
221
224
|
oidc_backchannel_logout?: Management.ClientOidcBackchannelLogoutSettings;
|
|
222
225
|
session_transfer?: Management.ClientSessionTransferConfiguration | null;
|
|
223
226
|
/** Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs. */
|
|
@@ -292,6 +295,26 @@ export interface CreateClientRequestContent {
|
|
|
292
295
|
express_configuration?: Management.ExpressConfiguration;
|
|
293
296
|
async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration;
|
|
294
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* @example
|
|
300
|
+
* {
|
|
301
|
+
* external_client_id: "external_client_id"
|
|
302
|
+
* }
|
|
303
|
+
*/
|
|
304
|
+
export interface PreviewCimdMetadataRequestContent {
|
|
305
|
+
/** URL to the Client ID Metadata Document */
|
|
306
|
+
external_client_id: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* @example
|
|
310
|
+
* {
|
|
311
|
+
* external_client_id: "external_client_id"
|
|
312
|
+
* }
|
|
313
|
+
*/
|
|
314
|
+
export interface RegisterCimdClientRequestContent {
|
|
315
|
+
/** URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations. */
|
|
316
|
+
external_client_id: string;
|
|
317
|
+
}
|
|
295
318
|
/**
|
|
296
319
|
* @example
|
|
297
320
|
* {
|
|
@@ -321,6 +344,7 @@ export interface UpdateClientRequestContent {
|
|
|
321
344
|
/** A set of URLs that are valid to call back from Auth0 when authenticating users */
|
|
322
345
|
callbacks?: string[];
|
|
323
346
|
oidc_logout?: Management.ClientOidcBackchannelLogoutSettings;
|
|
347
|
+
/** Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout) */
|
|
324
348
|
oidc_backchannel_logout?: Management.ClientOidcBackchannelLogoutSettings;
|
|
325
349
|
session_transfer?: Management.ClientSessionTransferConfiguration | null;
|
|
326
350
|
/** A set of URLs that represents valid origins for CORS */
|
|
@@ -335,7 +359,9 @@ export interface UpdateClientRequestContent {
|
|
|
335
359
|
allowed_clients?: string[];
|
|
336
360
|
/** URLs that are valid to redirect to after logout from Auth0 */
|
|
337
361
|
allowed_logout_urls?: string[];
|
|
362
|
+
/** An object that holds settings related to how JWTs are created */
|
|
338
363
|
jwt_configuration?: Management.ClientJwtConfiguration;
|
|
364
|
+
/** The client's encryption key */
|
|
339
365
|
encryption_key?: Management.ClientEncryptionKey | null;
|
|
340
366
|
/** <code>true</code> to use Auth0 instead of the IdP to do Single Sign On, <code>false</code> otherwise (default: <code>false</code>) */
|
|
341
367
|
sso?: boolean;
|
|
@@ -363,6 +389,7 @@ export interface UpdateClientRequestContent {
|
|
|
363
389
|
form_template?: string;
|
|
364
390
|
addons?: Management.ClientAddons;
|
|
365
391
|
client_metadata?: Management.ClientMetadata;
|
|
392
|
+
/** Configuration related to native mobile apps */
|
|
366
393
|
mobile?: Management.ClientMobile;
|
|
367
394
|
/** Initiate login uri, must be https */
|
|
368
395
|
initiate_login_uri?: string;
|
|
@@ -372,7 +399,7 @@ export interface UpdateClientRequestContent {
|
|
|
372
399
|
organization_usage?: Management.ClientOrganizationUsagePatchEnum | null;
|
|
373
400
|
organization_require_behavior?: Management.ClientOrganizationRequireBehaviorPatchEnum | null;
|
|
374
401
|
/** Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both. */
|
|
375
|
-
organization_discovery_methods?: Management.ClientOrganizationDiscoveryEnum[];
|
|
402
|
+
organization_discovery_methods?: Management.ClientOrganizationDiscoveryEnum[] | null;
|
|
376
403
|
client_authentication_methods?: Management.ClientAuthenticationMethod | null;
|
|
377
404
|
/** Makes the use of Pushed Authorization Requests mandatory for this client */
|
|
378
405
|
require_pushed_authorization_requests?: boolean;
|
|
@@ -390,7 +417,7 @@ export interface UpdateClientRequestContent {
|
|
|
390
417
|
/** Specifies how long, in seconds, a Pushed Authorization Request URI remains valid */
|
|
391
418
|
par_request_expiry?: number | null;
|
|
392
419
|
express_configuration?: Management.ExpressConfigurationOrNull | null;
|
|
393
|
-
async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration;
|
|
420
|
+
async_approval_notification_channels?: (Management.ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration | undefined) | null;
|
|
394
421
|
}
|
|
395
422
|
/**
|
|
396
423
|
* @example
|
|
@@ -469,7 +496,7 @@ export interface CreateConnectionRequestContent {
|
|
|
469
496
|
display_name?: string;
|
|
470
497
|
strategy: Management.ConnectionIdentityProviderEnum;
|
|
471
498
|
options?: Management.ConnectionPropertiesOptions;
|
|
472
|
-
/**
|
|
499
|
+
/** Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. */
|
|
473
500
|
enabled_clients?: string[];
|
|
474
501
|
/** <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>.) */
|
|
475
502
|
is_domain_connection?: boolean;
|
|
@@ -503,7 +530,7 @@ export interface UpdateConnectionRequestContent {
|
|
|
503
530
|
display_name?: string;
|
|
504
531
|
options?: Management.UpdateConnectionOptions | null;
|
|
505
532
|
/** DEPRECATED property. Use the PATCH /v2/connections/{id}/clients endpoint to enable or disable the connection for any clients. */
|
|
506
|
-
enabled_clients?: string[];
|
|
533
|
+
enabled_clients?: string[] | null;
|
|
507
534
|
/** <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>.) */
|
|
508
535
|
is_domain_connection?: boolean;
|
|
509
536
|
/** 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>.) */
|
|
@@ -524,7 +551,7 @@ export interface UpdateConnectionRequestContent {
|
|
|
524
551
|
* }
|
|
525
552
|
*/
|
|
526
553
|
export interface ListCustomDomainsRequestParameters {
|
|
527
|
-
/** Query in <a href ="
|
|
554
|
+
/** Query in <a href ="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene query string syntax</a>. */
|
|
528
555
|
q?: string | null;
|
|
529
556
|
/** 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. */
|
|
530
557
|
fields?: string | null;
|
|
@@ -551,11 +578,22 @@ export interface CreateCustomDomainRequestContent {
|
|
|
551
578
|
/** Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. */
|
|
552
579
|
relying_party_identifier?: string;
|
|
553
580
|
}
|
|
581
|
+
/**
|
|
582
|
+
* @example
|
|
583
|
+
* {
|
|
584
|
+
* domain: "domain"
|
|
585
|
+
* }
|
|
586
|
+
*/
|
|
587
|
+
export interface SetDefaultCustomDomainRequestContent {
|
|
588
|
+
/** The domain to set as the default custom domain. Must be a verified custom domain or the canonical domain. */
|
|
589
|
+
domain: string;
|
|
590
|
+
}
|
|
554
591
|
/**
|
|
555
592
|
* @example
|
|
556
593
|
* {}
|
|
557
594
|
*/
|
|
558
595
|
export interface UpdateCustomDomainRequestContent {
|
|
596
|
+
/** recommended includes TLS 1.2 */
|
|
559
597
|
tls_policy?: Management.CustomDomainTlsPolicyEnum;
|
|
560
598
|
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
|
|
561
599
|
domain_metadata?: Management.DomainMetadata;
|
|
@@ -766,7 +804,7 @@ export interface GetFlowRequestParameters {
|
|
|
766
804
|
*/
|
|
767
805
|
export interface UpdateFlowRequestContent {
|
|
768
806
|
name?: string;
|
|
769
|
-
actions?: Management.FlowAction[];
|
|
807
|
+
actions?: Management.FlowAction[] | null;
|
|
770
808
|
}
|
|
771
809
|
/**
|
|
772
810
|
* @example
|
|
@@ -928,6 +966,7 @@ export interface CreateHookRequestContent {
|
|
|
928
966
|
/** Whether this hook will be executed (true) or ignored (false). */
|
|
929
967
|
enabled?: boolean;
|
|
930
968
|
dependencies?: Management.HookDependencies;
|
|
969
|
+
/** Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`. */
|
|
931
970
|
triggerId: Management.HookTriggerIdEnum;
|
|
932
971
|
}
|
|
933
972
|
/**
|
|
@@ -1021,7 +1060,6 @@ export interface ListNetworkAclsRequestParameters {
|
|
|
1021
1060
|
* {
|
|
1022
1061
|
* description: "description",
|
|
1023
1062
|
* active: true,
|
|
1024
|
-
* priority: 1.1,
|
|
1025
1063
|
* rule: {
|
|
1026
1064
|
* action: {},
|
|
1027
1065
|
* scope: "management"
|
|
@@ -1033,7 +1071,7 @@ export interface CreateNetworkAclRequestContent {
|
|
|
1033
1071
|
/** Indicates whether or not this access control list is actively being used */
|
|
1034
1072
|
active: boolean;
|
|
1035
1073
|
/** Indicates the order in which the ACL will be evaluated relative to other ACL rules. */
|
|
1036
|
-
priority
|
|
1074
|
+
priority?: number;
|
|
1037
1075
|
rule: Management.NetworkAclRule;
|
|
1038
1076
|
}
|
|
1039
1077
|
/**
|
|
@@ -1041,7 +1079,6 @@ export interface CreateNetworkAclRequestContent {
|
|
|
1041
1079
|
* {
|
|
1042
1080
|
* description: "description",
|
|
1043
1081
|
* active: true,
|
|
1044
|
-
* priority: 1.1,
|
|
1045
1082
|
* rule: {
|
|
1046
1083
|
* action: {},
|
|
1047
1084
|
* scope: "management"
|
|
@@ -1053,7 +1090,7 @@ export interface SetNetworkAclRequestContent {
|
|
|
1053
1090
|
/** Indicates whether or not this access control list is actively being used */
|
|
1054
1091
|
active: boolean;
|
|
1055
1092
|
/** Indicates the order in which the ACL will be evaluated relative to other ACL rules. */
|
|
1056
|
-
priority
|
|
1093
|
+
priority?: number;
|
|
1057
1094
|
rule: Management.NetworkAclRule;
|
|
1058
1095
|
}
|
|
1059
1096
|
/**
|
|
@@ -1125,11 +1162,37 @@ export interface UpdateSettingsRequestContent {
|
|
|
1125
1162
|
/** Use WebAuthn with Device Biometrics as the first authentication factor */
|
|
1126
1163
|
webauthn_platform_first_factor?: boolean | null;
|
|
1127
1164
|
}
|
|
1165
|
+
/**
|
|
1166
|
+
* @example
|
|
1167
|
+
* {
|
|
1168
|
+
* user_id: "user_id",
|
|
1169
|
+
* client_id: "client_id",
|
|
1170
|
+
* from: "from",
|
|
1171
|
+
* take: 1,
|
|
1172
|
+
* fields: "fields",
|
|
1173
|
+
* include_fields: true
|
|
1174
|
+
* }
|
|
1175
|
+
*/
|
|
1176
|
+
export interface GetRefreshTokensRequestParameters {
|
|
1177
|
+
/** ID of the user whose refresh tokens to retrieve. Required. */
|
|
1178
|
+
user_id: string;
|
|
1179
|
+
/** Filter results by client ID. Only valid when user_id is provided. */
|
|
1180
|
+
client_id?: string | null;
|
|
1181
|
+
/** An opaque cursor from which to start the selection (exclusive). Expires after 24 hours. Obtained from the next property of a previous response. */
|
|
1182
|
+
from?: string | null;
|
|
1183
|
+
/** Number of results per page. Defaults to 50. */
|
|
1184
|
+
take?: number | null;
|
|
1185
|
+
/** 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. */
|
|
1186
|
+
fields?: string | null;
|
|
1187
|
+
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
1188
|
+
include_fields?: boolean | null;
|
|
1189
|
+
}
|
|
1128
1190
|
/**
|
|
1129
1191
|
* @example
|
|
1130
1192
|
* {}
|
|
1131
1193
|
*/
|
|
1132
1194
|
export interface UpdateRefreshTokenRequestContent {
|
|
1195
|
+
/** Metadata associated with the refresh token. Pass null or {} to remove all metadata. */
|
|
1133
1196
|
refresh_token_metadata?: (Management.RefreshTokenMetadata | undefined) | null;
|
|
1134
1197
|
}
|
|
1135
1198
|
/**
|
|
@@ -1171,6 +1234,8 @@ export interface CreateResourceServerRequestContent {
|
|
|
1171
1234
|
signing_secret?: string;
|
|
1172
1235
|
/** Whether refresh tokens can be issued for this API (true) or not (false). */
|
|
1173
1236
|
allow_offline_access?: boolean;
|
|
1237
|
+
/** Whether Online Refresh Tokens can be issued for this API (true) or not (false). */
|
|
1238
|
+
allow_online_access?: boolean;
|
|
1174
1239
|
/** Expiration value (in seconds) for access tokens issued for this API from the token endpoint. */
|
|
1175
1240
|
token_lifetime?: number;
|
|
1176
1241
|
token_dialect?: Management.ResourceServerTokenDialectSchemaEnum;
|
|
@@ -1180,7 +1245,7 @@ export interface CreateResourceServerRequestContent {
|
|
|
1180
1245
|
enforce_policies?: boolean;
|
|
1181
1246
|
token_encryption?: Management.ResourceServerTokenEncryption | null;
|
|
1182
1247
|
consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
|
|
1183
|
-
authorization_details?: unknown[];
|
|
1248
|
+
authorization_details?: unknown[] | null;
|
|
1184
1249
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1185
1250
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1186
1251
|
}
|
|
@@ -1210,6 +1275,8 @@ export interface UpdateResourceServerRequestContent {
|
|
|
1210
1275
|
skip_consent_for_verifiable_first_party_clients?: boolean;
|
|
1211
1276
|
/** Whether refresh tokens can be issued for this API (true) or not (false). */
|
|
1212
1277
|
allow_offline_access?: boolean;
|
|
1278
|
+
/** Whether Online Refresh Tokens can be issued for this API (true) or not (false). */
|
|
1279
|
+
allow_online_access?: boolean;
|
|
1213
1280
|
/** Expiration value (in seconds) for access tokens issued for this API from the token endpoint. */
|
|
1214
1281
|
token_lifetime?: number;
|
|
1215
1282
|
token_dialect?: Management.ResourceServerTokenDialectSchemaEnum;
|
|
@@ -1217,7 +1284,7 @@ export interface UpdateResourceServerRequestContent {
|
|
|
1217
1284
|
enforce_policies?: boolean;
|
|
1218
1285
|
token_encryption?: Management.ResourceServerTokenEncryption | null;
|
|
1219
1286
|
consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
|
|
1220
|
-
authorization_details?: unknown[];
|
|
1287
|
+
authorization_details?: unknown[] | null;
|
|
1221
1288
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1222
1289
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1223
1290
|
}
|
|
@@ -1396,6 +1463,7 @@ export interface UpdateSelfServiceProfileRequestContent {
|
|
|
1396
1463
|
* {}
|
|
1397
1464
|
*/
|
|
1398
1465
|
export interface UpdateSessionRequestContent {
|
|
1466
|
+
/** Metadata associated with the session. Pass null or {} to remove all session_metadata. */
|
|
1399
1467
|
session_metadata?: (Management.SessionMetadata | undefined) | null;
|
|
1400
1468
|
}
|
|
1401
1469
|
/**
|
|
@@ -1620,7 +1688,7 @@ export interface ListUsersRequestParameters {
|
|
|
1620
1688
|
fields?: string | null;
|
|
1621
1689
|
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
1622
1690
|
include_fields?: boolean | null;
|
|
1623
|
-
/** Query in <a target='_new' href ='
|
|
1691
|
+
/** 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>. */
|
|
1624
1692
|
q?: string | null;
|
|
1625
1693
|
/** The version of the search engine */
|
|
1626
1694
|
search_engine?: Management.SearchEngineVersionsEnum | null;
|
|
@@ -1711,7 +1779,9 @@ export interface UpdateUserRequestContent {
|
|
|
1711
1779
|
phone_number?: string | null;
|
|
1712
1780
|
/** Whether this phone number has been verified (true) or not (false). */
|
|
1713
1781
|
phone_verified?: boolean;
|
|
1782
|
+
/** User metadata to which this user has read/write access. */
|
|
1714
1783
|
user_metadata?: Management.UserMetadata;
|
|
1784
|
+
/** User metadata to which this user has read-only access. */
|
|
1715
1785
|
app_metadata?: Management.AppMetadata;
|
|
1716
1786
|
/** Given name/first name/forename of this user. */
|
|
1717
1787
|
given_name?: string | null;
|
|
@@ -2195,6 +2265,7 @@ export interface UpdatePhoneTemplateRequestContent {
|
|
|
2195
2265
|
export interface CreatePhoneTemplateTestNotificationRequestContent {
|
|
2196
2266
|
/** Destination of the testing phone notification */
|
|
2197
2267
|
to: string;
|
|
2268
|
+
/** Medium to use to send the notification */
|
|
2198
2269
|
delivery_method?: Management.PhoneProviderDeliveryMethodEnum;
|
|
2199
2270
|
}
|
|
2200
2271
|
/**
|
|
@@ -2229,6 +2300,8 @@ export interface PostClientCredentialRequestContent {
|
|
|
2229
2300
|
parse_expiry_from_cert?: boolean;
|
|
2230
2301
|
/** 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. */
|
|
2231
2302
|
expires_at?: string;
|
|
2303
|
+
/** 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} */
|
|
2304
|
+
kid?: string;
|
|
2232
2305
|
}
|
|
2233
2306
|
/**
|
|
2234
2307
|
* @example
|
|
@@ -2812,6 +2885,63 @@ export interface AssociateOrganizationClientGrantRequestContent {
|
|
|
2812
2885
|
/** A Client Grant ID to add to the organization. */
|
|
2813
2886
|
grant_id: string;
|
|
2814
2887
|
}
|
|
2888
|
+
/**
|
|
2889
|
+
* @example
|
|
2890
|
+
* {
|
|
2891
|
+
* page: 1,
|
|
2892
|
+
* per_page: 1,
|
|
2893
|
+
* include_totals: true,
|
|
2894
|
+
* is_enabled: true
|
|
2895
|
+
* }
|
|
2896
|
+
*/
|
|
2897
|
+
export interface ListOrganizationAllConnectionsRequestParameters {
|
|
2898
|
+
/** Page index of the results to return. First page is 0. */
|
|
2899
|
+
page?: number | null;
|
|
2900
|
+
/** Number of results per page. Defaults to 50. */
|
|
2901
|
+
per_page?: number | null;
|
|
2902
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
2903
|
+
include_totals?: boolean | null;
|
|
2904
|
+
/** Filter connections by enabled status. */
|
|
2905
|
+
is_enabled?: boolean | null;
|
|
2906
|
+
}
|
|
2907
|
+
/**
|
|
2908
|
+
* @example
|
|
2909
|
+
* {
|
|
2910
|
+
* connection_id: "connection_id"
|
|
2911
|
+
* }
|
|
2912
|
+
*/
|
|
2913
|
+
export interface CreateOrganizationAllConnectionRequestParameters {
|
|
2914
|
+
/** Name of the connection in the scope of this organization. */
|
|
2915
|
+
organization_connection_name?: string;
|
|
2916
|
+
/** 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. */
|
|
2917
|
+
assign_membership_on_login?: boolean;
|
|
2918
|
+
/** Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true. */
|
|
2919
|
+
show_as_button?: boolean;
|
|
2920
|
+
/** Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false. */
|
|
2921
|
+
is_signup_enabled?: boolean;
|
|
2922
|
+
organization_access_level?: Management.OrganizationAccessLevelEnum;
|
|
2923
|
+
/** Whether the connection is enabled for the organization. */
|
|
2924
|
+
is_enabled?: boolean;
|
|
2925
|
+
/** Connection identifier. */
|
|
2926
|
+
connection_id: string;
|
|
2927
|
+
}
|
|
2928
|
+
/**
|
|
2929
|
+
* @example
|
|
2930
|
+
* {}
|
|
2931
|
+
*/
|
|
2932
|
+
export interface UpdateOrganizationConnectionRequestParameters {
|
|
2933
|
+
/** Name of the connection in the scope of this organization. */
|
|
2934
|
+
organization_connection_name?: string | null;
|
|
2935
|
+
/** 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. */
|
|
2936
|
+
assign_membership_on_login?: boolean;
|
|
2937
|
+
/** Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true. */
|
|
2938
|
+
show_as_button?: boolean;
|
|
2939
|
+
/** Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false. */
|
|
2940
|
+
is_signup_enabled?: boolean;
|
|
2941
|
+
organization_access_level?: Management.OrganizationAccessLevelEnumWithNull | null;
|
|
2942
|
+
/** Whether the connection is enabled for the organization. */
|
|
2943
|
+
is_enabled?: boolean | null;
|
|
2944
|
+
}
|
|
2815
2945
|
/**
|
|
2816
2946
|
* @example
|
|
2817
2947
|
* {
|
|
@@ -3080,14 +3210,15 @@ export interface BulkUpdateAculRequestContent {
|
|
|
3080
3210
|
* {}
|
|
3081
3211
|
*/
|
|
3082
3212
|
export interface UpdateAculRequestContent {
|
|
3213
|
+
/** Rendering mode */
|
|
3083
3214
|
rendering_mode?: Management.AculRenderingModeEnum;
|
|
3084
|
-
context_configuration?: Management.AculContextConfiguration;
|
|
3215
|
+
context_configuration?: (Management.AculContextConfiguration | undefined) | null;
|
|
3085
3216
|
/** Override Universal Login default head tags */
|
|
3086
3217
|
default_head_tags_disabled?: boolean | null;
|
|
3087
3218
|
/** Use page template with ACUL */
|
|
3088
3219
|
use_page_template?: boolean | null;
|
|
3089
3220
|
/** An array of head tags */
|
|
3090
|
-
head_tags?: Management.AculHeadTag[];
|
|
3221
|
+
head_tags?: Management.AculHeadTag[] | null;
|
|
3091
3222
|
filters?: Management.AculFilters | null;
|
|
3092
3223
|
}
|
|
3093
3224
|
/**
|
|
@@ -3213,6 +3344,7 @@ export interface GetTenantSettingsRequestParameters {
|
|
|
3213
3344
|
*/
|
|
3214
3345
|
export interface UpdateTenantSettingsRequestContent {
|
|
3215
3346
|
change_password?: Management.TenantSettingsPasswordPage | null;
|
|
3347
|
+
/** Device Flow configuration. */
|
|
3216
3348
|
device_flow?: Management.TenantSettingsDeviceFlow | null;
|
|
3217
3349
|
guardian_mfa_page?: Management.TenantSettingsGuardianPage | null;
|
|
3218
3350
|
/** Default audience for API Authorization. */
|
|
@@ -3256,7 +3388,7 @@ export interface UpdateTenantSettingsRequestContent {
|
|
|
3256
3388
|
/** Whether to accept an organization name instead of an ID on auth endpoints */
|
|
3257
3389
|
allow_organization_name_in_authentication_api?: boolean | null;
|
|
3258
3390
|
/** Supported ACR values */
|
|
3259
|
-
acr_values_supported?: string[];
|
|
3391
|
+
acr_values_supported?: string[] | null;
|
|
3260
3392
|
mtls?: Management.TenantSettingsMtls | null;
|
|
3261
3393
|
/** Enables the use of Pushed Authorization Requests */
|
|
3262
3394
|
pushed_authorization_requests_supported?: boolean | null;
|
|
@@ -3321,6 +3453,7 @@ export interface CreateUserAuthenticationMethodRequestContent {
|
|
|
3321
3453
|
export interface UpdateUserAuthenticationMethodRequestContent {
|
|
3322
3454
|
/** A human-readable label to identify the authentication method. */
|
|
3323
3455
|
name?: string;
|
|
3456
|
+
/** Preferred phone authentication method */
|
|
3324
3457
|
preferred_authentication_method?: Management.PreferredAuthenticationMethodEnum;
|
|
3325
3458
|
}
|
|
3326
3459
|
/**
|
|
@@ -3360,6 +3493,7 @@ export interface GetUserGroupsRequestParameters {
|
|
|
3360
3493
|
* {}
|
|
3361
3494
|
*/
|
|
3362
3495
|
export interface LinkUserIdentityRequestContent {
|
|
3496
|
+
/** Identity provider of the secondary user account being linked. */
|
|
3363
3497
|
provider?: Management.UserIdentityProviderEnum;
|
|
3364
3498
|
/** connection_id of the secondary user account being linked when more than one `auth0` database provider exists. */
|
|
3365
3499
|
connection_id?: string;
|
|
@@ -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
|
*/
|
|
@@ -88,7 +88,7 @@ class ActionsClient {
|
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* await client.actions.list({
|
|
91
|
-
* triggerId: "
|
|
91
|
+
* triggerId: "post-login",
|
|
92
92
|
* actionName: "actionName",
|
|
93
93
|
* deployed: true,
|
|
94
94
|
* page: 1,
|
|
@@ -102,7 +102,7 @@ class ActionsClient {
|
|
|
102
102
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
103
103
|
const { triggerId, actionName, deployed, page = 0, per_page: perPage = 50, installed } = request;
|
|
104
104
|
const _queryParams = {
|
|
105
|
-
triggerId,
|
|
105
|
+
triggerId: triggerId !== undefined ? triggerId : undefined,
|
|
106
106
|
actionName,
|
|
107
107
|
deployed,
|
|
108
108
|
page,
|
|
@@ -177,7 +177,7 @@ class ActionsClient {
|
|
|
177
177
|
* await client.actions.create({
|
|
178
178
|
* name: "name",
|
|
179
179
|
* supported_triggers: [{
|
|
180
|
-
* id: "
|
|
180
|
+
* id: "post-login"
|
|
181
181
|
* }]
|
|
182
182
|
* })
|
|
183
183
|
*/
|
|
@@ -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;
|
|
@@ -68,7 +68,7 @@ class BindingsClient {
|
|
|
68
68
|
* @throws {@link Management.TooManyRequestsError}
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
|
-
* await client.actions.triggers.bindings.list("
|
|
71
|
+
* await client.actions.triggers.bindings.list("post-login", {
|
|
72
72
|
* page: 1,
|
|
73
73
|
* per_page: 1
|
|
74
74
|
* })
|
|
@@ -148,7 +148,7 @@ class BindingsClient {
|
|
|
148
148
|
* @throws {@link Management.TooManyRequestsError}
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
|
-
* await client.actions.triggers.bindings.updateMany("
|
|
151
|
+
* await client.actions.triggers.bindings.updateMany("post-login")
|
|
152
152
|
*/
|
|
153
153
|
updateMany(triggerId, request = {}, requestOptions) {
|
|
154
154
|
return core.HttpResponsePromise.fromPromise(this.__updateMany(triggerId, request, requestOptions));
|