auth0 5.10.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/BaseClient.d.ts +3 -0
- package/dist/cjs/management/BaseClient.js +15 -0
- package/dist/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +41 -36
- package/dist/cjs/management/api/requests/requests.d.ts +271 -2
- package/dist/cjs/management/api/resources/actions/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/actions/client/Client.js +1 -1
- 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/branding/resources/templates/client/Client.d.ts +16 -16
- package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +16 -16
- 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 +72 -80
- package/dist/cjs/management/api/resources/clients/client/Client.js +72 -80
- 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/client/Client.d.ts +17 -19
- package/dist/cjs/management/api/resources/connections/client/Client.js +17 -19
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +2 -2
- 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 +20 -12
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +22 -12
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +3 -3
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +3 -3
- 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/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +5 -0
- package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/index.js +2 -1
- 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 +73 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +276 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/index.js +17 -0
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.d.ts +2 -5
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +2 -5
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.ts +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.d.ts +10 -12
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +10 -12
- package/dist/cjs/management/api/resources/hooks/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/hooks/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/logs/client/Client.d.ts +17 -20
- package/dist/cjs/management/api/resources/logs/client/Client.js +17 -20
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +16 -13
- package/dist/cjs/management/api/resources/organizations/client/Client.js +26 -17
- 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/discoveryDomains/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +7 -2
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +17 -2
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +36 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +149 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/index.js +18 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.ts +77 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +282 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +10 -12
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +16 -14
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +150 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.js +18 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.js +16 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.js +18 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +35 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +147 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +3 -2
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +5 -2
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.d.ts +102 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.js +397 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/index.js +2 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/index.js +17 -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/client/Client.d.ts +9 -6
- package/dist/cjs/management/api/resources/roles/client/Client.js +15 -10
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.d.ts +73 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +276 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/roles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +3 -2
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +5 -2
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +11 -13
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +11 -13
- package/dist/cjs/management/api/resources/rules/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/rules/client/Client.js +4 -4
- 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 +2 -1
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +4 -1
- package/dist/cjs/management/api/resources/userBlocks/client/Client.d.ts +6 -6
- package/dist/cjs/management/api/resources/userBlocks/client/Client.js +6 -6
- 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/client/Client.d.ts +82 -51
- package/dist/cjs/management/api/resources/users/client/Client.js +110 -75
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.d.ts +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.js +151 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.js +16 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.ts +35 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.js +148 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.js +17 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.d.ts +36 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +149 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.js +16 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +146 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +1 -1
- 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/identities/client/Client.d.ts +26 -25
- package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +26 -25
- package/dist/cjs/management/api/resources/users/resources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/index.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +4 -1
- 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 +6 -4
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +10 -4
- package/dist/cjs/management/api/types/types.d.ts +543 -128
- package/dist/cjs/management/api/types/types.js +120 -46
- package/dist/cjs/management/core/auth/AuthProvider.d.ts +1 -0
- package/dist/cjs/management/core/auth/AuthProvider.js +7 -0
- package/dist/cjs/management/core/auth/index.d.ts +1 -1
- package/dist/cjs/management/core/auth/index.js +3 -1
- package/dist/cjs/management/core/fetcher/requestWithRetries.js +4 -1
- 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/BaseClient.d.mts +3 -0
- package/dist/esm/management/BaseClient.mjs +15 -0
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/requests/requests.d.mts +271 -2
- package/dist/esm/management/api/resources/actions/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/actions/client/Client.mjs +1 -1
- 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/branding/resources/templates/client/Client.d.mts +16 -16
- package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +16 -16
- 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 +72 -80
- package/dist/esm/management/api/resources/clients/client/Client.mjs +72 -80
- 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/client/Client.d.mts +17 -19
- package/dist/esm/management/api/resources/connections/client/Client.mjs +17 -19
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +2 -2
- 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 +20 -12
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +22 -12
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +3 -3
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +3 -3
- 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/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
- 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 +73 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +239 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/resources/roles/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/roles/index.mjs +1 -0
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.d.mts +2 -5
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +2 -5
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.mts +3 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.d.mts +10 -12
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +10 -12
- package/dist/esm/management/api/resources/hooks/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/hooks/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/logs/client/Client.d.mts +17 -20
- package/dist/esm/management/api/resources/logs/client/Client.mjs +17 -20
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +16 -13
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +22 -13
- 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/discoveryDomains/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +7 -2
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +17 -2
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +36 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +112 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/index.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/index.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.mts +77 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +245 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +10 -12
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +14 -12
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +37 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +113 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.mjs +12 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +35 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +110 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +3 -2
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +5 -2
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.d.mts +102 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.mjs +360 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/index.d.mts +1 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/index.mjs +1 -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/client/Client.d.mts +9 -6
- package/dist/esm/management/api/resources/roles/client/Client.mjs +11 -6
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.d.mts +73 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +239 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/roles/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/roles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +3 -2
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +5 -2
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +11 -13
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +11 -13
- package/dist/esm/management/api/resources/rules/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/rules/client/Client.mjs +4 -4
- 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 +2 -1
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +4 -1
- package/dist/esm/management/api/resources/userBlocks/client/Client.d.mts +6 -6
- package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +6 -6
- 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/client/Client.d.mts +82 -51
- package/dist/esm/management/api/resources/users/client/Client.mjs +86 -51
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.d.mts +37 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.mjs +114 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.mjs +12 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.mts +35 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.mjs +111 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts +36 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +112 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.mjs +12 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +109 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +1 -1
- 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/identities/client/Client.d.mts +26 -25
- package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +26 -25
- package/dist/esm/management/api/resources/users/resources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +4 -1
- 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 +6 -4
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +10 -4
- package/dist/esm/management/api/types/types.d.mts +543 -128
- package/dist/esm/management/api/types/types.mjs +107 -33
- package/dist/esm/management/core/auth/AuthProvider.d.mts +1 -0
- package/dist/esm/management/core/auth/AuthProvider.mjs +6 -1
- package/dist/esm/management/core/auth/index.d.mts +1 -1
- package/dist/esm/management/core/auth/index.mjs +1 -0
- package/dist/esm/management/core/fetcher/requestWithRetries.mjs +4 -1
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +3 -3
- package/reference.md +3500 -1842
|
@@ -67,38 +67,30 @@ class ClientsClient {
|
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude may also be specified.
|
|
70
|
-
* For more information, read
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* </li>
|
|
95
|
-
* <li>
|
|
96
|
-
* The following properties can only be retrieved with the
|
|
97
|
-
* <code>read:client_keys</code> or <code>read:client_credentials</code> scope:
|
|
98
|
-
* <code>encryption_key</code>, <code>encryption_key.pub</code>, <code>encryption_key.cert</code>,
|
|
99
|
-
* <code>client_secret</code>, <code>client_authentication_methods</code> and <code>signing_key</code>.
|
|
100
|
-
* </li>
|
|
101
|
-
* </ul>
|
|
70
|
+
* For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on).
|
|
71
|
+
*
|
|
72
|
+
* - The following can be retrieved with any scope:
|
|
73
|
+
* `client_id`, `app_type`, `name`, and `description`.
|
|
74
|
+
* - The following properties can only be retrieved with the `read:clients` or
|
|
75
|
+
* `read:client_keys` scope:
|
|
76
|
+
* `callbacks`, `oidc_logout`, `allowed_origins`,
|
|
77
|
+
* `web_origins`, `tenant`, `global`, `config_route`,
|
|
78
|
+
* `callback_url_template`, `jwt_configuration`,
|
|
79
|
+
* `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
|
|
80
|
+
* `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
|
|
81
|
+
* `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
|
|
82
|
+
* `custom_login_page_off`, `sso`, `addons`, `form_template`,
|
|
83
|
+
* `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
|
|
84
|
+
* `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
|
|
85
|
+
* `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
|
|
86
|
+
* `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`,
|
|
87
|
+
* `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`,
|
|
88
|
+
* `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`,
|
|
89
|
+
* `organization_require_behavior`.
|
|
90
|
+
* - The following properties can only be retrieved with the
|
|
91
|
+
* `read:client_keys` or `read:client_credentials` scope:
|
|
92
|
+
* `encryption_key`, `encryption_key.pub`, `encryption_key.cert`,
|
|
93
|
+
* `client_secret`, `client_authentication_methods` and `signing_key`.
|
|
102
94
|
*
|
|
103
95
|
* @param {Management.ListClientsRequestParameters} request
|
|
104
96
|
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -197,20 +189,20 @@ class ClientsClient {
|
|
|
197
189
|
});
|
|
198
190
|
}
|
|
199
191
|
/**
|
|
200
|
-
* Create a new client (application or SSO integration). For more information, read
|
|
201
|
-
*
|
|
192
|
+
* Create a new client (application or SSO integration). For more information, read [Create Applications](https://www.auth0.com/docs/get-started/auth0-overview/create-applications)
|
|
193
|
+
* [API Endpoints for Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on/api-endpoints-for-single-sign-on).
|
|
202
194
|
*
|
|
203
195
|
* Notes:
|
|
204
196
|
* - We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret.
|
|
205
|
-
* - The
|
|
206
|
-
*
|
|
197
|
+
* - The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use
|
|
198
|
+
* `client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method`
|
|
207
199
|
* to configure the client with client secret (basic or post) or with no authentication method (none).
|
|
208
|
-
* - When using
|
|
200
|
+
* - When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, specify fully defined credentials.
|
|
209
201
|
* These credentials will be automatically enabled for Private Key JWT authentication on the client.
|
|
210
|
-
* - To configure
|
|
211
|
-
* - To configure
|
|
202
|
+
* - To configure `client_authentication_methods`, the `create:client_credentials` scope is required.
|
|
203
|
+
* - To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256.
|
|
212
204
|
*
|
|
213
|
-
*
|
|
205
|
+
* SSO Integrations created via this endpoint will accept login requests and share user profile information.
|
|
214
206
|
*
|
|
215
207
|
* @param {Management.CreateClientRequestContent} request
|
|
216
208
|
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -350,10 +342,17 @@ class ClientsClient {
|
|
|
350
342
|
});
|
|
351
343
|
}
|
|
352
344
|
/**
|
|
345
|
+
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
|
|
346
|
+
* Uses external_client_id as the unique identifier for upsert operations.
|
|
353
347
|
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
*
|
|
348
|
+
* **Create:** Returns 201 when a new client is created (requires `create:clients` scope).
|
|
349
|
+
* **Update:** Returns 200 when an existing client is updated (requires `update:clients` scope).
|
|
350
|
+
*
|
|
351
|
+
* This endpoint automatically:
|
|
352
|
+
* - Fetches and validates the metadata document
|
|
353
|
+
* - Maps CIMD fields to Auth0 client configuration
|
|
354
|
+
* - Creates/rotates credentials from the JWKS
|
|
355
|
+
* - Enforces CIMD security policies (HTTPS-only, no shared secrets)
|
|
357
356
|
*
|
|
358
357
|
* @param {Management.RegisterCimdClientRequestContent} request
|
|
359
358
|
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -422,36 +421,29 @@ class ClientsClient {
|
|
|
422
421
|
}
|
|
423
422
|
/**
|
|
424
423
|
* Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
|
|
425
|
-
* For more information, read
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
*
|
|
435
|
-
*
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
* </li>
|
|
449
|
-
* <li>
|
|
450
|
-
* The following properties can only be retrieved with the <code>read:client_keys</code> or <code>read:client_credentials</code> scopes:
|
|
451
|
-
* <code>encryption_key</code>, <code>encryption_key.pub</code>, <code>encryption_key.cert</code>,
|
|
452
|
-
* <code>client_secret</code>, <code>client_authentication_methods</code> and <code>signing_key</code>.
|
|
453
|
-
* </li>
|
|
454
|
-
* </ul>
|
|
424
|
+
* For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on).
|
|
425
|
+
*
|
|
426
|
+
* - The following properties can be retrieved with any of the scopes:
|
|
427
|
+
* `client_id`, `app_type`, `name`, and `description`.
|
|
428
|
+
* - The following properties can only be retrieved with the `read:clients` or
|
|
429
|
+
* `read:client_keys` scopes:
|
|
430
|
+
* `callbacks`, `oidc_logout`, `allowed_origins`,
|
|
431
|
+
* `web_origins`, `tenant`, `global`, `config_route`,
|
|
432
|
+
* `callback_url_template`, `jwt_configuration`,
|
|
433
|
+
* `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
|
|
434
|
+
* `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
|
|
435
|
+
* `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
|
|
436
|
+
* `custom_login_page_off`, `sso`, `addons`, `form_template`,
|
|
437
|
+
* `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
|
|
438
|
+
* `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
|
|
439
|
+
* `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
|
|
440
|
+
* `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`,
|
|
441
|
+
* `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`,
|
|
442
|
+
* `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`,
|
|
443
|
+
* `organization_require_behavior`.
|
|
444
|
+
* - The following properties can only be retrieved with the `read:client_keys` or `read:client_credentials` scopes:
|
|
445
|
+
* `encryption_key`, `encryption_key.pub`, `encryption_key.cert`,
|
|
446
|
+
* `client_secret`, `client_authentication_methods` and `signing_key`.
|
|
455
447
|
*
|
|
456
448
|
* @param {string} id - ID of the client to retrieve.
|
|
457
449
|
* @param {Management.GetClientRequestParameters} request
|
|
@@ -581,15 +573,15 @@ class ClientsClient {
|
|
|
581
573
|
});
|
|
582
574
|
}
|
|
583
575
|
/**
|
|
584
|
-
* Updates a client's settings. For more information, read
|
|
576
|
+
* Updates a client's settings. For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on).
|
|
585
577
|
*
|
|
586
578
|
* Notes:
|
|
587
579
|
* - The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope.
|
|
588
|
-
* - The
|
|
589
|
-
* - When using
|
|
590
|
-
* - To configure
|
|
591
|
-
* - To configure
|
|
592
|
-
* - To change a client's
|
|
580
|
+
* - The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use `client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method` to configure the client with client secret (basic or post) or with no authentication method (none).
|
|
581
|
+
* - When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, only specify the credential IDs that were generated when creating the credentials on the client.
|
|
582
|
+
* - To configure `client_authentication_methods`, the `update:client_credentials` scope is required.
|
|
583
|
+
* - To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256.
|
|
584
|
+
* - To change a client's `is_first_party` property to `false`, the `organization_usage` and `organization_require_behavior` properties must be unset.
|
|
593
585
|
*
|
|
594
586
|
* @param {string} id - ID of the client to update.
|
|
595
587
|
* @param {Management.UpdateClientRequestContent} request
|
|
@@ -660,7 +652,7 @@ class ClientsClient {
|
|
|
660
652
|
*
|
|
661
653
|
* This endpoint cannot be used with clients configured with Private Key JWT authentication method (client_authentication_methods configured with private_key_jwt). The generated secret is NOT base64 encoded.
|
|
662
654
|
*
|
|
663
|
-
* For more information, read
|
|
655
|
+
* For more information, read [Rotate Client Secrets](https://www.auth0.com/docs/get-started/applications/rotate-client-secret).
|
|
664
656
|
*
|
|
665
657
|
* @param {string} id - ID of the client that will rotate secrets.
|
|
666
658
|
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -11,15 +11,10 @@ export declare class ConnectionsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<ConnectionsClient.Options>;
|
|
12
12
|
constructor(options: ConnectionsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Retrieve all connections that are enabled for the specified
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <b>Note</b>: The first time you call this endpoint, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no further results are remaining.
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
14
|
+
* Retrieve all connections that are enabled for the specified [Application](https://www.auth0.com/docs/get-started/applications), using checkpoint pagination. A list of fields to include or exclude for each connection may also be specified.
|
|
15
|
+
*
|
|
16
|
+
* - This endpoint requires the `read:connections` scope and any one of `read:clients` or `read:client_summary`.
|
|
17
|
+
* - **Note**: The first time you call this endpoint, 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 further results are remaining.
|
|
23
18
|
*
|
|
24
19
|
* @param {string} id - ID of the client for which to retrieve enabled connections.
|
|
25
20
|
* @param {Management.ConnectionsGetRequest} request
|
|
@@ -56,15 +56,10 @@ class ConnectionsClient {
|
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieve all connections that are enabled for the specified
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <b>Note</b>: The first time you call this endpoint, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no further results are remaining.
|
|
66
|
-
* </li>
|
|
67
|
-
* </ul>
|
|
59
|
+
* Retrieve all connections that are enabled for the specified [Application](https://www.auth0.com/docs/get-started/applications), using checkpoint pagination. A list of fields to include or exclude for each connection may also be specified.
|
|
60
|
+
*
|
|
61
|
+
* - This endpoint requires the `read:connections` scope and any one of `read:clients` or `read:client_summary`.
|
|
62
|
+
* - **Note**: The first time you call this endpoint, 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 further results are remaining.
|
|
68
63
|
*
|
|
69
64
|
* @param {string} id - ID of the client for which to retrieve enabled connections.
|
|
70
65
|
* @param {Management.ConnectionsGetRequest} request
|
|
@@ -13,7 +13,7 @@ export declare class CredentialsClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Get the details of a client credential.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
16
|
+
* **Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
|
|
17
17
|
*
|
|
18
18
|
* @param {string} client_id - ID of the client.
|
|
19
19
|
* @param {CredentialsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,37 +31,61 @@ export declare class CredentialsClient {
|
|
|
31
31
|
/**
|
|
32
32
|
* Create a client credential associated to your application. Credentials can be used to configure Private Key JWT and mTLS authentication methods, as well as for JWT-secured Authorization requests.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
34
|
+
* **Public Key**
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* Public Key credentials can be used to set up Private Key JWT client authentication and JWT-secured Authorization requests.
|
|
37
|
+
*
|
|
38
|
+
* Sample:
|
|
39
|
+
*
|
|
40
|
+
* ```json
|
|
41
|
+
* {
|
|
37
42
|
* "credential_type": "public_key",
|
|
38
43
|
* "name": "string",
|
|
39
44
|
* "pem": "string",
|
|
40
45
|
* "alg": "RS256",
|
|
41
46
|
* "parse_expiry_from_cert": false,
|
|
42
47
|
* "expires_at": "2022-12-31T23:59:59Z"
|
|
43
|
-
* }
|
|
44
|
-
*
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* **Certificate (CA-signed & self-signed)**
|
|
52
|
+
*
|
|
53
|
+
* Certificate credentials can be used to set up mTLS client authentication. CA-signed certificates can be configured either with a signed certificate or with just the certificate Subject DN.
|
|
54
|
+
*
|
|
55
|
+
* CA-signed Certificate Sample (pem):
|
|
45
56
|
*
|
|
46
|
-
*
|
|
57
|
+
* ```json
|
|
58
|
+
* {
|
|
47
59
|
* "credential_type": "x509_cert",
|
|
48
60
|
* "name": "string",
|
|
49
61
|
* "pem": "string"
|
|
50
|
-
* }
|
|
62
|
+
* }
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* CA-signed Certificate Sample (subject_dn):
|
|
66
|
+
*
|
|
67
|
+
* ```json
|
|
68
|
+
* {
|
|
51
69
|
* "credential_type": "cert_subject_dn",
|
|
52
70
|
* "name": "string",
|
|
53
71
|
* "subject_dn": "string"
|
|
54
|
-
* }
|
|
72
|
+
* }
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* Self-signed Certificate Sample:
|
|
76
|
+
*
|
|
77
|
+
* ```json
|
|
78
|
+
* {
|
|
55
79
|
* "credential_type": "cert_subject_dn",
|
|
56
80
|
* "name": "string",
|
|
57
81
|
* "pem": "string"
|
|
58
|
-
* }
|
|
82
|
+
* }
|
|
83
|
+
* ```
|
|
59
84
|
*
|
|
60
85
|
* The credential will be created but not yet enabled for use until you set the corresponding properties in the client:
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* </ul>
|
|
86
|
+
*
|
|
87
|
+
* - To enable the credential for Private Key JWT or mTLS authentication methods, set the `client_authentication_methods` property on the client. For more information, read [Configure Private Key JWT Authentication](https://auth0.com/docs/get-started/applications/configure-private-key-jwt) and [Configure mTLS Authentication](https://auth0.com/docs/get-started/applications/configure-mtls)
|
|
88
|
+
* - To enable the credential for JWT-secured Authorization requests, set the `signed_request_object`property on the client. For more information, read [Configure JWT-secured Authorization Requests (JAR)](https://auth0.com/docs/get-started/applications/configure-jar)
|
|
65
89
|
*
|
|
66
90
|
* @param {string} client_id - ID of the client.
|
|
67
91
|
* @param {Management.PostClientCredentialRequestContent} request
|
|
@@ -83,7 +107,7 @@ export declare class CredentialsClient {
|
|
|
83
107
|
/**
|
|
84
108
|
* Get the details of a client credential.
|
|
85
109
|
*
|
|
86
|
-
*
|
|
110
|
+
* **Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
|
|
87
111
|
*
|
|
88
112
|
* @param {string} client_id - ID of the client.
|
|
89
113
|
* @param {string} credential_id - ID of the credential.
|
|
@@ -58,7 +58,7 @@ class CredentialsClient {
|
|
|
58
58
|
/**
|
|
59
59
|
* Get the details of a client credential.
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
* **Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
|
|
62
62
|
*
|
|
63
63
|
* @param {string} client_id - ID of the client.
|
|
64
64
|
* @param {CredentialsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -117,37 +117,61 @@ class CredentialsClient {
|
|
|
117
117
|
/**
|
|
118
118
|
* Create a client credential associated to your application. Credentials can be used to configure Private Key JWT and mTLS authentication methods, as well as for JWT-secured Authorization requests.
|
|
119
119
|
*
|
|
120
|
-
*
|
|
120
|
+
* **Public Key**
|
|
121
121
|
*
|
|
122
|
-
*
|
|
122
|
+
* Public Key credentials can be used to set up Private Key JWT client authentication and JWT-secured Authorization requests.
|
|
123
|
+
*
|
|
124
|
+
* Sample:
|
|
125
|
+
*
|
|
126
|
+
* ```json
|
|
127
|
+
* {
|
|
123
128
|
* "credential_type": "public_key",
|
|
124
129
|
* "name": "string",
|
|
125
130
|
* "pem": "string",
|
|
126
131
|
* "alg": "RS256",
|
|
127
132
|
* "parse_expiry_from_cert": false,
|
|
128
133
|
* "expires_at": "2022-12-31T23:59:59Z"
|
|
129
|
-
* }
|
|
130
|
-
*
|
|
134
|
+
* }
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* **Certificate (CA-signed & self-signed)**
|
|
138
|
+
*
|
|
139
|
+
* Certificate credentials can be used to set up mTLS client authentication. CA-signed certificates can be configured either with a signed certificate or with just the certificate Subject DN.
|
|
140
|
+
*
|
|
141
|
+
* CA-signed Certificate Sample (pem):
|
|
131
142
|
*
|
|
132
|
-
*
|
|
143
|
+
* ```json
|
|
144
|
+
* {
|
|
133
145
|
* "credential_type": "x509_cert",
|
|
134
146
|
* "name": "string",
|
|
135
147
|
* "pem": "string"
|
|
136
|
-
* }
|
|
148
|
+
* }
|
|
149
|
+
* ```
|
|
150
|
+
*
|
|
151
|
+
* CA-signed Certificate Sample (subject_dn):
|
|
152
|
+
*
|
|
153
|
+
* ```json
|
|
154
|
+
* {
|
|
137
155
|
* "credential_type": "cert_subject_dn",
|
|
138
156
|
* "name": "string",
|
|
139
157
|
* "subject_dn": "string"
|
|
140
|
-
* }
|
|
158
|
+
* }
|
|
159
|
+
* ```
|
|
160
|
+
*
|
|
161
|
+
* Self-signed Certificate Sample:
|
|
162
|
+
*
|
|
163
|
+
* ```json
|
|
164
|
+
* {
|
|
141
165
|
* "credential_type": "cert_subject_dn",
|
|
142
166
|
* "name": "string",
|
|
143
167
|
* "pem": "string"
|
|
144
|
-
* }
|
|
168
|
+
* }
|
|
169
|
+
* ```
|
|
145
170
|
*
|
|
146
171
|
* The credential will be created but not yet enabled for use until you set the corresponding properties in the client:
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* </ul>
|
|
172
|
+
*
|
|
173
|
+
* - To enable the credential for Private Key JWT or mTLS authentication methods, set the `client_authentication_methods` property on the client. For more information, read [Configure Private Key JWT Authentication](https://auth0.com/docs/get-started/applications/configure-private-key-jwt) and [Configure mTLS Authentication](https://auth0.com/docs/get-started/applications/configure-mtls)
|
|
174
|
+
* - To enable the credential for JWT-secured Authorization requests, set the `signed_request_object`property on the client. For more information, read [Configure JWT-secured Authorization Requests (JAR)](https://auth0.com/docs/get-started/applications/configure-jar)
|
|
151
175
|
*
|
|
152
176
|
* @param {string} client_id - ID of the client.
|
|
153
177
|
* @param {Management.PostClientCredentialRequestContent} request
|
|
@@ -218,7 +242,7 @@ class CredentialsClient {
|
|
|
218
242
|
/**
|
|
219
243
|
* Get the details of a client credential.
|
|
220
244
|
*
|
|
221
|
-
*
|
|
245
|
+
* **Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
|
|
222
246
|
*
|
|
223
247
|
* @param {string} client_id - ID of the client.
|
|
224
248
|
* @param {string} credential_id - ID of the credential.
|
|
@@ -118,6 +118,7 @@ export declare class ConnectionProfilesClient {
|
|
|
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
|
|
@@ -444,6 +444,7 @@ class ConnectionProfilesClient {
|
|
|
444
444
|
* @throws {@link Management.BadRequestError}
|
|
445
445
|
* @throws {@link Management.UnauthorizedError}
|
|
446
446
|
* @throws {@link Management.ForbiddenError}
|
|
447
|
+
* @throws {@link Management.NotFoundError}
|
|
447
448
|
* @throws {@link Management.TooManyRequestsError}
|
|
448
449
|
*
|
|
449
450
|
* @example
|
|
@@ -485,6 +486,8 @@ class ConnectionProfilesClient {
|
|
|
485
486
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
486
487
|
case 403:
|
|
487
488
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
489
|
+
case 404:
|
|
490
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
488
491
|
case 429:
|
|
489
492
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
490
493
|
default:
|
|
@@ -26,25 +26,23 @@ export declare class ConnectionsClient {
|
|
|
26
26
|
get keys(): KeysClient;
|
|
27
27
|
get users(): UsersClient;
|
|
28
28
|
/**
|
|
29
|
-
* Retrieves detailed list of all
|
|
29
|
+
* Retrieves detailed list of all [connections](https://auth0.com/docs/authenticate/identity-providers) that match the specified strategy. If no strategy is provided, all connections within your tenant are retrieved. This action can accept a list of fields to include or exclude from the resulting list of connections.
|
|
30
30
|
*
|
|
31
31
|
* This endpoint supports two types of pagination:
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* </ul>
|
|
32
|
+
*
|
|
33
|
+
* - Offset pagination
|
|
34
|
+
* - Checkpoint pagination
|
|
36
35
|
*
|
|
37
36
|
* Checkpoint pagination must be used if you need to retrieve more than 1000 connections.
|
|
38
37
|
*
|
|
39
|
-
*
|
|
38
|
+
* **Checkpoint Pagination**
|
|
40
39
|
*
|
|
41
40
|
* To search by checkpoint, use the following parameters:
|
|
42
|
-
* <ul>
|
|
43
|
-
* <li><code>from</code>: Optional id from which to start selection.</li>
|
|
44
|
-
* <li><code>take</code>: The total amount of entries to retrieve when using the from parameter. Defaults to 50.</li>
|
|
45
|
-
* </ul>
|
|
46
41
|
*
|
|
47
|
-
*
|
|
42
|
+
* - `from`: Optional id from which to start selection.
|
|
43
|
+
* - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
|
|
44
|
+
*
|
|
45
|
+
* **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.
|
|
48
46
|
*
|
|
49
47
|
* @param {Management.ListConnectionsQueryParameters} request
|
|
50
48
|
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -66,9 +64,9 @@ export declare class ConnectionsClient {
|
|
|
66
64
|
*/
|
|
67
65
|
list(request?: Management.ListConnectionsQueryParameters, requestOptions?: ConnectionsClient.RequestOptions): Promise<core.Page<Management.ConnectionForList, Management.ListConnectionsCheckpointPaginatedResponseContent>>;
|
|
68
66
|
/**
|
|
69
|
-
* Creates a new connection according to the JSON object received in
|
|
67
|
+
* Creates a new connection according to the JSON object received in `body`.
|
|
70
68
|
*
|
|
71
|
-
*
|
|
69
|
+
* **Note:** If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results.
|
|
72
70
|
*
|
|
73
71
|
* @param {Management.CreateConnectionRequestContent} request
|
|
74
72
|
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -88,7 +86,7 @@ export declare class ConnectionsClient {
|
|
|
88
86
|
create(request: Management.CreateConnectionRequestContent, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Management.CreateConnectionResponseContent>;
|
|
89
87
|
private __create;
|
|
90
88
|
/**
|
|
91
|
-
* Retrieve details for a specified
|
|
89
|
+
* Retrieve details for a specified [connection](https://auth0.com/docs/authenticate/identity-providers) along with options that can be used for identity provider configuration.
|
|
92
90
|
*
|
|
93
91
|
* @param {string} id - The id of the connection to retrieve
|
|
94
92
|
* @param {Management.GetConnectionRequestParameters} request
|
|
@@ -109,9 +107,9 @@ export declare class ConnectionsClient {
|
|
|
109
107
|
get(id: string, request?: Management.GetConnectionRequestParameters, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Management.GetConnectionResponseContent>;
|
|
110
108
|
private __get;
|
|
111
109
|
/**
|
|
112
|
-
* Removes a specific
|
|
110
|
+
* Removes a specific [connection](https://auth0.com/docs/authenticate/identity-providers) from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate.
|
|
113
111
|
*
|
|
114
|
-
*
|
|
112
|
+
* **Note:** If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent [create connection](https://auth0.com/docs/api/management/v2/connections/post-connections) requests, if they use an identical connection name.
|
|
115
113
|
*
|
|
116
114
|
* @param {string} id - The id of the connection to delete
|
|
117
115
|
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -127,9 +125,9 @@ export declare class ConnectionsClient {
|
|
|
127
125
|
delete(id: string, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
128
126
|
private __delete;
|
|
129
127
|
/**
|
|
130
|
-
* Update details for a specific
|
|
128
|
+
* Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration.
|
|
131
129
|
*
|
|
132
|
-
*
|
|
130
|
+
* **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option.
|
|
133
131
|
*
|
|
134
132
|
* @param {string} id - The id of the connection to update
|
|
135
133
|
* @param {Management.UpdateConnectionRequestContent} request
|
|
@@ -148,7 +146,7 @@ export declare class ConnectionsClient {
|
|
|
148
146
|
update(id: string, request?: Management.UpdateConnectionRequestContent, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Management.UpdateConnectionResponseContent>;
|
|
149
147
|
private __update;
|
|
150
148
|
/**
|
|
151
|
-
* Retrieves the status of an ad/ldap connection referenced by its
|
|
149
|
+
* Retrieves the status of an ad/ldap connection referenced by its `ID`. `200 OK` http status code response is returned when the connection is online, otherwise a `404` status code is returned along with an error message
|
|
152
150
|
*
|
|
153
151
|
* @param {string} id - ID of the connection to check
|
|
154
152
|
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|