auth0 5.11.0 → 5.12.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/retry.d.ts +7 -2
- package/dist/cjs/lib/retry.js +35 -5
- package/dist/cjs/management/api/requests/requests.d.ts +12 -2
- 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 +68 -85
- package/dist/cjs/management/api/resources/clients/client/Client.js +68 -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/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/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/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 +131 -77
- package/dist/cjs/management/api/types/types.js +29 -45
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- 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 +12 -2
- 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 +68 -85
- package/dist/esm/management/api/resources/clients/client/Client.mjs +68 -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/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/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/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 +131 -77
- package/dist/esm/management/api/types/types.mjs +16 -32
- 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 +223 -261
|
@@ -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:
|
|
@@ -11,7 +11,7 @@ export declare class UserGrantsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<UserGrantsClient.Options>;
|
|
12
12
|
constructor(options: UserGrantsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Retrieve the
|
|
14
|
+
* Retrieve the [grants](https://auth0.com/docs/api-auth/which-oauth-flow-to-use) associated with your account.
|
|
15
15
|
*
|
|
16
16
|
* @param {Management.ListUserGrantsRequestParameters} request
|
|
17
17
|
* @param {UserGrantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class UserGrantsClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Retrieve the
|
|
23
|
+
* Retrieve the [grants](https://auth0.com/docs/api-auth/which-oauth-flow-to-use) associated with your account.
|
|
24
24
|
*
|
|
25
25
|
* @param {Management.ListUserGrantsRequestParameters} request
|
|
26
26
|
* @param {UserGrantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts
CHANGED
|
@@ -23,6 +23,7 @@ export declare class EffectiveRolesClient {
|
|
|
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 EffectiveRolesClient {
|
|
|
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 EffectiveRolesClient {
|
|
|
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:
|
|
@@ -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
|
|
@@ -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
|
|
@@ -79,6 +80,8 @@ export class GroupsClient {
|
|
|
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:
|
|
@@ -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
|
|
@@ -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
|
|
@@ -81,6 +82,8 @@ export class GroupsClient {
|
|
|
81
82
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
82
83
|
case 403:
|
|
83
84
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
85
|
+
case 404:
|
|
86
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
84
87
|
case 429:
|
|
85
88
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
86
89
|
default:
|
|
@@ -19,6 +19,7 @@ export declare class OrganizationsClient {
|
|
|
19
19
|
*
|
|
20
20
|
* @throws {@link Management.UnauthorizedError}
|
|
21
21
|
* @throws {@link Management.ForbiddenError}
|
|
22
|
+
* @throws {@link Management.NotFoundError}
|
|
22
23
|
* @throws {@link Management.TooManyRequestsError}
|
|
23
24
|
*
|
|
24
25
|
* @example
|
|
@@ -28,6 +28,7 @@ export class OrganizationsClient {
|
|
|
28
28
|
*
|
|
29
29
|
* @throws {@link Management.UnauthorizedError}
|
|
30
30
|
* @throws {@link Management.ForbiddenError}
|
|
31
|
+
* @throws {@link Management.NotFoundError}
|
|
31
32
|
* @throws {@link Management.TooManyRequestsError}
|
|
32
33
|
*
|
|
33
34
|
* @example
|
|
@@ -76,6 +77,8 @@ export class OrganizationsClient {
|
|
|
76
77
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
77
78
|
case 403:
|
|
78
79
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
80
|
+
case 404:
|
|
81
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
79
82
|
case 429:
|
|
80
83
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
81
84
|
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
|
|
@@ -63,6 +64,7 @@ export declare class PermissionsClient {
|
|
|
63
64
|
* @throws {@link Management.BadRequestError}
|
|
64
65
|
* @throws {@link Management.UnauthorizedError}
|
|
65
66
|
* @throws {@link Management.ForbiddenError}
|
|
67
|
+
* @throws {@link Management.NotFoundError}
|
|
66
68
|
* @throws {@link Management.TooManyRequestsError}
|
|
67
69
|
*
|
|
68
70
|
* @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:
|
|
@@ -184,6 +187,7 @@ export class PermissionsClient {
|
|
|
184
187
|
* @throws {@link Management.BadRequestError}
|
|
185
188
|
* @throws {@link Management.UnauthorizedError}
|
|
186
189
|
* @throws {@link Management.ForbiddenError}
|
|
190
|
+
* @throws {@link Management.NotFoundError}
|
|
187
191
|
* @throws {@link Management.TooManyRequestsError}
|
|
188
192
|
*
|
|
189
193
|
* @example
|
|
@@ -227,6 +231,8 @@ export class PermissionsClient {
|
|
|
227
231
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
228
232
|
case 403:
|
|
229
233
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
234
|
+
case 404:
|
|
235
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
230
236
|
case 429:
|
|
231
237
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
232
238
|
default:
|
|
@@ -45,6 +45,7 @@ export declare class RolesClient {
|
|
|
45
45
|
* @throws {@link Management.BadRequestError}
|
|
46
46
|
* @throws {@link Management.UnauthorizedError}
|
|
47
47
|
* @throws {@link Management.ForbiddenError}
|
|
48
|
+
* @throws {@link Management.NotFoundError}
|
|
48
49
|
* @throws {@link Management.TooManyRequestsError}
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
@@ -65,6 +66,7 @@ export declare class RolesClient {
|
|
|
65
66
|
*
|
|
66
67
|
* @throws {@link Management.UnauthorizedError}
|
|
67
68
|
* @throws {@link Management.ForbiddenError}
|
|
69
|
+
* @throws {@link Management.NotFoundError}
|
|
68
70
|
* @throws {@link Management.TooManyRequestsError}
|
|
69
71
|
*
|
|
70
72
|
* @example
|
|
@@ -122,6 +122,7 @@ export class RolesClient {
|
|
|
122
122
|
* @throws {@link Management.BadRequestError}
|
|
123
123
|
* @throws {@link Management.UnauthorizedError}
|
|
124
124
|
* @throws {@link Management.ForbiddenError}
|
|
125
|
+
* @throws {@link Management.NotFoundError}
|
|
125
126
|
* @throws {@link Management.TooManyRequestsError}
|
|
126
127
|
*
|
|
127
128
|
* @example
|
|
@@ -162,6 +163,8 @@ export class RolesClient {
|
|
|
162
163
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
163
164
|
case 403:
|
|
164
165
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
166
|
+
case 404:
|
|
167
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
165
168
|
case 429:
|
|
166
169
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
167
170
|
default:
|
|
@@ -186,6 +189,7 @@ export class RolesClient {
|
|
|
186
189
|
*
|
|
187
190
|
* @throws {@link Management.UnauthorizedError}
|
|
188
191
|
* @throws {@link Management.ForbiddenError}
|
|
192
|
+
* @throws {@link Management.NotFoundError}
|
|
189
193
|
* @throws {@link Management.TooManyRequestsError}
|
|
190
194
|
*
|
|
191
195
|
* @example
|
|
@@ -224,6 +228,8 @@ export class RolesClient {
|
|
|
224
228
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
225
229
|
case 403:
|
|
226
230
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
231
|
+
case 404:
|
|
232
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
227
233
|
case 429:
|
|
228
234
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
229
235
|
default:
|