auth0 5.11.0 → 5.13.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/lib/models.d.ts +7 -7
- package/dist/cjs/lib/retry.d.ts +7 -2
- package/dist/cjs/lib/retry.js +35 -5
- package/dist/cjs/management/api/requests/requests.d.ts +28 -4
- package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/attackProtection/client/Client.js +7 -2
- 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/attackProtection/resources/phoneProviderProtection/client/Client.d.ts +45 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.js +180 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.js +2 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/index.js +17 -0
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.ts +6 -6
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +6 -6
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +69 -85
- package/dist/cjs/management/api/resources/clients/client/Client.js +71 -85
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +4 -9
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +4 -9
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.d.ts +38 -14
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +38 -14
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.d.ts +50 -81
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +50 -81
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.d.ts +5 -3
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +9 -3
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +5 -0
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +15 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +9 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +10 -12
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +12 -12
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/userGrants/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/userGrants/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +6 -0
- package/dist/cjs/management/api/types/types.d.ts +281 -109
- package/dist/cjs/management/api/types/types.js +36 -46
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/lib/models.d.mts +7 -7
- package/dist/esm/lib/retry.d.mts +7 -2
- package/dist/esm/lib/retry.mjs +35 -5
- package/dist/esm/management/api/requests/requests.d.mts +28 -4
- 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/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.mts +45 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.mjs +143 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/index.mjs +1 -0
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.mts +6 -6
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +6 -6
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +69 -85
- package/dist/esm/management/api/resources/clients/client/Client.mjs +71 -85
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +4 -9
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +4 -9
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.d.mts +38 -14
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +38 -14
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/emailTemplates/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.d.mts +50 -81
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +50 -81
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.d.mts +5 -3
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +9 -3
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +5 -0
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +15 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +9 -0
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +10 -12
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +12 -12
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/userGrants/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/userGrants/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +6 -0
- package/dist/esm/management/api/types/types.d.mts +281 -109
- package/dist/esm/management/api/types/types.mjs +23 -33
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +349 -265
|
@@ -20,6 +20,7 @@ export declare class EnabledConnectionsClient {
|
|
|
20
20
|
* @throws {@link Management.BadRequestError}
|
|
21
21
|
* @throws {@link Management.UnauthorizedError}
|
|
22
22
|
* @throws {@link Management.ForbiddenError}
|
|
23
|
+
* @throws {@link Management.NotFoundError}
|
|
23
24
|
* @throws {@link Management.TooManyRequestsError}
|
|
24
25
|
*
|
|
25
26
|
* @example
|
|
@@ -42,6 +43,7 @@ export declare class EnabledConnectionsClient {
|
|
|
42
43
|
* @throws {@link Management.BadRequestError}
|
|
43
44
|
* @throws {@link Management.UnauthorizedError}
|
|
44
45
|
* @throws {@link Management.ForbiddenError}
|
|
46
|
+
* @throws {@link Management.NotFoundError}
|
|
45
47
|
* @throws {@link Management.TooManyRequestsError}
|
|
46
48
|
*
|
|
47
49
|
* @example
|
|
@@ -60,6 +62,7 @@ export declare class EnabledConnectionsClient {
|
|
|
60
62
|
*
|
|
61
63
|
* @throws {@link Management.UnauthorizedError}
|
|
62
64
|
* @throws {@link Management.ForbiddenError}
|
|
65
|
+
* @throws {@link Management.NotFoundError}
|
|
63
66
|
* @throws {@link Management.TooManyRequestsError}
|
|
64
67
|
*
|
|
65
68
|
* @example
|
|
@@ -79,6 +82,7 @@ export declare class EnabledConnectionsClient {
|
|
|
79
82
|
* @throws {@link Management.BadRequestError}
|
|
80
83
|
* @throws {@link Management.UnauthorizedError}
|
|
81
84
|
* @throws {@link Management.ForbiddenError}
|
|
85
|
+
* @throws {@link Management.NotFoundError}
|
|
82
86
|
* @throws {@link Management.TooManyRequestsError}
|
|
83
87
|
*
|
|
84
88
|
* @example
|
|
@@ -97,6 +101,7 @@ export declare class EnabledConnectionsClient {
|
|
|
97
101
|
* @throws {@link Management.BadRequestError}
|
|
98
102
|
* @throws {@link Management.UnauthorizedError}
|
|
99
103
|
* @throws {@link Management.ForbiddenError}
|
|
104
|
+
* @throws {@link Management.NotFoundError}
|
|
100
105
|
* @throws {@link Management.TooManyRequestsError}
|
|
101
106
|
*
|
|
102
107
|
* @example
|
|
@@ -65,6 +65,7 @@ class EnabledConnectionsClient {
|
|
|
65
65
|
* @throws {@link Management.BadRequestError}
|
|
66
66
|
* @throws {@link Management.UnauthorizedError}
|
|
67
67
|
* @throws {@link Management.ForbiddenError}
|
|
68
|
+
* @throws {@link Management.NotFoundError}
|
|
68
69
|
* @throws {@link Management.TooManyRequestsError}
|
|
69
70
|
*
|
|
70
71
|
* @example
|
|
@@ -115,6 +116,8 @@ class EnabledConnectionsClient {
|
|
|
115
116
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
116
117
|
case 403:
|
|
117
118
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
119
|
+
case 404:
|
|
120
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
118
121
|
case 429:
|
|
119
122
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
120
123
|
default:
|
|
@@ -153,6 +156,7 @@ class EnabledConnectionsClient {
|
|
|
153
156
|
* @throws {@link Management.BadRequestError}
|
|
154
157
|
* @throws {@link Management.UnauthorizedError}
|
|
155
158
|
* @throws {@link Management.ForbiddenError}
|
|
159
|
+
* @throws {@link Management.NotFoundError}
|
|
156
160
|
* @throws {@link Management.TooManyRequestsError}
|
|
157
161
|
*
|
|
158
162
|
* @example
|
|
@@ -196,6 +200,8 @@ class EnabledConnectionsClient {
|
|
|
196
200
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
197
201
|
case 403:
|
|
198
202
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
203
|
+
case 404:
|
|
204
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
199
205
|
case 429:
|
|
200
206
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
201
207
|
default:
|
|
@@ -218,6 +224,7 @@ class EnabledConnectionsClient {
|
|
|
218
224
|
*
|
|
219
225
|
* @throws {@link Management.UnauthorizedError}
|
|
220
226
|
* @throws {@link Management.ForbiddenError}
|
|
227
|
+
* @throws {@link Management.NotFoundError}
|
|
221
228
|
* @throws {@link Management.TooManyRequestsError}
|
|
222
229
|
*
|
|
223
230
|
* @example
|
|
@@ -254,6 +261,8 @@ class EnabledConnectionsClient {
|
|
|
254
261
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
255
262
|
case 403:
|
|
256
263
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
264
|
+
case 404:
|
|
265
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
257
266
|
case 429:
|
|
258
267
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
259
268
|
default:
|
|
@@ -279,6 +288,7 @@ class EnabledConnectionsClient {
|
|
|
279
288
|
* @throws {@link Management.BadRequestError}
|
|
280
289
|
* @throws {@link Management.UnauthorizedError}
|
|
281
290
|
* @throws {@link Management.ForbiddenError}
|
|
291
|
+
* @throws {@link Management.NotFoundError}
|
|
282
292
|
* @throws {@link Management.TooManyRequestsError}
|
|
283
293
|
*
|
|
284
294
|
* @example
|
|
@@ -314,6 +324,8 @@ class EnabledConnectionsClient {
|
|
|
314
324
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
315
325
|
case 403:
|
|
316
326
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
327
|
+
case 404:
|
|
328
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
317
329
|
case 429:
|
|
318
330
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
319
331
|
default:
|
|
@@ -338,6 +350,7 @@ class EnabledConnectionsClient {
|
|
|
338
350
|
* @throws {@link Management.BadRequestError}
|
|
339
351
|
* @throws {@link Management.UnauthorizedError}
|
|
340
352
|
* @throws {@link Management.ForbiddenError}
|
|
353
|
+
* @throws {@link Management.NotFoundError}
|
|
341
354
|
* @throws {@link Management.TooManyRequestsError}
|
|
342
355
|
*
|
|
343
356
|
* @example
|
|
@@ -379,6 +392,8 @@ class EnabledConnectionsClient {
|
|
|
379
392
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
380
393
|
case 403:
|
|
381
394
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
395
|
+
case 404:
|
|
396
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
382
397
|
case 429:
|
|
383
398
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
384
399
|
default:
|
|
@@ -23,6 +23,7 @@ export declare class GroupsClient {
|
|
|
23
23
|
* @throws {@link Management.BadRequestError}
|
|
24
24
|
* @throws {@link Management.UnauthorizedError}
|
|
25
25
|
* @throws {@link Management.ForbiddenError}
|
|
26
|
+
* @throws {@link Management.NotFoundError}
|
|
26
27
|
* @throws {@link Management.TooManyRequestsError}
|
|
27
28
|
*
|
|
28
29
|
* @example
|
|
@@ -70,6 +70,7 @@ class GroupsClient {
|
|
|
70
70
|
* @throws {@link Management.BadRequestError}
|
|
71
71
|
* @throws {@link Management.UnauthorizedError}
|
|
72
72
|
* @throws {@link Management.ForbiddenError}
|
|
73
|
+
* @throws {@link Management.NotFoundError}
|
|
73
74
|
* @throws {@link Management.TooManyRequestsError}
|
|
74
75
|
*
|
|
75
76
|
* @example
|
|
@@ -118,6 +119,8 @@ class GroupsClient {
|
|
|
118
119
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
119
120
|
case 403:
|
|
120
121
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
122
|
+
case 404:
|
|
123
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
121
124
|
case 429:
|
|
122
125
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
123
126
|
default:
|
|
@@ -21,6 +21,7 @@ export declare class RolesClient {
|
|
|
21
21
|
* @throws {@link Management.BadRequestError}
|
|
22
22
|
* @throws {@link Management.UnauthorizedError}
|
|
23
23
|
* @throws {@link Management.ForbiddenError}
|
|
24
|
+
* @throws {@link Management.NotFoundError}
|
|
24
25
|
* @throws {@link Management.TooManyRequestsError}
|
|
25
26
|
*
|
|
26
27
|
* @example
|
|
@@ -41,6 +42,7 @@ export declare class RolesClient {
|
|
|
41
42
|
* @throws {@link Management.BadRequestError}
|
|
42
43
|
* @throws {@link Management.UnauthorizedError}
|
|
43
44
|
* @throws {@link Management.ForbiddenError}
|
|
45
|
+
* @throws {@link Management.NotFoundError}
|
|
44
46
|
* @throws {@link Management.ConflictError}
|
|
45
47
|
* @throws {@link Management.TooManyRequestsError}
|
|
46
48
|
*
|
|
@@ -62,6 +64,7 @@ export declare class RolesClient {
|
|
|
62
64
|
* @throws {@link Management.BadRequestError}
|
|
63
65
|
* @throws {@link Management.UnauthorizedError}
|
|
64
66
|
* @throws {@link Management.ForbiddenError}
|
|
67
|
+
* @throws {@link Management.NotFoundError}
|
|
65
68
|
* @throws {@link Management.TooManyRequestsError}
|
|
66
69
|
*
|
|
67
70
|
* @example
|
|
@@ -66,6 +66,7 @@ class RolesClient {
|
|
|
66
66
|
* @throws {@link Management.BadRequestError}
|
|
67
67
|
* @throws {@link Management.UnauthorizedError}
|
|
68
68
|
* @throws {@link Management.ForbiddenError}
|
|
69
|
+
* @throws {@link Management.NotFoundError}
|
|
69
70
|
* @throws {@link Management.TooManyRequestsError}
|
|
70
71
|
*
|
|
71
72
|
* @example
|
|
@@ -114,6 +115,8 @@ class RolesClient {
|
|
|
114
115
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
115
116
|
case 403:
|
|
116
117
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
118
|
+
case 404:
|
|
119
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
117
120
|
case 429:
|
|
118
121
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
119
122
|
default:
|
|
@@ -149,6 +152,7 @@ class RolesClient {
|
|
|
149
152
|
* @throws {@link Management.BadRequestError}
|
|
150
153
|
* @throws {@link Management.UnauthorizedError}
|
|
151
154
|
* @throws {@link Management.ForbiddenError}
|
|
155
|
+
* @throws {@link Management.NotFoundError}
|
|
152
156
|
* @throws {@link Management.ConflictError}
|
|
153
157
|
* @throws {@link Management.TooManyRequestsError}
|
|
154
158
|
*
|
|
@@ -190,6 +194,8 @@ class RolesClient {
|
|
|
190
194
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
191
195
|
case 403:
|
|
192
196
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
197
|
+
case 404:
|
|
198
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
193
199
|
case 409:
|
|
194
200
|
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
195
201
|
case 429:
|
|
@@ -216,6 +222,7 @@ class RolesClient {
|
|
|
216
222
|
* @throws {@link Management.BadRequestError}
|
|
217
223
|
* @throws {@link Management.UnauthorizedError}
|
|
218
224
|
* @throws {@link Management.ForbiddenError}
|
|
225
|
+
* @throws {@link Management.NotFoundError}
|
|
219
226
|
* @throws {@link Management.TooManyRequestsError}
|
|
220
227
|
*
|
|
221
228
|
* @example
|
|
@@ -256,6 +263,8 @@ class RolesClient {
|
|
|
256
263
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
257
264
|
case 403:
|
|
258
265
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
266
|
+
case 404:
|
|
267
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
259
268
|
case 429:
|
|
260
269
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
261
270
|
default:
|
package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare class MembersClient {
|
|
|
41
41
|
* @throws {@link Management.BadRequestError}
|
|
42
42
|
* @throws {@link Management.UnauthorizedError}
|
|
43
43
|
* @throws {@link Management.ForbiddenError}
|
|
44
|
+
* @throws {@link Management.NotFoundError}
|
|
44
45
|
* @throws {@link Management.TooManyRequestsError}
|
|
45
46
|
*
|
|
46
47
|
* @example
|
|
@@ -90,6 +90,7 @@ class MembersClient {
|
|
|
90
90
|
* @throws {@link Management.BadRequestError}
|
|
91
91
|
* @throws {@link Management.UnauthorizedError}
|
|
92
92
|
* @throws {@link Management.ForbiddenError}
|
|
93
|
+
* @throws {@link Management.NotFoundError}
|
|
93
94
|
* @throws {@link Management.TooManyRequestsError}
|
|
94
95
|
*
|
|
95
96
|
* @example
|
|
@@ -142,6 +143,8 @@ class MembersClient {
|
|
|
142
143
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
143
144
|
case 403:
|
|
144
145
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
146
|
+
case 404:
|
|
147
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
145
148
|
case 429:
|
|
146
149
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
147
150
|
default:
|
|
@@ -24,6 +24,7 @@ export declare class EffectiveRolesClient {
|
|
|
24
24
|
* @throws {@link Management.BadRequestError}
|
|
25
25
|
* @throws {@link Management.UnauthorizedError}
|
|
26
26
|
* @throws {@link Management.ForbiddenError}
|
|
27
|
+
* @throws {@link Management.NotFoundError}
|
|
27
28
|
* @throws {@link Management.TooManyRequestsError}
|
|
28
29
|
*
|
|
29
30
|
* @example
|
|
@@ -71,6 +71,7 @@ class EffectiveRolesClient {
|
|
|
71
71
|
* @throws {@link Management.BadRequestError}
|
|
72
72
|
* @throws {@link Management.UnauthorizedError}
|
|
73
73
|
* @throws {@link Management.ForbiddenError}
|
|
74
|
+
* @throws {@link Management.NotFoundError}
|
|
74
75
|
* @throws {@link Management.TooManyRequestsError}
|
|
75
76
|
*
|
|
76
77
|
* @example
|
|
@@ -119,6 +120,8 @@ class EffectiveRolesClient {
|
|
|
119
120
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
120
121
|
case 403:
|
|
121
122
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
123
|
+
case 404:
|
|
124
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
122
125
|
case 429:
|
|
123
126
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
124
127
|
default:
|
|
@@ -21,6 +21,7 @@ export declare class GroupsClient {
|
|
|
21
21
|
* @throws {@link Management.BadRequestError}
|
|
22
22
|
* @throws {@link Management.UnauthorizedError}
|
|
23
23
|
* @throws {@link Management.ForbiddenError}
|
|
24
|
+
* @throws {@link Management.NotFoundError}
|
|
24
25
|
* @throws {@link Management.TooManyRequestsError}
|
|
25
26
|
*
|
|
26
27
|
* @example
|
|
@@ -66,6 +66,7 @@ class GroupsClient {
|
|
|
66
66
|
* @throws {@link Management.BadRequestError}
|
|
67
67
|
* @throws {@link Management.UnauthorizedError}
|
|
68
68
|
* @throws {@link Management.ForbiddenError}
|
|
69
|
+
* @throws {@link Management.NotFoundError}
|
|
69
70
|
* @throws {@link Management.TooManyRequestsError}
|
|
70
71
|
*
|
|
71
72
|
* @example
|
|
@@ -116,6 +117,8 @@ class GroupsClient {
|
|
|
116
117
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
117
118
|
case 403:
|
|
118
119
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
120
|
+
case 404:
|
|
121
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
119
122
|
case 429:
|
|
120
123
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
121
124
|
default:
|
|
@@ -23,6 +23,7 @@ export declare class RolesClient {
|
|
|
23
23
|
* @throws {@link Management.BadRequestError}
|
|
24
24
|
* @throws {@link Management.UnauthorizedError}
|
|
25
25
|
* @throws {@link Management.ForbiddenError}
|
|
26
|
+
* @throws {@link Management.NotFoundError}
|
|
26
27
|
* @throws {@link Management.TooManyRequestsError}
|
|
27
28
|
*
|
|
28
29
|
* @example
|
|
@@ -68,6 +68,7 @@ class RolesClient {
|
|
|
68
68
|
* @throws {@link Management.BadRequestError}
|
|
69
69
|
* @throws {@link Management.UnauthorizedError}
|
|
70
70
|
* @throws {@link Management.ForbiddenError}
|
|
71
|
+
* @throws {@link Management.NotFoundError}
|
|
71
72
|
* @throws {@link Management.TooManyRequestsError}
|
|
72
73
|
*
|
|
73
74
|
* @example
|
|
@@ -118,6 +119,8 @@ class RolesClient {
|
|
|
118
119
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
119
120
|
case 403:
|
|
120
121
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
122
|
+
case 404:
|
|
123
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
121
124
|
case 429:
|
|
122
125
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
123
126
|
default:
|
|
@@ -34,7 +34,7 @@ export declare class RefreshTokensClient {
|
|
|
34
34
|
*/
|
|
35
35
|
list(request: Management.GetRefreshTokensRequestParameters, requestOptions?: RefreshTokensClient.RequestOptions): Promise<core.Page<Management.RefreshTokenResponseContent, Management.GetRefreshTokensPaginatedResponseContent>>;
|
|
36
36
|
/**
|
|
37
|
-
* Revoke refresh tokens in bulk by ID list, user, user+client, or client.
|
|
37
|
+
* Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
|
|
38
38
|
*
|
|
39
39
|
* @param {Management.RevokeRefreshTokensRequestContent} request
|
|
40
40
|
* @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -148,7 +148,7 @@ class RefreshTokensClient {
|
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
|
-
* Revoke refresh tokens in bulk by ID list, user, user+client, or client.
|
|
151
|
+
* Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
|
|
152
152
|
*
|
|
153
153
|
* @param {Management.RevokeRefreshTokensRequestContent} request
|
|
154
154
|
* @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,6 +20,7 @@ export declare class GroupsClient {
|
|
|
20
20
|
* @throws {@link Management.BadRequestError}
|
|
21
21
|
* @throws {@link Management.UnauthorizedError}
|
|
22
22
|
* @throws {@link Management.ForbiddenError}
|
|
23
|
+
* @throws {@link Management.NotFoundError}
|
|
23
24
|
* @throws {@link Management.TooManyRequestsError}
|
|
24
25
|
*
|
|
25
26
|
* @example
|
|
@@ -59,6 +60,7 @@ export declare class GroupsClient {
|
|
|
59
60
|
* @throws {@link Management.BadRequestError}
|
|
60
61
|
* @throws {@link Management.UnauthorizedError}
|
|
61
62
|
* @throws {@link Management.ForbiddenError}
|
|
63
|
+
* @throws {@link Management.NotFoundError}
|
|
62
64
|
* @throws {@link Management.TooManyRequestsError}
|
|
63
65
|
*
|
|
64
66
|
* @example
|
|
@@ -65,6 +65,7 @@ class GroupsClient {
|
|
|
65
65
|
* @throws {@link Management.BadRequestError}
|
|
66
66
|
* @throws {@link Management.UnauthorizedError}
|
|
67
67
|
* @throws {@link Management.ForbiddenError}
|
|
68
|
+
* @throws {@link Management.NotFoundError}
|
|
68
69
|
* @throws {@link Management.TooManyRequestsError}
|
|
69
70
|
*
|
|
70
71
|
* @example
|
|
@@ -113,6 +114,8 @@ class GroupsClient {
|
|
|
113
114
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
114
115
|
case 403:
|
|
115
116
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
117
|
+
case 404:
|
|
118
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
116
119
|
case 429:
|
|
117
120
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
118
121
|
default:
|
|
@@ -213,6 +216,7 @@ class GroupsClient {
|
|
|
213
216
|
* @throws {@link Management.BadRequestError}
|
|
214
217
|
* @throws {@link Management.UnauthorizedError}
|
|
215
218
|
* @throws {@link Management.ForbiddenError}
|
|
219
|
+
* @throws {@link Management.NotFoundError}
|
|
216
220
|
* @throws {@link Management.TooManyRequestsError}
|
|
217
221
|
*
|
|
218
222
|
* @example
|
|
@@ -253,6 +257,8 @@ class GroupsClient {
|
|
|
253
257
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
254
258
|
case 403:
|
|
255
259
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
260
|
+
case 404:
|
|
261
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
256
262
|
case 429:
|
|
257
263
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
258
264
|
default:
|
|
@@ -41,6 +41,7 @@ export declare class PermissionsClient {
|
|
|
41
41
|
* @throws {@link Management.BadRequestError}
|
|
42
42
|
* @throws {@link Management.UnauthorizedError}
|
|
43
43
|
* @throws {@link Management.ForbiddenError}
|
|
44
|
+
* @throws {@link Management.NotFoundError}
|
|
44
45
|
* @throws {@link Management.TooManyRequestsError}
|
|
45
46
|
*
|
|
46
47
|
* @example
|
|
@@ -154,6 +154,7 @@ class PermissionsClient {
|
|
|
154
154
|
* @throws {@link Management.BadRequestError}
|
|
155
155
|
* @throws {@link Management.UnauthorizedError}
|
|
156
156
|
* @throws {@link Management.ForbiddenError}
|
|
157
|
+
* @throws {@link Management.NotFoundError}
|
|
157
158
|
* @throws {@link Management.TooManyRequestsError}
|
|
158
159
|
*
|
|
159
160
|
* @example
|
|
@@ -197,6 +198,8 @@ class PermissionsClient {
|
|
|
197
198
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
198
199
|
case 403:
|
|
199
200
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
201
|
+
case 404:
|
|
202
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
200
203
|
case 429:
|
|
201
204
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
202
205
|
default:
|
package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare class SsoTicketClient {
|
|
|
20
20
|
* @throws {@link Management.BadRequestError}
|
|
21
21
|
* @throws {@link Management.UnauthorizedError}
|
|
22
22
|
* @throws {@link Management.ForbiddenError}
|
|
23
|
+
* @throws {@link Management.ConflictError}
|
|
23
24
|
* @throws {@link Management.TooManyRequestsError}
|
|
24
25
|
*
|
|
25
26
|
* @example
|
package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js
CHANGED
|
@@ -65,6 +65,7 @@ class SsoTicketClient {
|
|
|
65
65
|
* @throws {@link Management.BadRequestError}
|
|
66
66
|
* @throws {@link Management.UnauthorizedError}
|
|
67
67
|
* @throws {@link Management.ForbiddenError}
|
|
68
|
+
* @throws {@link Management.ConflictError}
|
|
68
69
|
* @throws {@link Management.TooManyRequestsError}
|
|
69
70
|
*
|
|
70
71
|
* @example
|
|
@@ -106,6 +107,8 @@ class SsoTicketClient {
|
|
|
106
107
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
107
108
|
case 403:
|
|
108
109
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
110
|
+
case 409:
|
|
111
|
+
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
109
112
|
case 429:
|
|
110
113
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
111
114
|
default:
|
|
@@ -13,15 +13,14 @@ export declare class TokenExchangeProfilesClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve a list of all Token Exchange Profiles available in your tenant.
|
|
15
15
|
*
|
|
16
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
16
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
17
17
|
*
|
|
18
18
|
* This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters:
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li><code>from</code>: Optional id from which to start selection.</li>
|
|
21
|
-
* <li><code>take</code>: The total amount of entries to retrieve when using the from parameter. Defaults to 50.</li>
|
|
22
|
-
* </ul>
|
|
23
19
|
*
|
|
24
|
-
*
|
|
20
|
+
* - `from`: Optional id from which to start selection.
|
|
21
|
+
* - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
|
|
22
|
+
*
|
|
23
|
+
* **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
|
|
25
24
|
*
|
|
26
25
|
* @param {Management.TokenExchangeProfilesListRequest} request
|
|
27
26
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -41,7 +40,7 @@ export declare class TokenExchangeProfilesClient {
|
|
|
41
40
|
/**
|
|
42
41
|
* Create a new Token Exchange Profile within your tenant.
|
|
43
42
|
*
|
|
44
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
43
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
45
44
|
*
|
|
46
45
|
* @param {Management.CreateTokenExchangeProfileRequestContent} request
|
|
47
46
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -65,7 +64,7 @@ export declare class TokenExchangeProfilesClient {
|
|
|
65
64
|
/**
|
|
66
65
|
* Retrieve details about a single Token Exchange Profile specified by ID.
|
|
67
66
|
*
|
|
68
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
67
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
69
68
|
*
|
|
70
69
|
* @param {string} id - ID of the Token Exchange Profile to retrieve.
|
|
71
70
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -84,8 +83,7 @@ export declare class TokenExchangeProfilesClient {
|
|
|
84
83
|
/**
|
|
85
84
|
* Delete a Token Exchange Profile within your tenant.
|
|
86
85
|
*
|
|
87
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
88
|
-
*
|
|
86
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
89
87
|
*
|
|
90
88
|
* @param {string} id - ID of the Token Exchange Profile to delete.
|
|
91
89
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -102,8 +100,7 @@ export declare class TokenExchangeProfilesClient {
|
|
|
102
100
|
/**
|
|
103
101
|
* Update a Token Exchange Profile within your tenant.
|
|
104
102
|
*
|
|
105
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
106
|
-
*
|
|
103
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
107
104
|
*
|
|
108
105
|
* @param {string} id - ID of the Token Exchange Profile to update.
|
|
109
106
|
* @param {Management.UpdateTokenExchangeProfileRequestContent} request
|
|
@@ -113,6 +110,7 @@ export declare class TokenExchangeProfilesClient {
|
|
|
113
110
|
* @throws {@link Management.UnauthorizedError}
|
|
114
111
|
* @throws {@link Management.ForbiddenError}
|
|
115
112
|
* @throws {@link Management.NotFoundError}
|
|
113
|
+
* @throws {@link Management.ConflictError}
|
|
116
114
|
* @throws {@link Management.TooManyRequestsError}
|
|
117
115
|
*
|
|
118
116
|
* @example
|
|
@@ -58,15 +58,14 @@ class TokenExchangeProfilesClient {
|
|
|
58
58
|
/**
|
|
59
59
|
* Retrieve a list of all Token Exchange Profiles available in your tenant.
|
|
60
60
|
*
|
|
61
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
61
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
62
62
|
*
|
|
63
63
|
* This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters:
|
|
64
|
-
* <ul>
|
|
65
|
-
* <li><code>from</code>: Optional id from which to start selection.</li>
|
|
66
|
-
* <li><code>take</code>: The total amount of entries to retrieve when using the from parameter. Defaults to 50.</li>
|
|
67
|
-
* </ul>
|
|
68
64
|
*
|
|
69
|
-
*
|
|
65
|
+
* - `from`: Optional id from which to start selection.
|
|
66
|
+
* - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
|
|
67
|
+
*
|
|
68
|
+
* **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
|
|
70
69
|
*
|
|
71
70
|
* @param {Management.TokenExchangeProfilesListRequest} request
|
|
72
71
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -149,7 +148,7 @@ class TokenExchangeProfilesClient {
|
|
|
149
148
|
/**
|
|
150
149
|
* Create a new Token Exchange Profile within your tenant.
|
|
151
150
|
*
|
|
152
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
151
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
153
152
|
*
|
|
154
153
|
* @param {Management.CreateTokenExchangeProfileRequestContent} request
|
|
155
154
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -222,7 +221,7 @@ class TokenExchangeProfilesClient {
|
|
|
222
221
|
/**
|
|
223
222
|
* Retrieve details about a single Token Exchange Profile specified by ID.
|
|
224
223
|
*
|
|
225
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
224
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
226
225
|
*
|
|
227
226
|
* @param {string} id - ID of the Token Exchange Profile to retrieve.
|
|
228
227
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -287,8 +286,7 @@ class TokenExchangeProfilesClient {
|
|
|
287
286
|
/**
|
|
288
287
|
* Delete a Token Exchange Profile within your tenant.
|
|
289
288
|
*
|
|
290
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
291
|
-
*
|
|
289
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
292
290
|
*
|
|
293
291
|
* @param {string} id - ID of the Token Exchange Profile to delete.
|
|
294
292
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -344,8 +342,7 @@ class TokenExchangeProfilesClient {
|
|
|
344
342
|
/**
|
|
345
343
|
* Update a Token Exchange Profile within your tenant.
|
|
346
344
|
*
|
|
347
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
348
|
-
*
|
|
345
|
+
* By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
|
|
349
346
|
*
|
|
350
347
|
* @param {string} id - ID of the Token Exchange Profile to update.
|
|
351
348
|
* @param {Management.UpdateTokenExchangeProfileRequestContent} request
|
|
@@ -355,6 +352,7 @@ class TokenExchangeProfilesClient {
|
|
|
355
352
|
* @throws {@link Management.UnauthorizedError}
|
|
356
353
|
* @throws {@link Management.ForbiddenError}
|
|
357
354
|
* @throws {@link Management.NotFoundError}
|
|
355
|
+
* @throws {@link Management.ConflictError}
|
|
358
356
|
* @throws {@link Management.TooManyRequestsError}
|
|
359
357
|
*
|
|
360
358
|
* @example
|
|
@@ -395,6 +393,8 @@ class TokenExchangeProfilesClient {
|
|
|
395
393
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
396
394
|
case 404:
|
|
397
395
|
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
396
|
+
case 409:
|
|
397
|
+
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
398
398
|
case 429:
|
|
399
399
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
400
400
|
default:
|
|
@@ -126,6 +126,7 @@ export declare class UserAttributeProfilesClient {
|
|
|
126
126
|
* @throws {@link Management.BadRequestError}
|
|
127
127
|
* @throws {@link Management.UnauthorizedError}
|
|
128
128
|
* @throws {@link Management.ForbiddenError}
|
|
129
|
+
* @throws {@link Management.NotFoundError}
|
|
129
130
|
* @throws {@link Management.TooManyRequestsError}
|
|
130
131
|
*
|
|
131
132
|
* @example
|
|
@@ -452,6 +452,7 @@ class UserAttributeProfilesClient {
|
|
|
452
452
|
* @throws {@link Management.BadRequestError}
|
|
453
453
|
* @throws {@link Management.UnauthorizedError}
|
|
454
454
|
* @throws {@link Management.ForbiddenError}
|
|
455
|
+
* @throws {@link Management.NotFoundError}
|
|
455
456
|
* @throws {@link Management.TooManyRequestsError}
|
|
456
457
|
*
|
|
457
458
|
* @example
|
|
@@ -493,6 +494,8 @@ class UserAttributeProfilesClient {
|
|
|
493
494
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
494
495
|
case 403:
|
|
495
496
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
497
|
+
case 404:
|
|
498
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
496
499
|
case 429:
|
|
497
500
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
498
501
|
default:
|