auth0 7.4.0-beta.2 → 7.5.0-beta.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/api/requests/requests.d.ts +73 -22
- package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/attackProtection/client/Client.js +9 -4
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.ts +105 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.js +388 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.js +2 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.js +21 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.js +17 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +27 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +101 -0
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clients/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/experimentation/resources/experiments/client/Client.d.ts +0 -22
- package/dist/cjs/management/api/resources/experimentation/resources/experiments/client/Client.js +0 -75
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/client/Client.d.ts +0 -20
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/client/Client.js +0 -69
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.d.ts +0 -1
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.js +0 -3
- package/dist/cjs/management/api/resources/roles/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/roles/client/Client.js +1 -1
- package/dist/cjs/management/api/types/types.d.ts +1364 -566
- package/dist/cjs/management/api/types/types.js +101 -174
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/api/requests/requests.d.mts +73 -22
- package/dist/esm/management/api/resources/attackProtection/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/attackProtection/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.mts +105 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.mjs +351 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.mjs +3 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +27 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +101 -0
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clients/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/experimentation/resources/experiments/client/Client.d.mts +0 -22
- package/dist/esm/management/api/resources/experimentation/resources/experiments/client/Client.mjs +0 -75
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/client/Client.d.mts +0 -20
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/client/Client.mjs +0 -69
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.d.mts +0 -1
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.mjs +0 -3
- package/dist/esm/management/api/resources/roles/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/roles/client/Client.mjs +1 -1
- package/dist/esm/management/api/types/types.d.mts +1364 -566
- package/dist/esm/management/api/types/types.mjs +80 -153
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +12 -1
- package/reference.md +514 -246
|
@@ -197,6 +197,34 @@ export interface CreateClientGrantRequestContent {
|
|
|
197
197
|
/** If enabled, all scopes configured on the resource server are allowed for this grant. */
|
|
198
198
|
allow_all_scopes?: boolean;
|
|
199
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* @example
|
|
202
|
+
* {
|
|
203
|
+
* q: "q",
|
|
204
|
+
* parser: "scim",
|
|
205
|
+
* fields: "fields",
|
|
206
|
+
* include_fields: true,
|
|
207
|
+
* take: 1,
|
|
208
|
+
* from: "from",
|
|
209
|
+
* sort: "audience"
|
|
210
|
+
* }
|
|
211
|
+
*/
|
|
212
|
+
export interface SearchClientGrantsRequestParameters {
|
|
213
|
+
/** Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `audience eq "https://api.example.com"`, `client_id eq "cli_abc"`, `subject_type eq "client"`, `allow_any_organization eq true`, `default_for eq "third_party_clients"`, `audience co "example" and organization_id eq "org_123"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or. <br /><br /><b>Supported Fields</b>:<ul><li><i>audience</i> - Filter by audience (eq, ne, sw, co, ew, pr)</li><li><i>client_id</i> - Filter by client ID (eq, ne, sw, pr)</li><li><i>subject_type</i> - Filter by subject type (eq, ne, sw, pr)</li><li><i>allow_any_organization</i> - Filter by allow_any_organization (eq, ne, pr)</li><li><i>organization_id</i> - Filter by organization ID (eq, ne, sw, pr)</li><li><i>updated_at</i> - Filter by last update date (eq, ne, gt, ge, lt, le, pr)</li><li><i>default_for</i> - Filter by default grant group (eq, ne, sw, pr)</li></ul>Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. */
|
|
214
|
+
q?: string | null;
|
|
215
|
+
/** Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). */
|
|
216
|
+
parser?: Management.SearchParserEnum | null;
|
|
217
|
+
/** Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. */
|
|
218
|
+
fields?: string | null;
|
|
219
|
+
/** Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. */
|
|
220
|
+
include_fields?: boolean | null;
|
|
221
|
+
/** Maximum number of results to return per page (1-100). Defaults to 50. */
|
|
222
|
+
take?: number | null;
|
|
223
|
+
/** Cursor for the next page of results. Use the value from the next field in the previous response. */
|
|
224
|
+
from?: string | null;
|
|
225
|
+
/** Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. */
|
|
226
|
+
sort?: Management.ClientGrantSortFieldEnum | null;
|
|
227
|
+
}
|
|
200
228
|
/**
|
|
201
229
|
* @example
|
|
202
230
|
* {}
|
|
@@ -341,6 +369,7 @@ export interface CreateClientRequestContent {
|
|
|
341
369
|
resource_server_identifier?: string;
|
|
342
370
|
identity_assertion_authorization_grant?: Management.CreateIdentityAssertionAuthorizationGrant;
|
|
343
371
|
anonymous_sessions?: Management.CreateAnonymousSessions;
|
|
372
|
+
enforce_anon_session_transfer_network_binding?: Management.ClientAnonymousSessionTransferNetworkBindingEnum;
|
|
344
373
|
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
|
|
345
374
|
redirection_policy?: Management.ClientRedirectionPolicyEnum;
|
|
346
375
|
express_configuration?: Management.ExpressConfiguration;
|
|
@@ -469,6 +498,7 @@ export interface UpdateClientRequestContent {
|
|
|
469
498
|
token_quota?: Management.UpdateTokenQuota | null;
|
|
470
499
|
identity_assertion_authorization_grant?: Management.UpdateIdentityAssertionAuthorizationGrant | null;
|
|
471
500
|
anonymous_sessions?: Management.UpdateAnonymousSessions | null;
|
|
501
|
+
enforce_anon_session_transfer_network_binding?: Management.ClientAnonymousSessionTransferNetworkBindingEnum;
|
|
472
502
|
/** Form template for WS-Federation protocol */
|
|
473
503
|
form_template?: string;
|
|
474
504
|
addons?: Management.ClientAddons;
|
|
@@ -1049,7 +1079,7 @@ export interface ListGroupsRequestParameters {
|
|
|
1049
1079
|
fields?: string | null;
|
|
1050
1080
|
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
1051
1081
|
include_fields?: boolean | null;
|
|
1052
|
-
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
1082
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. */
|
|
1053
1083
|
include_totals?: boolean | null;
|
|
1054
1084
|
/** Optional Id from which to start selection. */
|
|
1055
1085
|
from?: string | null;
|
|
@@ -1604,8 +1634,8 @@ export interface ListRolesRequestParameters {
|
|
|
1604
1634
|
name_filter?: string | null;
|
|
1605
1635
|
/** Optional filter on the type of the role */
|
|
1606
1636
|
type?: Management.RoleTypeEnum | null;
|
|
1607
|
-
/** Filter organization-level roles by owner ID. Required when type is "organization". */
|
|
1608
|
-
owner_id?:
|
|
1637
|
+
/** Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization". */
|
|
1638
|
+
owner_id?: Management.RoleOwnerIdFilter | null;
|
|
1609
1639
|
}
|
|
1610
1640
|
/**
|
|
1611
1641
|
* @example
|
|
@@ -2301,6 +2331,39 @@ export interface UpdateAttackProtectionCaptchaRequestContent {
|
|
|
2301
2331
|
recaptcha_v2?: Management.AttackProtectionUpdateCaptchaRecaptchaV2;
|
|
2302
2332
|
simple_captcha?: Management.AttackProtectionCaptchaSimpleCaptchaResponseContent;
|
|
2303
2333
|
}
|
|
2334
|
+
/**
|
|
2335
|
+
* @example
|
|
2336
|
+
* {
|
|
2337
|
+
* name: "name",
|
|
2338
|
+
* priority: 1,
|
|
2339
|
+
* match: {},
|
|
2340
|
+
* action: {}
|
|
2341
|
+
* }
|
|
2342
|
+
*/
|
|
2343
|
+
export interface CreateAttackProtectionCaptchaPolicyRequestContent {
|
|
2344
|
+
/** Human-readable policy name. */
|
|
2345
|
+
name: string;
|
|
2346
|
+
/** Description of the attack protection policy. */
|
|
2347
|
+
description?: string;
|
|
2348
|
+
/** Conflict resolution order. Lower number takes higher precedence. Must be unique per tenant. */
|
|
2349
|
+
priority: number;
|
|
2350
|
+
match: Management.AttackProtectionCaptchaPolicyMatch;
|
|
2351
|
+
action: Management.AttackProtectionCaptchaPolicyActionInput;
|
|
2352
|
+
}
|
|
2353
|
+
/**
|
|
2354
|
+
* @example
|
|
2355
|
+
* {}
|
|
2356
|
+
*/
|
|
2357
|
+
export interface UpdateAttackProtectionCaptchaPolicyRequestContent {
|
|
2358
|
+
/** Human-readable policy name. */
|
|
2359
|
+
name?: string;
|
|
2360
|
+
/** Description of the policy's purpose. */
|
|
2361
|
+
description?: string;
|
|
2362
|
+
/** Conflict resolution order. Lower number takes higher precedence. Must be unique per tenant. */
|
|
2363
|
+
priority?: number;
|
|
2364
|
+
match?: Management.AttackProtectionCaptchaPolicyMatch;
|
|
2365
|
+
action?: Management.AttackProtectionCaptchaPolicyActionInput;
|
|
2366
|
+
}
|
|
2304
2367
|
/**
|
|
2305
2368
|
* @example
|
|
2306
2369
|
* {
|
|
@@ -2923,6 +2986,7 @@ export interface UpdateExperimentRequestParameters {
|
|
|
2923
2986
|
default_config?: Management.DefaultConfigEnum;
|
|
2924
2987
|
/** Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. Can only be modified on draft experiments. */
|
|
2925
2988
|
levels?: number[];
|
|
2989
|
+
status?: Management.ExperimentTransitionStatusEnum;
|
|
2926
2990
|
}
|
|
2927
2991
|
/**
|
|
2928
2992
|
* @example
|
|
@@ -2934,15 +2998,6 @@ export interface AdvanceRampRequestContent {
|
|
|
2934
2998
|
/** The target percentage level from the experiment schedule. Must be the immediate next level. */
|
|
2935
2999
|
target_level: number;
|
|
2936
3000
|
}
|
|
2937
|
-
/**
|
|
2938
|
-
* @example
|
|
2939
|
-
* {
|
|
2940
|
-
* status: "active"
|
|
2941
|
-
* }
|
|
2942
|
-
*/
|
|
2943
|
-
export interface UpdateExperimentStatusRequestContent {
|
|
2944
|
-
status: Management.ExperimentTransitionStatusEnum;
|
|
2945
|
-
}
|
|
2946
3001
|
/**
|
|
2947
3002
|
* @example
|
|
2948
3003
|
* {
|
|
@@ -2986,16 +3041,8 @@ export interface UpdateFeatureFlagRequestContent {
|
|
|
2986
3041
|
/** A description of what this feature flag controls */
|
|
2987
3042
|
description?: string | null;
|
|
2988
3043
|
parameters?: Management.UpdateFeatureFlagParameters;
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
* @example
|
|
2992
|
-
* {
|
|
2993
|
-
* status: "draft"
|
|
2994
|
-
* }
|
|
2995
|
-
*/
|
|
2996
|
-
export interface UpdateFeatureFlagStatusRequestContent {
|
|
2997
|
-
/** The target status to transition the feature flag to. */
|
|
2998
|
-
status: Management.FeatureFlagStatusEnum;
|
|
3044
|
+
/** Target lifecycle status (draft → active, draft → archived, active → archived). Activating a flag requires at least 2 variations. When combined with field edits, the edits and the transition are applied together; if the transition is rejected, no edits are applied. */
|
|
3045
|
+
status?: Management.FeatureFlagStatusEnum;
|
|
2999
3046
|
}
|
|
3000
3047
|
/**
|
|
3001
3048
|
* @example
|
|
@@ -3039,6 +3086,8 @@ export interface UpdateSegmentRequestContent {
|
|
|
3039
3086
|
description?: string | null;
|
|
3040
3087
|
/** Replaces the entire rules array. Each rule is limited to 4KB and the whole segment to 10KB (serialized). */
|
|
3041
3088
|
rules?: Management.SegmentRule[];
|
|
3089
|
+
/** Target lifecycle status. Archiving removes the segment from the active pool and is terminal (an archived segment cannot return to active). When combined with field edits, the edits apply first and the transition follows. */
|
|
3090
|
+
status?: Management.SegmentStatusEnum;
|
|
3042
3091
|
}
|
|
3043
3092
|
/**
|
|
3044
3093
|
* @example
|
|
@@ -4259,6 +4308,8 @@ export interface UpdateTenantSettingsRequestContent {
|
|
|
4259
4308
|
pushed_authorization_requests_supported?: boolean | null;
|
|
4260
4309
|
/** Supports iss parameter in authorization responses */
|
|
4261
4310
|
authorization_response_iss_parameter_supported?: boolean | null;
|
|
4311
|
+
/** Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. */
|
|
4312
|
+
dpop_strict_refresh_token_binding?: boolean | null;
|
|
4262
4313
|
/**
|
|
4263
4314
|
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
|
|
4264
4315
|
* If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps.
|
|
@@ -4,6 +4,7 @@ import { BotDetectionClient } from "../resources/botDetection/client/Client.js";
|
|
|
4
4
|
import { BreachedPasswordDetectionClient } from "../resources/breachedPasswordDetection/client/Client.js";
|
|
5
5
|
import { BruteForceProtectionClient } from "../resources/bruteForceProtection/client/Client.js";
|
|
6
6
|
import { CaptchaClient } from "../resources/captcha/client/Client.js";
|
|
7
|
+
import { CaptchaPoliciesClient } from "../resources/captchaPolicies/client/Client.js";
|
|
7
8
|
import { PhoneProviderProtectionClient } from "../resources/phoneProviderProtection/client/Client.js";
|
|
8
9
|
import { SuspiciousIpThrottlingClient } from "../resources/suspiciousIpThrottling/client/Client.js";
|
|
9
10
|
export declare namespace AttackProtectionClient {
|
|
@@ -15,6 +16,7 @@ export declare class AttackProtectionClient {
|
|
|
15
16
|
protected _breachedPasswordDetection: BreachedPasswordDetectionClient | undefined;
|
|
16
17
|
protected _bruteForceProtection: BruteForceProtectionClient | undefined;
|
|
17
18
|
protected _captcha: CaptchaClient | undefined;
|
|
19
|
+
protected _captchaPolicies: CaptchaPoliciesClient | undefined;
|
|
18
20
|
protected _phoneProviderProtection: PhoneProviderProtectionClient | undefined;
|
|
19
21
|
protected _suspiciousIpThrottling: SuspiciousIpThrottlingClient | undefined;
|
|
20
22
|
constructor(options: AttackProtectionClient.Options);
|
|
@@ -22,6 +24,7 @@ export declare class AttackProtectionClient {
|
|
|
22
24
|
get breachedPasswordDetection(): BreachedPasswordDetectionClient;
|
|
23
25
|
get bruteForceProtection(): BruteForceProtectionClient;
|
|
24
26
|
get captcha(): CaptchaClient;
|
|
27
|
+
get captchaPolicies(): CaptchaPoliciesClient;
|
|
25
28
|
get phoneProviderProtection(): PhoneProviderProtectionClient;
|
|
26
29
|
get suspiciousIpThrottling(): SuspiciousIpThrottlingClient;
|
|
27
30
|
}
|
|
@@ -7,8 +7,9 @@ const Client_js_1 = require("../resources/botDetection/client/Client.js");
|
|
|
7
7
|
const Client_js_2 = require("../resources/breachedPasswordDetection/client/Client.js");
|
|
8
8
|
const Client_js_3 = require("../resources/bruteForceProtection/client/Client.js");
|
|
9
9
|
const Client_js_4 = require("../resources/captcha/client/Client.js");
|
|
10
|
-
const Client_js_5 = require("../resources/
|
|
11
|
-
const Client_js_6 = require("../resources/
|
|
10
|
+
const Client_js_5 = require("../resources/captchaPolicies/client/Client.js");
|
|
11
|
+
const Client_js_6 = require("../resources/phoneProviderProtection/client/Client.js");
|
|
12
|
+
const Client_js_7 = require("../resources/suspiciousIpThrottling/client/Client.js");
|
|
12
13
|
class AttackProtectionClient {
|
|
13
14
|
constructor(options) {
|
|
14
15
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
@@ -29,13 +30,17 @@ class AttackProtectionClient {
|
|
|
29
30
|
var _a;
|
|
30
31
|
return ((_a = this._captcha) !== null && _a !== void 0 ? _a : (this._captcha = new Client_js_4.CaptchaClient(this._options)));
|
|
31
32
|
}
|
|
33
|
+
get captchaPolicies() {
|
|
34
|
+
var _a;
|
|
35
|
+
return ((_a = this._captchaPolicies) !== null && _a !== void 0 ? _a : (this._captchaPolicies = new Client_js_5.CaptchaPoliciesClient(this._options)));
|
|
36
|
+
}
|
|
32
37
|
get phoneProviderProtection() {
|
|
33
38
|
var _a;
|
|
34
|
-
return ((_a = this._phoneProviderProtection) !== null && _a !== void 0 ? _a : (this._phoneProviderProtection = new
|
|
39
|
+
return ((_a = this._phoneProviderProtection) !== null && _a !== void 0 ? _a : (this._phoneProviderProtection = new Client_js_6.PhoneProviderProtectionClient(this._options)));
|
|
35
40
|
}
|
|
36
41
|
get suspiciousIpThrottling() {
|
|
37
42
|
var _a;
|
|
38
|
-
return ((_a = this._suspiciousIpThrottling) !== null && _a !== void 0 ? _a : (this._suspiciousIpThrottling = new
|
|
43
|
+
return ((_a = this._suspiciousIpThrottling) !== null && _a !== void 0 ? _a : (this._suspiciousIpThrottling = new Client_js_7.SuspiciousIpThrottlingClient(this._options)));
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
46
|
exports.AttackProtectionClient = AttackProtectionClient;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../../../core/index.js";
|
|
4
|
+
import * as Management from "../../../../../index.js";
|
|
5
|
+
export declare namespace CaptchaPoliciesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CaptchaPoliciesClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CaptchaPoliciesClient.Options>;
|
|
12
|
+
constructor(options: CaptchaPoliciesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending.
|
|
15
|
+
*
|
|
16
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link Management.BadRequestError}
|
|
19
|
+
* @throws {@link Management.UnauthorizedError}
|
|
20
|
+
* @throws {@link Management.ForbiddenError}
|
|
21
|
+
* @throws {@link Management.NotFoundError}
|
|
22
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* await client.attackProtection.captchaPolicies.list()
|
|
26
|
+
*/
|
|
27
|
+
list(requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.ListAttackProtectionCaptchaPoliciesResponseContent>;
|
|
28
|
+
private __list;
|
|
29
|
+
/**
|
|
30
|
+
* Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is determined by the tenant's subscription.
|
|
31
|
+
*
|
|
32
|
+
* @param {Management.CreateAttackProtectionCaptchaPolicyRequestContent} request
|
|
33
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link Management.BadRequestError}
|
|
36
|
+
* @throws {@link Management.UnauthorizedError}
|
|
37
|
+
* @throws {@link Management.ForbiddenError}
|
|
38
|
+
* @throws {@link Management.NotFoundError}
|
|
39
|
+
* @throws {@link Management.ConflictError}
|
|
40
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await client.attackProtection.captchaPolicies.create({
|
|
44
|
+
* name: "name",
|
|
45
|
+
* priority: 1,
|
|
46
|
+
* match: {},
|
|
47
|
+
* action: {}
|
|
48
|
+
* })
|
|
49
|
+
*/
|
|
50
|
+
create(request: Management.CreateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
|
|
51
|
+
private __create;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieve a single CAPTCHA attack protection policy for the tenant by ID.
|
|
54
|
+
*
|
|
55
|
+
* @param {string} id - ID of the CAPTCHA attack protection policy.
|
|
56
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link Management.BadRequestError}
|
|
59
|
+
* @throws {@link Management.UnauthorizedError}
|
|
60
|
+
* @throws {@link Management.ForbiddenError}
|
|
61
|
+
* @throws {@link Management.NotFoundError}
|
|
62
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.attackProtection.captchaPolicies.get("id")
|
|
66
|
+
*/
|
|
67
|
+
get(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
|
|
68
|
+
private __get;
|
|
69
|
+
/**
|
|
70
|
+
* Delete a CAPTCHA attack protection policy for the tenant.
|
|
71
|
+
*
|
|
72
|
+
* @param {string} id - ID of the CAPTCHA attack protection policy.
|
|
73
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link Management.BadRequestError}
|
|
76
|
+
* @throws {@link Management.UnauthorizedError}
|
|
77
|
+
* @throws {@link Management.ForbiddenError}
|
|
78
|
+
* @throws {@link Management.NotFoundError}
|
|
79
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* await client.attackProtection.captchaPolicies.delete("id")
|
|
83
|
+
*/
|
|
84
|
+
delete(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
85
|
+
private __delete;
|
|
86
|
+
/**
|
|
87
|
+
* Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match or action replaces the stored value in full rather than merging with it; within action, a provider secret or API key that is omitted from a provided provider block keeps its stored value.
|
|
88
|
+
*
|
|
89
|
+
* @param {string} id - ID of the CAPTCHA attack protection policy.
|
|
90
|
+
* @param {Management.UpdateAttackProtectionCaptchaPolicyRequestContent} request
|
|
91
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link Management.BadRequestError}
|
|
94
|
+
* @throws {@link Management.UnauthorizedError}
|
|
95
|
+
* @throws {@link Management.ForbiddenError}
|
|
96
|
+
* @throws {@link Management.NotFoundError}
|
|
97
|
+
* @throws {@link Management.ConflictError}
|
|
98
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* await client.attackProtection.captchaPolicies.update("id")
|
|
102
|
+
*/
|
|
103
|
+
update(id: string, request?: Management.UpdateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
|
|
104
|
+
private __update;
|
|
105
|
+
}
|