auth0 4.0.0-beta.6 → 4.0.0-beta.8

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.
Files changed (157) hide show
  1. package/README.md +11 -8
  2. package/dist/{types → cjs}/auth/base-auth-api.d.ts +9 -2
  3. package/dist/cjs/auth/base-auth-api.js +32 -4
  4. package/dist/cjs/auth/base-auth-api.js.map +1 -1
  5. package/dist/{types → cjs}/auth/client-authentication.d.ts +1 -1
  6. package/dist/cjs/auth/client-authentication.js +2 -3
  7. package/dist/cjs/auth/client-authentication.js.map +1 -1
  8. package/dist/{types → cjs}/auth/database.d.ts +4 -0
  9. package/dist/cjs/auth/database.js.map +1 -1
  10. package/dist/{types → cjs}/auth/oauth.d.ts +2 -8
  11. package/dist/cjs/auth/oauth.js +8 -35
  12. package/dist/cjs/auth/oauth.js.map +1 -1
  13. package/dist/{types → cjs}/auth/passwordless.d.ts +1 -1
  14. package/dist/cjs/auth/passwordless.js +16 -8
  15. package/dist/cjs/auth/passwordless.js.map +1 -1
  16. package/dist/{types → cjs}/index.d.ts +1 -0
  17. package/dist/cjs/index.js +1 -0
  18. package/dist/cjs/index.js.map +1 -1
  19. package/dist/{types → cjs}/lib/retry.d.ts +1 -1
  20. package/dist/cjs/lib/retry.js +2 -4
  21. package/dist/cjs/lib/retry.js.map +1 -1
  22. package/dist/{types → cjs}/lib/runtime.d.ts +1 -10
  23. package/dist/cjs/lib/runtime.js +3 -23
  24. package/dist/cjs/lib/runtime.js.map +1 -1
  25. package/dist/{types → cjs}/management/__generated/managers/attack-protection-manager.d.ts +7 -19
  26. package/dist/cjs/management/__generated/managers/attack-protection-manager.js.map +1 -1
  27. package/dist/cjs/management/__generated/managers/jobs-manager.js +1 -1
  28. package/dist/cjs/management/__generated/managers/jobs-manager.js.map +1 -1
  29. package/dist/{types → cjs}/management/__generated/models/index.d.ts +427 -256
  30. package/dist/cjs/management/__generated/models/index.js +58 -100
  31. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  32. package/dist/cjs/version.d.ts +1 -0
  33. package/dist/cjs/version.js +1 -1
  34. package/dist/esm/auth/base-auth-api.d.ts +39 -0
  35. package/dist/esm/auth/base-auth-api.js +31 -4
  36. package/dist/esm/auth/base-auth-api.js.map +1 -1
  37. package/dist/esm/auth/client-authentication.d.ts +26 -0
  38. package/dist/esm/auth/client-authentication.js +2 -3
  39. package/dist/esm/auth/client-authentication.js.map +1 -1
  40. package/dist/esm/auth/database.d.ts +157 -0
  41. package/dist/esm/auth/database.js.map +1 -1
  42. package/dist/esm/auth/id-token-validator.d.ts +18 -0
  43. package/dist/esm/auth/index.d.ts +15 -0
  44. package/dist/esm/auth/oauth.d.ts +297 -0
  45. package/dist/esm/auth/oauth.js +10 -37
  46. package/dist/esm/auth/oauth.js.map +1 -1
  47. package/dist/esm/auth/passwordless.d.ts +165 -0
  48. package/dist/esm/auth/passwordless.js +17 -9
  49. package/dist/esm/auth/passwordless.js.map +1 -1
  50. package/dist/esm/index.d.ts +4 -0
  51. package/dist/esm/index.js +1 -0
  52. package/dist/esm/index.js.map +1 -1
  53. package/dist/esm/lib/errors.d.ts +33 -0
  54. package/dist/esm/lib/index.d.ts +3 -0
  55. package/dist/esm/lib/middleware/telemetry-middleware.d.ts +12 -0
  56. package/dist/esm/lib/models.d.ts +123 -0
  57. package/dist/esm/lib/retry.d.ts +26 -0
  58. package/dist/esm/lib/retry.js +2 -4
  59. package/dist/esm/lib/retry.js.map +1 -1
  60. package/dist/esm/lib/runtime.d.ts +61 -0
  61. package/dist/esm/lib/runtime.js +2 -21
  62. package/dist/esm/lib/runtime.js.map +1 -1
  63. package/dist/esm/management/__generated/index.d.ts +39 -0
  64. package/dist/esm/management/__generated/managers/actions-manager.d.ts +136 -0
  65. package/dist/esm/management/__generated/managers/anomaly-manager.d.ts +24 -0
  66. package/dist/esm/management/__generated/managers/attack-protection-manager.d.ts +46 -0
  67. package/dist/esm/management/__generated/managers/attack-protection-manager.js.map +1 -1
  68. package/dist/esm/management/__generated/managers/blacklists-manager.d.ts +28 -0
  69. package/dist/esm/management/__generated/managers/branding-manager.d.ts +103 -0
  70. package/dist/esm/management/__generated/managers/client-grants-manager.d.ts +42 -0
  71. package/dist/esm/management/__generated/managers/clients-manager.d.ts +168 -0
  72. package/dist/esm/management/__generated/managers/connections-manager.d.ts +87 -0
  73. package/dist/esm/management/__generated/managers/custom-domains-manager.d.ts +106 -0
  74. package/dist/esm/management/__generated/managers/device-credentials-manager.d.ts +42 -0
  75. package/dist/esm/management/__generated/managers/email-templates-manager.d.ts +38 -0
  76. package/dist/esm/management/__generated/managers/emails-manager.d.ts +40 -0
  77. package/dist/esm/management/__generated/managers/grants-manager.d.ts +34 -0
  78. package/dist/esm/management/__generated/managers/guardian-manager.d.ts +240 -0
  79. package/dist/esm/management/__generated/managers/hooks-manager.d.ts +90 -0
  80. package/dist/esm/management/__generated/managers/index.d.ts +31 -0
  81. package/dist/esm/management/__generated/managers/jobs-manager.d.ts +47 -0
  82. package/dist/esm/management/__generated/managers/jobs-manager.js +1 -1
  83. package/dist/esm/management/__generated/managers/jobs-manager.js.map +1 -1
  84. package/dist/esm/management/__generated/managers/keys-manager.d.ts +34 -0
  85. package/dist/esm/management/__generated/managers/log-streams-manager.d.ts +326 -0
  86. package/dist/esm/management/__generated/managers/logs-manager.d.ts +56 -0
  87. package/dist/esm/management/__generated/managers/organizations-manager.d.ts +191 -0
  88. package/dist/esm/management/__generated/managers/prompts-manager.d.ts +42 -0
  89. package/dist/esm/management/__generated/managers/resource-servers-manager.d.ts +48 -0
  90. package/dist/esm/management/__generated/managers/roles-manager.d.ts +110 -0
  91. package/dist/esm/management/__generated/managers/rules-configs-manager.d.ts +33 -0
  92. package/dist/esm/management/__generated/managers/rules-manager.d.ts +55 -0
  93. package/dist/esm/management/__generated/managers/stats-manager.d.ts +24 -0
  94. package/dist/esm/management/__generated/managers/tenants-manager.d.ts +24 -0
  95. package/dist/esm/management/__generated/managers/tickets-manager.d.ts +24 -0
  96. package/dist/esm/management/__generated/managers/user-blocks-manager.d.ts +45 -0
  97. package/dist/esm/management/__generated/managers/users-by-email-manager.d.ts +22 -0
  98. package/dist/esm/management/__generated/managers/users-manager.d.ts +329 -0
  99. package/dist/esm/management/__generated/models/index.d.ts +13374 -0
  100. package/dist/esm/management/__generated/models/index.js +54 -96
  101. package/dist/esm/management/__generated/models/index.js.map +1 -1
  102. package/dist/esm/management/index.d.ts +3 -0
  103. package/dist/esm/management/management-client-options.d.ts +17 -0
  104. package/dist/esm/management/management-client.d.ts +16 -0
  105. package/dist/esm/management/token-provider-middleware.d.ts +7 -0
  106. package/dist/esm/management/token-provider.d.ts +21 -0
  107. package/dist/esm/userinfo/index.d.ts +55 -0
  108. package/dist/esm/utils.d.ts +10 -0
  109. package/dist/esm/version.d.ts +1 -0
  110. package/dist/esm/version.js +1 -1
  111. package/package.json +16 -20
  112. package/dist/types/version.d.ts +0 -1
  113. /package/dist/{types → cjs}/auth/id-token-validator.d.ts +0 -0
  114. /package/dist/{types → cjs}/auth/index.d.ts +0 -0
  115. /package/dist/{types → cjs}/lib/errors.d.ts +0 -0
  116. /package/dist/{types → cjs}/lib/index.d.ts +0 -0
  117. /package/dist/{types → cjs}/lib/middleware/telemetry-middleware.d.ts +0 -0
  118. /package/dist/{types → cjs}/lib/models.d.ts +0 -0
  119. /package/dist/{types → cjs}/management/__generated/index.d.ts +0 -0
  120. /package/dist/{types → cjs}/management/__generated/managers/actions-manager.d.ts +0 -0
  121. /package/dist/{types → cjs}/management/__generated/managers/anomaly-manager.d.ts +0 -0
  122. /package/dist/{types → cjs}/management/__generated/managers/blacklists-manager.d.ts +0 -0
  123. /package/dist/{types → cjs}/management/__generated/managers/branding-manager.d.ts +0 -0
  124. /package/dist/{types → cjs}/management/__generated/managers/client-grants-manager.d.ts +0 -0
  125. /package/dist/{types → cjs}/management/__generated/managers/clients-manager.d.ts +0 -0
  126. /package/dist/{types → cjs}/management/__generated/managers/connections-manager.d.ts +0 -0
  127. /package/dist/{types → cjs}/management/__generated/managers/custom-domains-manager.d.ts +0 -0
  128. /package/dist/{types → cjs}/management/__generated/managers/device-credentials-manager.d.ts +0 -0
  129. /package/dist/{types → cjs}/management/__generated/managers/email-templates-manager.d.ts +0 -0
  130. /package/dist/{types → cjs}/management/__generated/managers/emails-manager.d.ts +0 -0
  131. /package/dist/{types → cjs}/management/__generated/managers/grants-manager.d.ts +0 -0
  132. /package/dist/{types → cjs}/management/__generated/managers/guardian-manager.d.ts +0 -0
  133. /package/dist/{types → cjs}/management/__generated/managers/hooks-manager.d.ts +0 -0
  134. /package/dist/{types → cjs}/management/__generated/managers/index.d.ts +0 -0
  135. /package/dist/{types → cjs}/management/__generated/managers/jobs-manager.d.ts +0 -0
  136. /package/dist/{types → cjs}/management/__generated/managers/keys-manager.d.ts +0 -0
  137. /package/dist/{types → cjs}/management/__generated/managers/log-streams-manager.d.ts +0 -0
  138. /package/dist/{types → cjs}/management/__generated/managers/logs-manager.d.ts +0 -0
  139. /package/dist/{types → cjs}/management/__generated/managers/organizations-manager.d.ts +0 -0
  140. /package/dist/{types → cjs}/management/__generated/managers/prompts-manager.d.ts +0 -0
  141. /package/dist/{types → cjs}/management/__generated/managers/resource-servers-manager.d.ts +0 -0
  142. /package/dist/{types → cjs}/management/__generated/managers/roles-manager.d.ts +0 -0
  143. /package/dist/{types → cjs}/management/__generated/managers/rules-configs-manager.d.ts +0 -0
  144. /package/dist/{types → cjs}/management/__generated/managers/rules-manager.d.ts +0 -0
  145. /package/dist/{types → cjs}/management/__generated/managers/stats-manager.d.ts +0 -0
  146. /package/dist/{types → cjs}/management/__generated/managers/tenants-manager.d.ts +0 -0
  147. /package/dist/{types → cjs}/management/__generated/managers/tickets-manager.d.ts +0 -0
  148. /package/dist/{types → cjs}/management/__generated/managers/user-blocks-manager.d.ts +0 -0
  149. /package/dist/{types → cjs}/management/__generated/managers/users-by-email-manager.d.ts +0 -0
  150. /package/dist/{types → cjs}/management/__generated/managers/users-manager.d.ts +0 -0
  151. /package/dist/{types → cjs}/management/index.d.ts +0 -0
  152. /package/dist/{types → cjs}/management/management-client-options.d.ts +0 -0
  153. /package/dist/{types → cjs}/management/management-client.d.ts +0 -0
  154. /package/dist/{types → cjs}/management/token-provider-middleware.d.ts +0 -0
  155. /package/dist/{types → cjs}/management/token-provider.d.ts +0 -0
  156. /package/dist/{types → cjs}/userinfo/index.d.ts +0 -0
  157. /package/dist/{types → cjs}/utils.d.ts +0 -0
@@ -0,0 +1,39 @@
1
+ export * from './managers/index.js';
2
+ export * from './models/index.js';
3
+ import { ActionsManager, AnomalyManager, AttackProtectionManager, BlacklistsManager, BrandingManager, ClientGrantsManager, ClientsManager, ConnectionsManager, CustomDomainsManager, DeviceCredentialsManager, EmailTemplatesManager, EmailsManager, GrantsManager, GuardianManager, HooksManager, JobsManager, KeysManager, LogStreamsManager, LogsManager, OrganizationsManager, PromptsManager, ResourceServersManager, RolesManager, RulesManager, RulesConfigsManager, StatsManager, TenantsManager, TicketsManager, UserBlocksManager, UsersManager, UsersByEmailManager } from './managers/index.js';
4
+ import { Configuration } from '../../lib/runtime.js';
5
+ export declare abstract class ManagementClientBase {
6
+ protected configuration: Configuration;
7
+ readonly actions: ActionsManager;
8
+ readonly anomaly: AnomalyManager;
9
+ readonly attackProtection: AttackProtectionManager;
10
+ readonly blacklists: BlacklistsManager;
11
+ readonly branding: BrandingManager;
12
+ readonly clientGrants: ClientGrantsManager;
13
+ readonly clients: ClientsManager;
14
+ readonly connections: ConnectionsManager;
15
+ readonly customDomains: CustomDomainsManager;
16
+ readonly deviceCredentials: DeviceCredentialsManager;
17
+ readonly emailTemplates: EmailTemplatesManager;
18
+ readonly emails: EmailsManager;
19
+ readonly grants: GrantsManager;
20
+ readonly guardian: GuardianManager;
21
+ readonly hooks: HooksManager;
22
+ readonly jobs: JobsManager;
23
+ readonly keys: KeysManager;
24
+ readonly logStreams: LogStreamsManager;
25
+ readonly logs: LogsManager;
26
+ readonly organizations: OrganizationsManager;
27
+ readonly prompts: PromptsManager;
28
+ readonly resourceServers: ResourceServersManager;
29
+ readonly roles: RolesManager;
30
+ readonly rules: RulesManager;
31
+ readonly rulesConfigs: RulesConfigsManager;
32
+ readonly stats: StatsManager;
33
+ readonly tenants: TenantsManager;
34
+ readonly tickets: TicketsManager;
35
+ readonly userBlocks: UserBlocksManager;
36
+ readonly users: UsersManager;
37
+ readonly usersByEmail: UsersByEmailManager;
38
+ constructor(configuration: Configuration);
39
+ }
@@ -0,0 +1,136 @@
1
+ import * as runtime from '../../../lib/runtime.js';
2
+ import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
+ import type { GetActionVersions200Response, GetActionVersions200ResponseVersionsInner, GetActions200Response, GetActions200ResponseActionsInner, GetBindings200Response, GetExecution200Response, GetTriggers200Response, PatchActionRequest, PatchBindings200Response, PatchBindingsRequest, PostActionRequest, PostDeployDraftVersionRequest, PostTestAction200Response, PostTestActionRequest, DeleteActionRequest, GetActionRequest, GetActionVersionRequest, GetActionVersionsRequest, GetActionsRequest, GetBindingsRequest, GetExecutionRequest, PatchActionOperationRequest, PatchBindingsOperationRequest, PostDeployActionRequest, PostDeployDraftVersionOperationRequest, PostTestActionOperationRequest } from '../models/index.js';
4
+ declare const BaseAPI: typeof runtime.BaseAPI;
5
+ /**
6
+ *
7
+ */
8
+ export declare class ActionsManager extends BaseAPI {
9
+ /**
10
+ * Deletes an action and all of its associated versions. An action must be unbound from all triggers
11
+ * before it can be deleted.
12
+ *
13
+ * Delete an action
14
+ *
15
+ * @throws {RequiredError}
16
+ */
17
+ delete(requestParameters: DeleteActionRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
18
+ /**
19
+ * Retrieve an action by its ID.
20
+ *
21
+ * Get an action
22
+ *
23
+ * @throws {RequiredError}
24
+ */
25
+ get(requestParameters: GetActionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetActions200ResponseActionsInner>>;
26
+ /**
27
+ * Retrieve a specific version of an action. An action version is created whenever
28
+ * an action is deployed. An action version is immutable, once created.
29
+ *
30
+ * Get a specific version of an action
31
+ *
32
+ * @throws {RequiredError}
33
+ */
34
+ getVersion(requestParameters: GetActionVersionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetActionVersions200ResponseVersionsInner>>;
35
+ /**
36
+ * Retrieve all of an action's versions. An action version is created whenever
37
+ * an action is deployed. An action version is immutable, once created.
38
+ *
39
+ * Get an action's versions
40
+ *
41
+ * @throws {RequiredError}
42
+ */
43
+ getVersions(requestParameters: GetActionVersionsRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetActionVersions200Response>>;
44
+ /**
45
+ * Retrieve all actions.
46
+ *
47
+ * Get actions
48
+ *
49
+ * @throws {RequiredError}
50
+ */
51
+ getAll(requestParameters?: GetActionsRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetActions200Response>>;
52
+ /**
53
+ * Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be
54
+ * attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned
55
+ * reflects the order in which they will be executed during the appropriate flow.
56
+ *
57
+ * Get trigger bindings
58
+ *
59
+ * @throws {RequiredError}
60
+ */
61
+ getTriggerBindings(requestParameters: GetBindingsRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetBindings200Response>>;
62
+ /**
63
+ * Retrieve information about a specific execution of a trigger. Relevant execution IDs will be included in tenant logs
64
+ * generated as part of that authentication flow. Executions will only be stored for 10 days after their creation.
65
+ *
66
+ * Get an execution
67
+ *
68
+ * @throws {RequiredError}
69
+ */
70
+ getExecution(requestParameters: GetExecutionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetExecution200Response>>;
71
+ /**
72
+ * Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions
73
+ * can be bound.
74
+ *
75
+ * Get triggers
76
+ *
77
+ * @throws {RequiredError}
78
+ */
79
+ getAllTriggers(initOverrides?: InitOverride): Promise<ApiResponse<GetTriggers200Response>>;
80
+ /**
81
+ * Update an existing action. If this action is currently bound to a trigger, updating it will <strong>not</strong> affect
82
+ * any user flows until the action is deployed.
83
+ *
84
+ * Update an action
85
+ *
86
+ * @throws {RequiredError}
87
+ */
88
+ update(requestParameters: PatchActionOperationRequest, bodyParameters: PatchActionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetActions200ResponseActionsInner>>;
89
+ /**
90
+ * Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be
91
+ * attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are
92
+ * provided will determine the order in which they are executed.
93
+ *
94
+ * Update trigger bindings
95
+ *
96
+ * @throws {RequiredError}
97
+ */
98
+ updateTriggerBindings(requestParameters: PatchBindingsOperationRequest, bodyParameters: PatchBindingsRequest, initOverrides?: InitOverride): Promise<ApiResponse<PatchBindings200Response>>;
99
+ /**
100
+ * Create an action. Once an action is created, it must be deployed, and then
101
+ * bound to a trigger before it will be executed as part of a flow.
102
+ *
103
+ * Create an action
104
+ *
105
+ * @throws {RequiredError}
106
+ */
107
+ create(bodyParameters: PostActionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetActions200ResponseActionsInner>>;
108
+ /**
109
+ * Deploy an action. Deploying an action will create a new immutable version of the action. If the action is
110
+ * currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately. Otherwise, the action will only be executed as a part of a flow once it is bound to that flow.
111
+ *
112
+ * Deploy an action
113
+ *
114
+ * @throws {RequiredError}
115
+ */
116
+ deploy(requestParameters: PostDeployActionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetActionVersions200ResponseVersionsInner>>;
117
+ /**
118
+ * Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed
119
+ * action version that is identical to the specified version. If this action is currently bound to a trigger, the
120
+ * system will begin executing the newly-created version immediately.
121
+ *
122
+ * Roll back to a previous action version
123
+ *
124
+ * @throws {RequiredError}
125
+ */
126
+ deployVersion(requestParameters: PostDeployDraftVersionOperationRequest, bodyParameters: PostDeployDraftVersionRequest | null, initOverrides?: InitOverride): Promise<ApiResponse<GetActionVersions200ResponseVersionsInner>>;
127
+ /**
128
+ * Test an action. After updating an action, it can be tested prior to being deployed to ensure it behaves as expected.
129
+ *
130
+ * Test an Action
131
+ *
132
+ * @throws {RequiredError}
133
+ */
134
+ test(requestParameters: PostTestActionOperationRequest, bodyParameters: PostTestActionRequest, initOverrides?: InitOverride): Promise<ApiResponse<PostTestAction200Response>>;
135
+ }
136
+ export {};
@@ -0,0 +1,24 @@
1
+ import * as runtime from '../../../lib/runtime.js';
2
+ import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
+ import type { DeleteIpsByIdRequest, GetIpsByIdRequest } from '../models/index.js';
4
+ declare const BaseAPI: typeof runtime.BaseAPI;
5
+ /**
6
+ *
7
+ */
8
+ export declare class AnomalyManager extends BaseAPI {
9
+ /**
10
+ * Unblock an IP address currently blocked by the <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> due to multiple suspicious attempts.
11
+ * Remove the blocked IP address
12
+ *
13
+ * @throws {RequiredError}
14
+ */
15
+ deleteBlockedIp(requestParameters: DeleteIpsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
16
+ /**
17
+ * Check if a given IP address is blocked via the <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> due to multiple suspicious attempts.
18
+ * Check if an IP address is blocked
19
+ *
20
+ * @throws {RequiredError}
21
+ */
22
+ checkIfIpIsBlocked(requestParameters: GetIpsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
23
+ }
24
+ export {};
@@ -0,0 +1,46 @@
1
+ import * as runtime from '../../../lib/runtime.js';
2
+ import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
+ import type { GetBreachedPasswordDetection200Response, GetBruteForceProtection200Response, GetSuspiciousIpThrottling200Response, PatchBreachedPasswordDetectionRequest, PatchBruteForceProtectionRequest, PatchSuspiciousIpThrottlingRequest } from '../models/index.js';
4
+ declare const BaseAPI: typeof runtime.BaseAPI;
5
+ /**
6
+ *
7
+ */
8
+ export declare class AttackProtectionManager extends BaseAPI {
9
+ /**
10
+ * Get breached password detection settings
11
+ *
12
+ * @throws {RequiredError}
13
+ */
14
+ getBreachedPasswordDetectionConfig(initOverrides?: InitOverride): Promise<ApiResponse<GetBreachedPasswordDetection200Response>>;
15
+ /**
16
+ * Get the brute force configuration
17
+ *
18
+ * @throws {RequiredError}
19
+ */
20
+ getBruteForceConfig(initOverrides?: InitOverride): Promise<ApiResponse<GetBruteForceProtection200Response>>;
21
+ /**
22
+ * Get the suspicious IP throttling configuration
23
+ *
24
+ * @throws {RequiredError}
25
+ */
26
+ getSuspiciousIpThrottlingConfig(initOverrides?: InitOverride): Promise<ApiResponse<GetSuspiciousIpThrottling200Response>>;
27
+ /**
28
+ * Update breached password detection settings
29
+ *
30
+ * @throws {RequiredError}
31
+ */
32
+ updateBreachedPasswordDetectionConfig(bodyParameters: PatchBreachedPasswordDetectionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetBreachedPasswordDetection200Response>>;
33
+ /**
34
+ * Update the brute force configuration
35
+ *
36
+ * @throws {RequiredError}
37
+ */
38
+ updateBruteForceConfig(bodyParameters: PatchBruteForceProtectionRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetBruteForceProtection200Response>>;
39
+ /**
40
+ * Update the suspicious IP throttling configuration
41
+ *
42
+ * @throws {RequiredError}
43
+ */
44
+ updateSuspiciousIpThrottlingConfig(bodyParameters: PatchSuspiciousIpThrottlingRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetSuspiciousIpThrottling200Response>>;
45
+ }
46
+ export {};
@@ -1 +1 @@
1
- {"version":3,"file":"attack-protection-manager.js","sourceRoot":"","sources":["../../../../../src/management/__generated/managers/attack-protection-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AAQnD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;AAE5B;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,OAAO;IAClD;;;;OAIG;IACH,KAAK,CAAC,kCAAkC,CACtC,aAA4B;QAE5B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,gDAAgD;YACtD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAM,QAAQ,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,CACvB,aAA4B;QAE5B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,2CAA2C;YACjD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAM,QAAQ,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,+BAA+B,CACnC,aAA4B;QAE5B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAM,QAAQ,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,qCAAqC,CACzC,cAAqD,EACrD,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,gDAAgD;YACtD,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAM,QAAQ,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,sBAAsB,CAC1B,cAAgD,EAChD,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,2CAA2C;YACjD,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAM,QAAQ,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,kCAAkC,CACtC,cAAkD,EAClD,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAM,QAAQ,CAAC,CAAC;IAC7D,CAAC;CACF"}
1
+ {"version":3,"file":"attack-protection-manager.js","sourceRoot":"","sources":["../../../../../src/management/__generated/managers/attack-protection-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AAWnD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;AAE5B;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,OAAO;IAClD;;;;OAIG;IACH,KAAK,CAAC,kCAAkC,CACtC,aAA4B;QAE5B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,gDAAgD;YACtD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,CACvB,aAA4B;QAE5B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,2CAA2C;YACjD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,+BAA+B,CACnC,aAA4B;QAE5B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,qCAAqC,CACzC,cAAqD,EACrD,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,gDAAgD;YACtD,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,sBAAsB,CAC1B,cAAgD,EAChD,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,2CAA2C;YACjD,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,kCAAkC,CACtC,cAAkD,EAClD,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;CACF"}
@@ -0,0 +1,28 @@
1
+ import * as runtime from '../../../lib/runtime.js';
2
+ import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
+ import type { Token, GetTokensRequest } from '../models/index.js';
4
+ declare const BaseAPI: typeof runtime.BaseAPI;
5
+ /**
6
+ *
7
+ */
8
+ export declare class BlacklistsManager extends BaseAPI {
9
+ /**
10
+ * Retrieve the `jti` and `aud` of all tokens that are blacklisted.
11
+ *
12
+ * Note: The <a href="https://auth0.com/docs/jwt">JWT specification</a> states that the `jti` field can be used to prevent replay attacks. Though Auth0 tokens do not include a `jti`, you can nevertheless blacklist a `jti` to prevent a token being used more than a predetermined number of times. This behavior is similar to implementing a nonce (where the token's signature can be thought of as the nonce). If a token gets stolen, it (or the tokens issued after it) should be blacklisted and let expire.
13
+ *
14
+ * Get blacklisted tokens
15
+ *
16
+ * @throws {RequiredError}
17
+ */
18
+ getAll(requestParameters?: GetTokensRequest, initOverrides?: InitOverride): Promise<ApiResponse<Array<Token>>>;
19
+ /**
20
+ * Add the token identified by the `jti` to a blacklist for the tenant.
21
+ *
22
+ * Blacklist a token
23
+ *
24
+ * @throws {RequiredError}
25
+ */
26
+ add(bodyParameters: Token, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
27
+ }
28
+ export {};
@@ -0,0 +1,103 @@
1
+ import * as runtime from '../../../lib/runtime.js';
2
+ import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
+ import type { GetBranding200Response, GetUniversalLogin200Response, PatchBrandingRequest, PostBrandingTheme200Response, PostBrandingThemeRequest, PutUniversalLoginRequest, DeleteBrandingThemeRequest, GetBrandingThemeRequest, PatchBrandingThemeRequest } from '../models/index.js';
4
+ declare const BaseAPI: typeof runtime.BaseAPI;
5
+ /**
6
+ *
7
+ */
8
+ export declare class BrandingManager extends BaseAPI {
9
+ /**
10
+ * Delete branding theme.
11
+ * Delete branding theme
12
+ *
13
+ * @throws {RequiredError}
14
+ */
15
+ deleteTheme(requestParameters: DeleteBrandingThemeRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
16
+ /**
17
+ * Delete template for New Universal Login Experience
18
+ *
19
+ * @throws {RequiredError}
20
+ */
21
+ deleteUniversalLoginTemplate(initOverrides?: InitOverride): Promise<ApiResponse<void>>;
22
+ /**
23
+ * Retrieve branding settings.
24
+ * Get branding settings
25
+ *
26
+ * @throws {RequiredError}
27
+ */
28
+ getSettings(initOverrides?: InitOverride): Promise<ApiResponse<GetBranding200Response>>;
29
+ /**
30
+ * Retrieve branding theme.
31
+ * Get branding theme
32
+ *
33
+ * @throws {RequiredError}
34
+ */
35
+ getTheme(requestParameters: GetBrandingThemeRequest, initOverrides?: InitOverride): Promise<ApiResponse<PostBrandingTheme200Response>>;
36
+ /**
37
+ * Retrieve default branding theme.
38
+ * Get default branding theme
39
+ *
40
+ * @throws {RequiredError}
41
+ */
42
+ getDefaultTheme(initOverrides?: InitOverride): Promise<ApiResponse<PostBrandingTheme200Response>>;
43
+ /**
44
+ * Get template for New Universal Login Experience
45
+ *
46
+ * @throws {RequiredError}
47
+ */
48
+ getUniversalLoginTemplate(initOverrides?: InitOverride): Promise<ApiResponse<GetUniversalLogin200Response>>;
49
+ /**
50
+ * Update branding settings.
51
+ * Update branding settings
52
+ *
53
+ * @throws {RequiredError}
54
+ */
55
+ updateSettings(bodyParameters: PatchBrandingRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetBranding200Response>>;
56
+ /**
57
+ * Update branding theme.
58
+ * Update branding theme
59
+ *
60
+ * @throws {RequiredError}
61
+ */
62
+ updateTheme(requestParameters: PatchBrandingThemeRequest, bodyParameters: PostBrandingThemeRequest, initOverrides?: InitOverride): Promise<ApiResponse<PostBrandingTheme200Response>>;
63
+ /**
64
+ * Create branding theme.
65
+ * Create branding theme
66
+ *
67
+ * @throws {RequiredError}
68
+ */
69
+ createTheme(bodyParameters: PostBrandingThemeRequest, initOverrides?: InitOverride): Promise<ApiResponse<PostBrandingTheme200Response>>;
70
+ /**
71
+ * Update the Universal Login branding template.
72
+ *
73
+ * <p>When <code>content-type</code> header is set to <code>application/json</code>, the expected body must be JSON:</p>
74
+ * <pre>
75
+ * {
76
+ * "template": "&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;head&gt;{%- auth0:head -%}&lt;/head&gt;&lt;body&gt;{%- auth0:widget -%}&lt;/body&gt;&lt;/html&gt;"
77
+ * }
78
+ * </pre>
79
+ *
80
+ * <p>
81
+ * When <code>content-type</code> header is set to <code>text/html</code>, the expected body must be the HTML template:
82
+ * </p>
83
+ * <pre>
84
+ * &lt!DOCTYPE html&gt;
85
+ * &lt;code&gt;
86
+ * &lt;html&gt;
87
+ * &lt;head&gt;
88
+ * {%- auth0:head -%}
89
+ * &lt;/head&gt;
90
+ * &lt;body&gt;
91
+ * {%- auth0:widget -%}
92
+ * &lt;/body&gt;
93
+ * &lt;/html&gt;
94
+ * &lt;/code&gt;
95
+ * </pre>
96
+ *
97
+ * Set template for New Universal Login Experience
98
+ *
99
+ * @throws {RequiredError}
100
+ */
101
+ setUniversalLoginTemplate(bodyParameters: PutUniversalLoginRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
102
+ }
103
+ export {};
@@ -0,0 +1,42 @@
1
+ import * as runtime from '../../../lib/runtime.js';
2
+ import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
+ import type { ClientGrant, ClientGrantCreate, PatchClientGrantsByIdRequest, GetClientGrants200ResponseOneOf, DeleteClientGrantsByIdRequest, GetClientGrantsRequest, PatchClientGrantsByIdOperationRequest } from '../models/index.js';
4
+ declare const BaseAPI: typeof runtime.BaseAPI;
5
+ /**
6
+ *
7
+ */
8
+ export declare class ClientGrantsManager extends BaseAPI {
9
+ /**
10
+ * Delete a client grant.
11
+ * Delete client grant
12
+ *
13
+ * @throws {RequiredError}
14
+ */
15
+ delete(requestParameters: DeleteClientGrantsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
16
+ /**
17
+ * Retrieve <a href="https://auth0.com/docs/api-auth/grant/client-credentials">client grants</a>.
18
+ *
19
+ * Get client grants
20
+ *
21
+ * @throws {RequiredError}
22
+ */
23
+ getAll(requestParameters: GetClientGrantsRequest & {
24
+ include_totals: true;
25
+ }, initOverrides?: InitOverride): Promise<ApiResponse<GetClientGrants200ResponseOneOf>>;
26
+ getAll(requestParameters?: GetClientGrantsRequest, initOverrides?: InitOverride): Promise<ApiResponse<Array<ClientGrant>>>;
27
+ /**
28
+ * Update a client grant.
29
+ * Update client grant
30
+ *
31
+ * @throws {RequiredError}
32
+ */
33
+ update(requestParameters: PatchClientGrantsByIdOperationRequest, bodyParameters: PatchClientGrantsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<ClientGrant>>;
34
+ /**
35
+ * Create a client grant.
36
+ * Create client grant
37
+ *
38
+ * @throws {RequiredError}
39
+ */
40
+ create(bodyParameters: ClientGrantCreate, initOverrides?: InitOverride): Promise<ApiResponse<ClientGrant>>;
41
+ }
42
+ export {};
@@ -0,0 +1,168 @@
1
+ import * as runtime from '../../../lib/runtime.js';
2
+ import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
+ import type { Client, ClientCreate, ClientUpdate, GetCredentials200ResponseInner, PatchCredentialsByCredentialIdRequest, PostCredentialsRequest, DeleteClientsByIdRequest, DeleteCredentialsByCredentialIdRequest, GetClientsRequest, GetClientsByIdRequest, GetCredentialsRequest, GetCredentialsByCredentialIdRequest, PatchClientsByIdRequest, PatchCredentialsByCredentialIdOperationRequest, PostCredentialsOperationRequest, PostRotateSecretRequest } from '../models/index.js';
4
+ declare const BaseAPI: typeof runtime.BaseAPI;
5
+ /**
6
+ *
7
+ */
8
+ export declare class ClientsManager extends BaseAPI {
9
+ /**
10
+ * Delete a client and related configuration (rules, connections, etc).
11
+ * Delete a client
12
+ *
13
+ * @throws {RequiredError}
14
+ */
15
+ delete(requestParameters: DeleteClientsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
16
+ /**
17
+ * Delete a client credential
18
+ *
19
+ * @throws {RequiredError}
20
+ */
21
+ deleteCredential(requestParameters: DeleteCredentialsByCredentialIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
22
+ /**
23
+ * Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude
24
+ * may also be specified. Note:
25
+ * <ul>
26
+ * <li><code>client_id</code>, <code>app_type</code>, <code>name</code>, and <code>description</code> can be retrieved with
27
+ * any scope.
28
+ * </li>
29
+ * <li><code>callbacks</code>, <code>oidc_backchannel_logout</code>, <code>allowed_origins</code>,
30
+ * <code>web_origins</code>, <code>tenant</code>, <code>global</code>, <code>config_route</code>,
31
+ * <code>callback_url_template</code>, <code>jwt_configuration</code>,
32
+ * <code>jwt_configuration.lifetime_in_seconds</code>, <code>jwt_configuration.secret_encoded</code>,
33
+ * <code>jwt_configuration.scopes</code>, <code>jwt_configuration.alg</code>, <code>api_type</code>,
34
+ * <code>logo_uri</code>, <code>allowed_clients</code>, <code>owners</code>, <code>custom_login_page</code>,
35
+ * <code>custom_login_page_off</code>, <code>sso</code>, <code>addons</code>, <code>form_template</code>,
36
+ * <code>custom_login_page_codeview</code>, <code>resource_servers</code>, <code>client_metadata</code>,
37
+ * <code>mobile</code>, <code>mobile.android</code>, <code>mobile.ios</code>, <code>allowed_logout_urls</code>,
38
+ * <code>token_endpoint_auth_method</code>, <code>is_first_party</code>, <code>oidc_conformant</code>,
39
+ * <code>is_token_endpoint_ip_header_trusted</code>, <code>initiate_login_uri</code>, <code>grant_types</code>,
40
+ * <code>refresh_token</code>, <code>refresh_token.rotation_type</code>, <code>refresh_token.expiration_type</code>,
41
+ * <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>,
42
+ * <code>organization_require_behavior</code>
43
+ * properties can only be retrieved with the <code>read:clients</code> or
44
+ * <code>read:client_keys</code> scope.
45
+ * </li>
46
+ * <li><code>encryption_key</code>, <code>encryption_key.pub</code>, <code>encryption_key.cert</code>,
47
+ * <code>client_secret</code>, <code>client_authentication_methods</code> and <code>signing_key</code> properties can only be retrieved with the
48
+ * <code>read:client_keys</code> or <code>read:client_credentials</code> scope.
49
+ * </li>
50
+ * </ul>
51
+ *
52
+ * Get clients
53
+ *
54
+ * @throws {RequiredError}
55
+ */
56
+ getAll(requestParameters?: GetClientsRequest, initOverrides?: InitOverride): Promise<ApiResponse<Array<Client>>>;
57
+ /**
58
+ * Retrieve client details. A list of fields to include or exclude may also be specified. Note:
59
+ * <ul>
60
+ * <li><code>client_id</code>, <code>app_type</code>, <code>name</code>, and <code>description</code> can be retrieved with
61
+ * the any of the scopes.
62
+ * </li>
63
+ * <li><code>callbacks</code>, <code>oidc_backchannel_logout</code>, <code>allowed_origins</code>,
64
+ * <code>web_origins</code>, <code>tenant</code>, <code>global</code>, <code>config_route</code>,
65
+ * <code>callback_url_template</code>, <code>jwt_configuration</code>,
66
+ * <code>jwt_configuration.lifetime_in_seconds</code>, <code>jwt_configuration.secret_encoded</code>,
67
+ * <code>jwt_configuration.scopes</code>, <code>jwt_configuration.alg</code>, <code>api_type</code>,
68
+ * <code>logo_uri</code>, <code>allowed_clients</code>, <code>owners</code>, <code>custom_login_page</code>,
69
+ * <code>custom_login_page_off</code>, <code>sso</code>, <code>addons</code>, <code>form_template</code>,
70
+ * <code>custom_login_page_codeview</code>, <code>resource_servers</code>, <code>client_metadata</code>,
71
+ * <code>mobile</code>, <code>mobile.android</code>, <code>mobile.ios</code>, <code>allowed_logout_urls</code>,
72
+ * <code>token_endpoint_auth_method</code>, <code>is_first_party</code>, <code>oidc_conformant</code>,
73
+ * <code>is_token_endpoint_ip_header_trusted</code>, <code>initiate_login_uri</code>, <code>grant_types</code>,
74
+ * <code>refresh_token</code>, <code>refresh_token.rotation_type</code>, <code>refresh_token.expiration_type</code>,
75
+ * <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>,
76
+ * <code>organization_require_behavior</code>
77
+ * properties can only be retrieved with the <code>read:clients</code> or
78
+ * <code>read:client_keys</code> scope.
79
+ * </li>
80
+ * <li><code>encryption_key</code>, <code>encryption_key.pub</code>, <code>encryption_key.cert</code>,
81
+ * <code>client_secret</code>, <code>client_authentication_methods</code> and <code>signing_key</code> properties can only be retrieved with the
82
+ * <code>read:client_keys</code> or <code>read:client_credentials</code> scope.
83
+ * </li>
84
+ * </ul>
85
+ *
86
+ * Get a client
87
+ *
88
+ * @throws {RequiredError}
89
+ */
90
+ get(requestParameters: GetClientsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<Client>>;
91
+ /**
92
+ * Get the list of client credentials that are associated to the client.
93
+ *
94
+ * Important: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
95
+ * Get client credentials
96
+ *
97
+ * @throws {RequiredError}
98
+ */
99
+ getCredentials(requestParameters: GetCredentialsRequest, initOverrides?: InitOverride): Promise<ApiResponse<Array<GetCredentials200ResponseInner>>>;
100
+ /**
101
+ * Get the details of a client credential.
102
+ * Get client credential
103
+ *
104
+ * @throws {RequiredError}
105
+ */
106
+ getCredential(requestParameters: GetCredentialsByCredentialIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetCredentials200ResponseInner>>;
107
+ /**
108
+ * Notes:
109
+ * - The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope.
110
+ * - The <code>client_authentication_methods</code> and <code>token_endpoint_auth_method</code> properties are mutually exclusive. Use
111
+ * <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method. Otherwise, use <code>token_endpoint_auth_method</code>
112
+ * to configure the client with client secret (basic or post) or with no authentication method (none).
113
+ * - When using <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method, only specify the credential IDs
114
+ * that were generated when creating the credentials on the client.
115
+ * - To configure <code>client_authentication_methods</code>, the <code>update:client_credentials</code> scope is required.
116
+ * - To configure <code>client_authentication_methods</code>, the property <code>jwt_configuration.alg</code> must be set to RS256.
117
+ * Update a client
118
+ *
119
+ * @throws {RequiredError}
120
+ */
121
+ update(requestParameters: PatchClientsByIdRequest, bodyParameters: ClientUpdate, initOverrides?: InitOverride): Promise<ApiResponse<Client>>;
122
+ /**
123
+ * Update a client credential
124
+ *
125
+ * @throws {RequiredError}
126
+ */
127
+ updateCredential(requestParameters: PatchCredentialsByCredentialIdOperationRequest, bodyParameters: PatchCredentialsByCredentialIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetCredentials200ResponseInner>>;
128
+ /**
129
+ * Create a new client (application or SSO integration).
130
+ *
131
+ * Notes:
132
+ * - We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret.
133
+ * - The <code>client_authentication_methods</code> and <code>token_endpoint_auth_method</code> properties are mutually exclusive. Use
134
+ * <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method. Otherwise, use <code>token_endpoint_auth_method</code>
135
+ * to configure the client with client secret (basic or post) or with no authentication method (none).
136
+ * - When using <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method, specify fully defined credentials.
137
+ * These credentials will be automatically enabled for Private Key JWT authentication on the client.
138
+ * - To configure <code>client_authentication_methods</code>, the <code>create:client_credentials</code> scope is required.
139
+ * - To configure <code>client_authentication_methods</code>, the property <code>jwt_configuration.alg</code> must be set to RS256.
140
+ *
141
+ * <div class="alert alert-warning">SSO Integrations created via this endpoint will accept login requests and share user profile information.</div>
142
+ *
143
+ * Create a client
144
+ *
145
+ * @throws {RequiredError}
146
+ */
147
+ create(bodyParameters: ClientCreate, initOverrides?: InitOverride): Promise<ApiResponse<Client>>;
148
+ /**
149
+ * Create a client credential associated to the client. The credential will be created but not yet enabled for use with Private Key JWT authentication method. To enable the credential, set the <code>client_authentication_methods</code> property on the client.
150
+ * Create a client credential
151
+ *
152
+ * @throws {RequiredError}
153
+ */
154
+ createCredential(requestParameters: PostCredentialsOperationRequest, bodyParameters: PostCredentialsRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetCredentials200ResponseInner>>;
155
+ /**
156
+ * Rotate a client secret.
157
+ *
158
+ * This endpoint cannot be used with clients configured with Private Key JWT authentication method (client_authentication_methods configured with private_key_jwt).
159
+ *
160
+ * Note: The generated secret is NOT base64 encoded.
161
+ *
162
+ * Rotate a client secret
163
+ *
164
+ * @throws {RequiredError}
165
+ */
166
+ rotateClientSecret(requestParameters: PostRotateSecretRequest, initOverrides?: InitOverride): Promise<ApiResponse<Client>>;
167
+ }
168
+ export {};