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
|
|
@@ -29,6 +29,7 @@ export class EnabledConnectionsClient {
|
|
|
29
29
|
* @throws {@link Management.BadRequestError}
|
|
30
30
|
* @throws {@link Management.UnauthorizedError}
|
|
31
31
|
* @throws {@link Management.ForbiddenError}
|
|
32
|
+
* @throws {@link Management.NotFoundError}
|
|
32
33
|
* @throws {@link Management.TooManyRequestsError}
|
|
33
34
|
*
|
|
34
35
|
* @example
|
|
@@ -79,6 +80,8 @@ export class EnabledConnectionsClient {
|
|
|
79
80
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
80
81
|
case 403:
|
|
81
82
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
83
|
+
case 404:
|
|
84
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
82
85
|
case 429:
|
|
83
86
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
84
87
|
default:
|
|
@@ -117,6 +120,7 @@ export class EnabledConnectionsClient {
|
|
|
117
120
|
* @throws {@link Management.BadRequestError}
|
|
118
121
|
* @throws {@link Management.UnauthorizedError}
|
|
119
122
|
* @throws {@link Management.ForbiddenError}
|
|
123
|
+
* @throws {@link Management.NotFoundError}
|
|
120
124
|
* @throws {@link Management.TooManyRequestsError}
|
|
121
125
|
*
|
|
122
126
|
* @example
|
|
@@ -160,6 +164,8 @@ export class EnabledConnectionsClient {
|
|
|
160
164
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
161
165
|
case 403:
|
|
162
166
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
167
|
+
case 404:
|
|
168
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
163
169
|
case 429:
|
|
164
170
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
165
171
|
default:
|
|
@@ -182,6 +188,7 @@ export class EnabledConnectionsClient {
|
|
|
182
188
|
*
|
|
183
189
|
* @throws {@link Management.UnauthorizedError}
|
|
184
190
|
* @throws {@link Management.ForbiddenError}
|
|
191
|
+
* @throws {@link Management.NotFoundError}
|
|
185
192
|
* @throws {@link Management.TooManyRequestsError}
|
|
186
193
|
*
|
|
187
194
|
* @example
|
|
@@ -218,6 +225,8 @@ export class EnabledConnectionsClient {
|
|
|
218
225
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
219
226
|
case 403:
|
|
220
227
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
228
|
+
case 404:
|
|
229
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
221
230
|
case 429:
|
|
222
231
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
223
232
|
default:
|
|
@@ -243,6 +252,7 @@ export class EnabledConnectionsClient {
|
|
|
243
252
|
* @throws {@link Management.BadRequestError}
|
|
244
253
|
* @throws {@link Management.UnauthorizedError}
|
|
245
254
|
* @throws {@link Management.ForbiddenError}
|
|
255
|
+
* @throws {@link Management.NotFoundError}
|
|
246
256
|
* @throws {@link Management.TooManyRequestsError}
|
|
247
257
|
*
|
|
248
258
|
* @example
|
|
@@ -278,6 +288,8 @@ export class EnabledConnectionsClient {
|
|
|
278
288
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
279
289
|
case 403:
|
|
280
290
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
291
|
+
case 404:
|
|
292
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
281
293
|
case 429:
|
|
282
294
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
283
295
|
default:
|
|
@@ -302,6 +314,7 @@ export class EnabledConnectionsClient {
|
|
|
302
314
|
* @throws {@link Management.BadRequestError}
|
|
303
315
|
* @throws {@link Management.UnauthorizedError}
|
|
304
316
|
* @throws {@link Management.ForbiddenError}
|
|
317
|
+
* @throws {@link Management.NotFoundError}
|
|
305
318
|
* @throws {@link Management.TooManyRequestsError}
|
|
306
319
|
*
|
|
307
320
|
* @example
|
|
@@ -343,6 +356,8 @@ export class EnabledConnectionsClient {
|
|
|
343
356
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
344
357
|
case 403:
|
|
345
358
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
359
|
+
case 404:
|
|
360
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
346
361
|
case 429:
|
|
347
362
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
348
363
|
default:
|
package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts
CHANGED
|
@@ -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
|
|
@@ -34,6 +34,7 @@ export class GroupsClient {
|
|
|
34
34
|
* @throws {@link Management.BadRequestError}
|
|
35
35
|
* @throws {@link Management.UnauthorizedError}
|
|
36
36
|
* @throws {@link Management.ForbiddenError}
|
|
37
|
+
* @throws {@link Management.NotFoundError}
|
|
37
38
|
* @throws {@link Management.TooManyRequestsError}
|
|
38
39
|
*
|
|
39
40
|
* @example
|
|
@@ -82,6 +83,8 @@ export class GroupsClient {
|
|
|
82
83
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
83
84
|
case 403:
|
|
84
85
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
86
|
+
case 404:
|
|
87
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
85
88
|
case 429:
|
|
86
89
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
87
90
|
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
|
|
@@ -30,6 +30,7 @@ export class RolesClient {
|
|
|
30
30
|
* @throws {@link Management.BadRequestError}
|
|
31
31
|
* @throws {@link Management.UnauthorizedError}
|
|
32
32
|
* @throws {@link Management.ForbiddenError}
|
|
33
|
+
* @throws {@link Management.NotFoundError}
|
|
33
34
|
* @throws {@link Management.TooManyRequestsError}
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
@@ -78,6 +79,8 @@ export class RolesClient {
|
|
|
78
79
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
79
80
|
case 403:
|
|
80
81
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
82
|
+
case 404:
|
|
83
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
81
84
|
case 429:
|
|
82
85
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
83
86
|
default:
|
|
@@ -113,6 +116,7 @@ export class RolesClient {
|
|
|
113
116
|
* @throws {@link Management.BadRequestError}
|
|
114
117
|
* @throws {@link Management.UnauthorizedError}
|
|
115
118
|
* @throws {@link Management.ForbiddenError}
|
|
119
|
+
* @throws {@link Management.NotFoundError}
|
|
116
120
|
* @throws {@link Management.ConflictError}
|
|
117
121
|
* @throws {@link Management.TooManyRequestsError}
|
|
118
122
|
*
|
|
@@ -154,6 +158,8 @@ export class RolesClient {
|
|
|
154
158
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
155
159
|
case 403:
|
|
156
160
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
161
|
+
case 404:
|
|
162
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
157
163
|
case 409:
|
|
158
164
|
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
159
165
|
case 429:
|
|
@@ -180,6 +186,7 @@ export class RolesClient {
|
|
|
180
186
|
* @throws {@link Management.BadRequestError}
|
|
181
187
|
* @throws {@link Management.UnauthorizedError}
|
|
182
188
|
* @throws {@link Management.ForbiddenError}
|
|
189
|
+
* @throws {@link Management.NotFoundError}
|
|
183
190
|
* @throws {@link Management.TooManyRequestsError}
|
|
184
191
|
*
|
|
185
192
|
* @example
|
|
@@ -220,6 +227,8 @@ export class RolesClient {
|
|
|
220
227
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
221
228
|
case 403:
|
|
222
229
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
230
|
+
case 404:
|
|
231
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
223
232
|
case 429:
|
|
224
233
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
225
234
|
default:
|
package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts
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
|
|
@@ -54,6 +54,7 @@ export class MembersClient {
|
|
|
54
54
|
* @throws {@link Management.BadRequestError}
|
|
55
55
|
* @throws {@link Management.UnauthorizedError}
|
|
56
56
|
* @throws {@link Management.ForbiddenError}
|
|
57
|
+
* @throws {@link Management.NotFoundError}
|
|
57
58
|
* @throws {@link Management.TooManyRequestsError}
|
|
58
59
|
*
|
|
59
60
|
* @example
|
|
@@ -106,6 +107,8 @@ export class MembersClient {
|
|
|
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 404:
|
|
111
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
109
112
|
case 429:
|
|
110
113
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
111
114
|
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
|
|
@@ -35,6 +35,7 @@ export class EffectiveRolesClient {
|
|
|
35
35
|
* @throws {@link Management.BadRequestError}
|
|
36
36
|
* @throws {@link Management.UnauthorizedError}
|
|
37
37
|
* @throws {@link Management.ForbiddenError}
|
|
38
|
+
* @throws {@link Management.NotFoundError}
|
|
38
39
|
* @throws {@link Management.TooManyRequestsError}
|
|
39
40
|
*
|
|
40
41
|
* @example
|
|
@@ -83,6 +84,8 @@ export class EffectiveRolesClient {
|
|
|
83
84
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
84
85
|
case 403:
|
|
85
86
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
87
|
+
case 404:
|
|
88
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
86
89
|
case 429:
|
|
87
90
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
88
91
|
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
|
|
@@ -30,6 +30,7 @@ export class GroupsClient {
|
|
|
30
30
|
* @throws {@link Management.BadRequestError}
|
|
31
31
|
* @throws {@link Management.UnauthorizedError}
|
|
32
32
|
* @throws {@link Management.ForbiddenError}
|
|
33
|
+
* @throws {@link Management.NotFoundError}
|
|
33
34
|
* @throws {@link Management.TooManyRequestsError}
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
@@ -80,6 +81,8 @@ export class GroupsClient {
|
|
|
80
81
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
81
82
|
case 403:
|
|
82
83
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
84
|
+
case 404:
|
|
85
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
83
86
|
case 429:
|
|
84
87
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
85
88
|
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
|
|
@@ -32,6 +32,7 @@ export class RolesClient {
|
|
|
32
32
|
* @throws {@link Management.BadRequestError}
|
|
33
33
|
* @throws {@link Management.UnauthorizedError}
|
|
34
34
|
* @throws {@link Management.ForbiddenError}
|
|
35
|
+
* @throws {@link Management.NotFoundError}
|
|
35
36
|
* @throws {@link Management.TooManyRequestsError}
|
|
36
37
|
*
|
|
37
38
|
* @example
|
|
@@ -82,6 +83,8 @@ export class RolesClient {
|
|
|
82
83
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
83
84
|
case 403:
|
|
84
85
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
86
|
+
case 404:
|
|
87
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
85
88
|
case 429:
|
|
86
89
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
87
90
|
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.
|
|
@@ -112,7 +112,7 @@ export class RefreshTokensClient {
|
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
* Revoke refresh tokens in bulk by ID list, user, user+client, or client.
|
|
115
|
+
* Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
|
|
116
116
|
*
|
|
117
117
|
* @param {Management.RevokeRefreshTokensRequestContent} request
|
|
118
118
|
* @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
|
|
@@ -29,6 +29,7 @@ export class GroupsClient {
|
|
|
29
29
|
* @throws {@link Management.BadRequestError}
|
|
30
30
|
* @throws {@link Management.UnauthorizedError}
|
|
31
31
|
* @throws {@link Management.ForbiddenError}
|
|
32
|
+
* @throws {@link Management.NotFoundError}
|
|
32
33
|
* @throws {@link Management.TooManyRequestsError}
|
|
33
34
|
*
|
|
34
35
|
* @example
|
|
@@ -77,6 +78,8 @@ export class GroupsClient {
|
|
|
77
78
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
78
79
|
case 403:
|
|
79
80
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
81
|
+
case 404:
|
|
82
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
80
83
|
case 429:
|
|
81
84
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
82
85
|
default:
|
|
@@ -177,6 +180,7 @@ export class GroupsClient {
|
|
|
177
180
|
* @throws {@link Management.BadRequestError}
|
|
178
181
|
* @throws {@link Management.UnauthorizedError}
|
|
179
182
|
* @throws {@link Management.ForbiddenError}
|
|
183
|
+
* @throws {@link Management.NotFoundError}
|
|
180
184
|
* @throws {@link Management.TooManyRequestsError}
|
|
181
185
|
*
|
|
182
186
|
* @example
|
|
@@ -217,6 +221,8 @@ export class GroupsClient {
|
|
|
217
221
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
218
222
|
case 403:
|
|
219
223
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
224
|
+
case 404:
|
|
225
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
220
226
|
case 429:
|
|
221
227
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
222
228
|
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
|
|
@@ -118,6 +118,7 @@ export class PermissionsClient {
|
|
|
118
118
|
* @throws {@link Management.BadRequestError}
|
|
119
119
|
* @throws {@link Management.UnauthorizedError}
|
|
120
120
|
* @throws {@link Management.ForbiddenError}
|
|
121
|
+
* @throws {@link Management.NotFoundError}
|
|
121
122
|
* @throws {@link Management.TooManyRequestsError}
|
|
122
123
|
*
|
|
123
124
|
* @example
|
|
@@ -161,6 +162,8 @@ export class PermissionsClient {
|
|
|
161
162
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
162
163
|
case 403:
|
|
163
164
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
165
|
+
case 404:
|
|
166
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
164
167
|
case 429:
|
|
165
168
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
166
169
|
default:
|
|
@@ -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/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs
CHANGED
|
@@ -29,6 +29,7 @@ export class SsoTicketClient {
|
|
|
29
29
|
* @throws {@link Management.BadRequestError}
|
|
30
30
|
* @throws {@link Management.UnauthorizedError}
|
|
31
31
|
* @throws {@link Management.ForbiddenError}
|
|
32
|
+
* @throws {@link Management.ConflictError}
|
|
32
33
|
* @throws {@link Management.TooManyRequestsError}
|
|
33
34
|
*
|
|
34
35
|
* @example
|
|
@@ -70,6 +71,8 @@ export class SsoTicketClient {
|
|
|
70
71
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
71
72
|
case 403:
|
|
72
73
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
74
|
+
case 409:
|
|
75
|
+
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
73
76
|
case 429:
|
|
74
77
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
75
78
|
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
|
|
@@ -22,15 +22,14 @@ export class TokenExchangeProfilesClient {
|
|
|
22
22
|
/**
|
|
23
23
|
* Retrieve a list of all Token Exchange Profiles available in your tenant.
|
|
24
24
|
*
|
|
25
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
25
|
+
* 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.
|
|
26
26
|
*
|
|
27
27
|
* This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters:
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li><code>from</code>: Optional id from which to start selection.</li>
|
|
30
|
-
* <li><code>take</code>: The total amount of entries to retrieve when using the from parameter. Defaults to 50.</li>
|
|
31
|
-
* </ul>
|
|
32
28
|
*
|
|
33
|
-
*
|
|
29
|
+
* - `from`: Optional id from which to start selection.
|
|
30
|
+
* - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
|
|
31
|
+
*
|
|
32
|
+
* **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.
|
|
34
33
|
*
|
|
35
34
|
* @param {Management.TokenExchangeProfilesListRequest} request
|
|
36
35
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -113,7 +112,7 @@ export class TokenExchangeProfilesClient {
|
|
|
113
112
|
/**
|
|
114
113
|
* Create a new Token Exchange Profile within your tenant.
|
|
115
114
|
*
|
|
116
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
115
|
+
* 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.
|
|
117
116
|
*
|
|
118
117
|
* @param {Management.CreateTokenExchangeProfileRequestContent} request
|
|
119
118
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -186,7 +185,7 @@ export class TokenExchangeProfilesClient {
|
|
|
186
185
|
/**
|
|
187
186
|
* Retrieve details about a single Token Exchange Profile specified by ID.
|
|
188
187
|
*
|
|
189
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
188
|
+
* 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.
|
|
190
189
|
*
|
|
191
190
|
* @param {string} id - ID of the Token Exchange Profile to retrieve.
|
|
192
191
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -251,8 +250,7 @@ export class TokenExchangeProfilesClient {
|
|
|
251
250
|
/**
|
|
252
251
|
* Delete a Token Exchange Profile within your tenant.
|
|
253
252
|
*
|
|
254
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
255
|
-
*
|
|
253
|
+
* 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.
|
|
256
254
|
*
|
|
257
255
|
* @param {string} id - ID of the Token Exchange Profile to delete.
|
|
258
256
|
* @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -308,8 +306,7 @@ export class TokenExchangeProfilesClient {
|
|
|
308
306
|
/**
|
|
309
307
|
* Update a Token Exchange Profile within your tenant.
|
|
310
308
|
*
|
|
311
|
-
* By using this feature, you agree to the applicable Free Trial terms in
|
|
312
|
-
*
|
|
309
|
+
* 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.
|
|
313
310
|
*
|
|
314
311
|
* @param {string} id - ID of the Token Exchange Profile to update.
|
|
315
312
|
* @param {Management.UpdateTokenExchangeProfileRequestContent} request
|
|
@@ -319,6 +316,7 @@ export class TokenExchangeProfilesClient {
|
|
|
319
316
|
* @throws {@link Management.UnauthorizedError}
|
|
320
317
|
* @throws {@link Management.ForbiddenError}
|
|
321
318
|
* @throws {@link Management.NotFoundError}
|
|
319
|
+
* @throws {@link Management.ConflictError}
|
|
322
320
|
* @throws {@link Management.TooManyRequestsError}
|
|
323
321
|
*
|
|
324
322
|
* @example
|
|
@@ -359,6 +357,8 @@ export class TokenExchangeProfilesClient {
|
|
|
359
357
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
360
358
|
case 404:
|
|
361
359
|
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
360
|
+
case 409:
|
|
361
|
+
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
362
362
|
case 429:
|
|
363
363
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
364
364
|
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
|
|
@@ -416,6 +416,7 @@ export class UserAttributeProfilesClient {
|
|
|
416
416
|
* @throws {@link Management.BadRequestError}
|
|
417
417
|
* @throws {@link Management.UnauthorizedError}
|
|
418
418
|
* @throws {@link Management.ForbiddenError}
|
|
419
|
+
* @throws {@link Management.NotFoundError}
|
|
419
420
|
* @throws {@link Management.TooManyRequestsError}
|
|
420
421
|
*
|
|
421
422
|
* @example
|
|
@@ -457,6 +458,8 @@ export class UserAttributeProfilesClient {
|
|
|
457
458
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
458
459
|
case 403:
|
|
459
460
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
461
|
+
case 404:
|
|
462
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
460
463
|
case 429:
|
|
461
464
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
462
465
|
default:
|