Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auth0

Package Overview
Dependencies
Maintainers
48
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0 - npm Package Compare versions

Comparing version 4.7.0 to 4.8.0

dist/cjs/management/__generated/managers/refresh-tokens-manager.d.ts

4

dist/cjs/management/__generated/index.d.ts
export * from './managers/index.js';
export * from './models/index.js';
import { ActionsManager, AnomalyManager, AttackProtectionManager, BlacklistsManager, BrandingManager, ClientGrantsManager, ClientsManager, ConnectionsManager, CustomDomainsManager, DeviceCredentialsManager, EmailTemplatesManager, EmailsManager, GrantsManager, GuardianManager, HooksManager, JobsManager, KeysManager, LogStreamsManager, LogsManager, OrganizationsManager, PromptsManager, ResourceServersManager, RolesManager, RulesManager, RulesConfigsManager, StatsManager, TenantsManager, TicketsManager, UserBlocksManager, UsersManager, UsersByEmailManager } from './managers/index.js';
import { ActionsManager, AnomalyManager, AttackProtectionManager, BlacklistsManager, BrandingManager, ClientGrantsManager, ClientsManager, ConnectionsManager, CustomDomainsManager, DeviceCredentialsManager, EmailTemplatesManager, EmailsManager, GrantsManager, GuardianManager, HooksManager, JobsManager, KeysManager, LogStreamsManager, LogsManager, OrganizationsManager, PromptsManager, RefreshTokensManager, ResourceServersManager, RolesManager, RulesManager, RulesConfigsManager, SessionsManager, StatsManager, TenantsManager, TicketsManager, UserBlocksManager, UsersManager, UsersByEmailManager } from './managers/index.js';
import { Configuration } from '../../lib/runtime.js';

@@ -28,2 +28,3 @@ export declare abstract class ManagementClientBase {

readonly prompts: PromptsManager;
readonly refreshTokens: RefreshTokensManager;
readonly resourceServers: ResourceServersManager;

@@ -33,2 +34,3 @@ readonly roles: RolesManager;

readonly rulesConfigs: RulesConfigsManager;
readonly sessions: SessionsManager;
readonly stats: StatsManager;

@@ -35,0 +37,0 @@ readonly tenants: TenantsManager;

@@ -45,2 +45,3 @@ "use strict";

this.prompts = new index_js_1.PromptsManager(this.configuration);
this.refreshTokens = new index_js_1.RefreshTokensManager(this.configuration);
this.resourceServers = new index_js_1.ResourceServersManager(this.configuration);

@@ -50,2 +51,3 @@ this.roles = new index_js_1.RolesManager(this.configuration);

this.rulesConfigs = new index_js_1.RulesConfigsManager(this.configuration);
this.sessions = new index_js_1.SessionsManager(this.configuration);
this.stats = new index_js_1.StatsManager(this.configuration);

@@ -52,0 +54,0 @@ this.tenants = new index_js_1.TenantsManager(this.configuration);

@@ -17,2 +17,3 @@ import * as runtime from '../../../lib/runtime.js';

/**
* Delete a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Delete a client credential

@@ -102,5 +103,5 @@ *

/**
* Get the list of client credentials that are associated to the client.
* Get the details of a client credential.
*
* Important: To enable credentials to be used
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credentials

@@ -113,4 +114,6 @@ *

* Get the details of a client credential.
* Get client credential
*
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credential details
*
* @throws {RequiredError}

@@ -135,2 +138,3 @@ */

/**
* Change a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Update a client credential

@@ -162,3 +166,4 @@ *

/**
* Create a client credential associated to the client. The credential will be created but not yet enabled
* Create a client credential associated to your application. The credential will be created but not yet enabled for use with Private Key JWT authentication method. To enable the credential, set the <code>client_authentication_methods</code> property on the client.
* For more information, read <a href="https://www.auth0.com//docs/get-started/applications/configure-private-key-jwt">Configure Private Key JWT Authentication</a>.
* Create a client credential

@@ -165,0 +170,0 @@ *

@@ -48,2 +48,3 @@ "use strict";

/**
* Delete a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Delete a client credential

@@ -161,5 +162,5 @@ *

/**
* Get the list of client credentials that are associated to the client.
* Get the details of a client credential.
*
* Important: To enable credentials to be used
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credentials

@@ -179,4 +180,6 @@ *

* Get the details of a client credential.
* Get client credential
*
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credential details
*
* @throws {RequiredError}

@@ -221,2 +224,3 @@ */

/**
* Change a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Update a client credential

@@ -271,3 +275,4 @@ *

/**
* Create a client credential associated to the client. The credential will be created but not yet enabled
* Create a client credential associated to your application. The credential will be created but not yet enabled for use with Private Key JWT authentication method. To enable the credential, set the <code>client_authentication_methods</code> property on the client.
* For more information, read <a href="https://www.auth0.com//docs/get-started/applications/configure-private-key-jwt">Configure Private Key JWT Authentication</a>.
* Create a client credential

@@ -274,0 +279,0 @@ *

@@ -22,2 +22,3 @@ export * from './actions-manager.js';

export * from './prompts-manager.js';
export * from './refresh-tokens-manager.js';
export * from './resource-servers-manager.js';

@@ -27,2 +28,3 @@ export * from './roles-manager.js';

export * from './rules-configs-manager.js';
export * from './sessions-manager.js';
export * from './stats-manager.js';

@@ -29,0 +31,0 @@ export * from './tenants-manager.js';

@@ -38,2 +38,3 @@ "use strict";

__exportStar(require("./prompts-manager.js"), exports);
__exportStar(require("./refresh-tokens-manager.js"), exports);
__exportStar(require("./resource-servers-manager.js"), exports);

@@ -43,2 +44,3 @@ __exportStar(require("./roles-manager.js"), exports);

__exportStar(require("./rules-configs-manager.js"), exports);
__exportStar(require("./sessions-manager.js"), exports);
__exportStar(require("./stats-manager.js"), exports);

@@ -45,0 +47,0 @@ __exportStar(require("./tenants-manager.js"), exports);

import * as runtime from '../../../lib/runtime.js';
import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
import type { DeletePermissionsRequest, DeleteUserIdentityByUserId200ResponseInner, DeleteUserRolesRequest, GetAuthenticationMethods200ResponseOneOfInner, GetUsers200ResponseOneOfInner, PatchAuthenticationMethodsByAuthenticationMethodIdRequest, PostAuthenticationMethods201Response, PostAuthenticationMethodsRequest, PostIdentitiesRequest, PostPermissionsRequest, PostRecoveryCodeRegeneration200Response, PostUserRolesRequest, PutAuthenticationMethods200ResponseInner, PutAuthenticationMethodsRequestInner, UserCreate, UserEnrollment, UserIdentity, UserUpdate, GetAuthenticationMethods200ResponseOneOf, GetLogs200ResponseOneOf, Log, GetPermissions200ResponseOneOf, GetPermissions200ResponseOneOfInner, GetOrganizations200ResponseOneOf, GetOrganizations200ResponseOneOfInner, GetOrganizationMemberRoles200ResponseOneOf, GetOrganizationMemberRoles200ResponseOneOfInner, GetUsers200ResponseOneOf, DeleteAuthenticationMethodsRequest, DeleteAuthenticationMethodsByAuthenticationMethodIdRequest, DeleteAuthenticatorsRequest, DeleteMultifactorByProviderRequest, DeletePermissionsOperationRequest, DeleteUserIdentityByUserIdRequest, DeleteUserRolesOperationRequest, DeleteUsersByIdRequest, GetAuthenticationMethodsRequest, GetAuthenticationMethodsByAuthenticationMethodIdRequest, GetEnrollmentsRequest, GetLogsByUserRequest, GetPermissionsRequest, GetUserOrganizationsRequest, GetUserRolesRequest, GetUsersRequest, GetUsersByIdRequest, PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, PatchUsersByIdRequest, PostAuthenticationMethodsOperationRequest, PostIdentitiesOperationRequest, PostInvalidateRememberBrowserRequest, PostPermissionsOperationRequest, PostRecoveryCodeRegenerationRequest, PostUserRolesOperationRequest, PutAuthenticationMethodsRequest } from '../models/index.js';
import type { DeletePermissionsRequest, DeleteUserIdentityByUserId200ResponseInner, DeleteUserRolesRequest, GetAuthenticationMethods200ResponseOneOfInner, GetRefreshTokensForUser200Response, GetSessionsForUser200Response, GetUsers200ResponseOneOfInner, PatchAuthenticationMethodsByAuthenticationMethodIdRequest, PostAuthenticationMethods201Response, PostAuthenticationMethodsRequest, PostIdentitiesRequest, PostPermissionsRequest, PostRecoveryCodeRegeneration200Response, PostUserRolesRequest, PutAuthenticationMethods200ResponseInner, PutAuthenticationMethodsRequestInner, UserCreate, UserEnrollment, UserIdentity, UserUpdate, GetAuthenticationMethods200ResponseOneOf, GetLogs200ResponseOneOf, Log, GetPermissions200ResponseOneOf, GetPermissions200ResponseOneOfInner, GetOrganizations200ResponseOneOf, GetOrganizations200ResponseOneOfInner, GetOrganizationMemberRoles200ResponseOneOf, GetOrganizationMemberRoles200ResponseOneOfInner, GetUsers200ResponseOneOf, DeleteAuthenticationMethodsRequest, DeleteAuthenticationMethodsByAuthenticationMethodIdRequest, DeleteAuthenticatorsRequest, DeleteMultifactorByProviderRequest, DeletePermissionsOperationRequest, DeleteRefreshTokensForUserRequest, DeleteSessionsForUserRequest, DeleteUserIdentityByUserIdRequest, DeleteUserRolesOperationRequest, DeleteUsersByIdRequest, GetAuthenticationMethodsRequest, GetAuthenticationMethodsByAuthenticationMethodIdRequest, GetEnrollmentsRequest, GetLogsByUserRequest, GetPermissionsRequest, GetRefreshTokensForUserRequest, GetSessionsForUserRequest, GetUserOrganizationsRequest, GetUserRolesRequest, GetUsersRequest, GetUsersByIdRequest, PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, PatchUsersByIdRequest, PostAuthenticationMethodsOperationRequest, PostIdentitiesOperationRequest, PostInvalidateRememberBrowserRequest, PostPermissionsOperationRequest, PostRecoveryCodeRegenerationRequest, PostUserRolesOperationRequest, PutAuthenticationMethodsRequest } from '../models/index.js';
declare const BaseAPI: typeof runtime.BaseAPI;

@@ -43,2 +43,16 @@ /**

/**
* Delete all refresh tokens for a user.
* Delete refresh tokens for a user
*
* @throws {RequiredError}
*/
deleteRefreshTokens(requestParameters: DeleteRefreshTokensForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Delete all sessions for a user.
* Delete sessions for user
*
* @throws {RequiredError}
*/
deleteSessions(requestParameters: DeleteSessionsForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Unlink an identity from the target user making it a separate user account again.

@@ -113,2 +127,16 @@ * Unlink a User Identity

/**
* Retrieve details for a user's refresh tokens.
* Get refresh tokens for a user
*
* @throws {RequiredError}
*/
getRefreshTokens(requestParameters: GetRefreshTokensForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetRefreshTokensForUser200Response>>;
/**
* Retrieve details for a user's sessions.
* Get sessions for user
*
* @throws {RequiredError}
*/
getSessions(requestParameters: GetSessionsForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetSessionsForUser200Response>>;
/**
* This endpoint will retrieve all organizations that the specified user is a member of.

@@ -115,0 +143,0 @@ *

@@ -110,2 +110,30 @@ "use strict";

/**
* Delete all refresh tokens for a user.
* Delete refresh tokens for a user
*
* @throws {RequiredError}
*/
async deleteRefreshTokens(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const response = await this.request({
path: `/users/{user_id}/refresh-tokens`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Delete all sessions for a user.
* Delete sessions for user
*
* @throws {RequiredError}
*/
async deleteSessions(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const response = await this.request({
path: `/users/{user_id}/sessions`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Unlink an identity from the target user making it a separate user account again.

@@ -261,2 +289,60 @@ * Unlink a User Identity

}
/**
* Retrieve details for a user's refresh tokens.
* Get refresh tokens for a user
*
* @throws {RequiredError}
*/
async getRefreshTokens(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const queryParameters = runtime.applyQueryParams(requestParameters, [
{
key: 'include_totals',
config: {},
},
{
key: 'from',
config: {},
},
{
key: 'take',
config: {},
},
]);
const response = await this.request({
path: `/users/{user_id}/refresh-tokens`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'GET',
query: queryParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieve details for a user's sessions.
* Get sessions for user
*
* @throws {RequiredError}
*/
async getSessions(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const queryParameters = runtime.applyQueryParams(requestParameters, [
{
key: 'include_totals',
config: {},
},
{
key: 'from',
config: {},
},
{
key: 'take',
config: {},
},
]);
const response = await this.request({
path: `/users/{user_id}/sessions`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'GET',
query: queryParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
async getUserOrganizations(requestParameters, initOverrides) {

@@ -263,0 +349,0 @@ runtime.validateRequiredRequestParams(requestParameters, ['id']);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetExecution200ResponseStatusEnum = exports.GetEmailTemplatesByTemplateName200ResponseTemplateEnum = exports.GetCredentials200ResponseInnerAlgEnum = exports.GetBruteForceProtection200ResponseModeEnum = exports.GetBruteForceProtection200ResponseShieldsEnum = exports.GetBreachedPasswordDetection200ResponseStagePreUserRegistrationShieldsEnum = exports.GetBreachedPasswordDetection200ResponseMethodEnum = exports.GetBreachedPasswordDetection200ResponseAdminNotificationFrequencyEnum = exports.GetBreachedPasswordDetection200ResponseShieldsEnum = exports.GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInnerTypeEnum = exports.GetAuthenticationMethods200ResponseOneOfInnerPreferredAuthenticationMethodEnum = exports.GetAuthenticationMethods200ResponseOneOfInnerTypeEnum = exports.GetActions200ResponseActionsInnerSupportedTriggersInnerIdAnyOf = exports.GetActions200ResponseActionsInnerIntegrationCurrentReleaseRequiredSecretsInnerTypeEnum = exports.GetActions200ResponseActionsInnerIntegrationFeatureTypeEnum = exports.GetActions200ResponseActionsInnerStatusEnum = exports.GetActionVersions200ResponseVersionsInnerStatusEnum = exports.FactorNameEnum = exports.EnrollmentStatusEnum = exports.EmailTemplateUpdateTemplateEnum = exports.EmailProviderUpdateNameEnum = exports.EmailProviderCreateNameEnum = exports.DeviceCredentialCreateTypeEnum = exports.DeviceCredentialTypeEnum = exports.CustomDomainTypeEnum = exports.CustomDomainStatusEnum = exports.ConnectionUpdateOptionsSetUserRootAttributesEnum = exports.ConnectionUpdateOptionsPasswordPolicyEnum = exports.ConnectionCreateOptionsPasskeyOptionsChallengeUiEnum = exports.ConnectionCreateOptionsSetUserRootAttributesEnum = exports.ConnectionCreateOptionsPasswordPolicyEnum = exports.ConnectionCreateStrategyEnum = exports.ClientUpdateJwtConfigurationAlgEnum = exports.ClientUpdateOrganizationRequireBehaviorEnum = exports.ClientUpdateOrganizationUsageEnum = exports.ClientUpdateAppTypeEnum = exports.ClientUpdateTokenEndpointAuthMethodEnum = exports.ClientRefreshTokenExpirationTypeEnum = exports.ClientRefreshTokenRotationTypeEnum = exports.ClientJwtConfigurationAlgEnum = exports.ClientCreateJwtConfigurationAlgEnum = exports.ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerAlgEnum = exports.ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerCredentialTypeEnum = exports.ClientCreateOrganizationRequireBehaviorEnum = exports.ClientCreateOrganizationUsageEnum = exports.ClientCreateAppTypeEnum = exports.ClientCreateTokenEndpointAuthMethodEnum = exports.ClientOrganizationRequireBehaviorEnum = exports.ClientOrganizationUsageEnum = exports.ClientTokenEndpointAuthMethodEnum = void 0;
exports.PostBrandingThemeRequestBordersInputsStyleEnum = exports.PostBrandingThemeRequestBordersButtonsStyleEnum = exports.PostAuthenticationMethodsRequestPreferredAuthenticationMethodEnum = exports.PostAuthenticationMethodsRequestTypeEnum = exports.PostAuthenticationMethods201ResponsePreferredAuthenticationMethodEnum = exports.PostAuthenticationMethods201ResponseTypeEnum = exports.PatchSuspiciousIpThrottlingRequestShieldsEnum = exports.PatchLogStreamsByIdRequestSinkOneOf3MixpanelRegionEnum = exports.PatchLogStreamsByIdRequestSinkOneOfDatadogRegionEnum = exports.PatchLogStreamsByIdRequestStatusEnum = exports.PatchEmailTemplatesByTemplateNameRequestTemplateEnum = exports.PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum = exports.PatchCustomDomainsByIdRequestTlsPolicyEnum = exports.PatchBruteForceProtectionRequestModeEnum = exports.PatchBruteForceProtectionRequestShieldsEnum = exports.PatchBreachedPasswordDetectionRequestStagePreUserRegistrationShieldsEnum = exports.PatchBreachedPasswordDetectionRequestMethodEnum = exports.PatchBreachedPasswordDetectionRequestAdminNotificationFrequencyEnum = exports.PatchBreachedPasswordDetectionRequestShieldsEnum = exports.PatchBindingsRequestBindingsInnerOneOfRefTypeEnum = exports.PatchAuthenticationMethodsByAuthenticationMethodIdRequestPreferredAuthenticationMethodEnum = exports.JobFormatEnum = exports.HookCreateTriggerIdEnum = exports.GetSuspiciousIpThrottling200ResponseShieldsEnum = exports.GetPnProviders200ResponseProviderEnum = exports.GetPhoneProviders200ResponseProviderEnum = exports.GetMessageTypes200ResponseMessageTypesEnum = exports.GetLogStreams200ResponseInnerOneOfSinkHttpContentFormatEnum = exports.GetLogStreams200ResponseInnerOneOfFiltersInnerNameEnum = exports.GetLogStreams200ResponseInnerOneOfFiltersInnerTypeEnum = exports.GetLogStreams200ResponseInnerOneOf7SinkMixpanelRegionEnum = exports.GetLogStreams200ResponseInnerOneOf7TypeEnum = exports.GetLogStreams200ResponseInnerOneOf7StatusEnum = exports.GetLogStreams200ResponseInnerOneOf6TypeEnum = exports.GetLogStreams200ResponseInnerOneOf6StatusEnum = exports.GetLogStreams200ResponseInnerOneOf5TypeEnum = exports.GetLogStreams200ResponseInnerOneOf5StatusEnum = exports.GetLogStreams200ResponseInnerOneOf4TypeEnum = exports.GetLogStreams200ResponseInnerOneOf4StatusEnum = exports.GetLogStreams200ResponseInnerOneOf3SinkDatadogRegionEnum = exports.GetLogStreams200ResponseInnerOneOf3TypeEnum = exports.GetLogStreams200ResponseInnerOneOf3StatusEnum = exports.GetLogStreams200ResponseInnerOneOf2SinkAzureRegionEnum = exports.GetLogStreams200ResponseInnerOneOf2TypeEnum = exports.GetLogStreams200ResponseInnerOneOf2StatusEnum = exports.GetLogStreams200ResponseInnerOneOf1SinkAwsRegionEnum = exports.GetLogStreams200ResponseInnerOneOf1TypeEnum = exports.GetLogStreams200ResponseInnerOneOf1StatusEnum = exports.GetLogStreams200ResponseInnerOneOfTypeEnum = exports.GetLogStreams200ResponseInnerOneOfStatusEnum = void 0;
exports.TenantSettingsUpdateFlagsChangePwdFlowV1Enum = exports.TenantSettingsUpdateDeviceFlowCharsetEnum = exports.TenantSettingsUpdateEnabledLocalesEnum = exports.TenantSettingsSessionCookieModeEnum = exports.TenantSettingsDeviceFlowCharsetEnum = exports.TenantSettingsEnabledLocalesEnum = exports.ResourceServerUpdateTokenDialectEnum = exports.ResourceServerUpdateSigningAlgEnum = exports.ResourceServerCreateTokenDialectEnum = exports.ResourceServerCreateSigningAlgEnum = exports.ResourceServerTokenDialectEnum = exports.ResourceServerSigningAlgEnum = exports.PutAuthenticationMethodsRequestInnerPreferredAuthenticationMethodEnum = exports.PutAuthenticationMethodsRequestInnerTypeEnum = exports.PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInnerTypeEnum = exports.PutAuthenticationMethods200ResponseInnerPreferredAuthenticationMethodEnum = exports.PutAuthenticationMethods200ResponseInnerTypeEnum = exports.PromptsSettingsUpdateUniversalLoginExperienceEnum = exports.PromptsSettingsUniversalLoginExperienceEnum = exports.PostVerify200ResponseTypeEnum = exports.PostVerify200ResponseStatusEnum = exports.PostVerificationEmailRequestIdentityProviderEnum = exports.PostUsersExportsRequestFormatEnum = exports.PostLogStreamsRequestOneOfFiltersInnerNameEnum = exports.PostLogStreamsRequestOneOfFiltersInnerTypeEnum = exports.PostLogStreamsRequestOneOf7TypeEnum = exports.PostLogStreamsRequestOneOf6TypeEnum = exports.PostLogStreamsRequestOneOf5TypeEnum = exports.PostLogStreamsRequestOneOf4TypeEnum = exports.PostLogStreamsRequestOneOf3TypeEnum = exports.PostLogStreamsRequestOneOf2SinkAzureRegionEnum = exports.PostLogStreamsRequestOneOf2TypeEnum = exports.PostLogStreamsRequestOneOf1SinkAwsRegionEnum = exports.PostLogStreamsRequestOneOf1TypeEnum = exports.PostLogStreamsRequestOneOfTypeEnum = exports.PostIdentitiesRequestProviderEnum = exports.PostEmailTemplatesRequestTemplateEnum = exports.PostCustomDomainsRequestCustomClientIpHeaderEnum = exports.PostCustomDomainsRequestTlsPolicyEnum = exports.PostCustomDomainsRequestVerificationMethodEnum = exports.PostCustomDomainsRequestTypeEnum = exports.PostCustomDomains201ResponseVerificationMethodsInnerNameEnum = exports.PostCustomDomains201ResponseTypeEnum = exports.PostCustomDomains201ResponseStatusEnum = exports.PostCredentialsRequestCredentialTypeEnum = exports.PostBrandingThemeRequestWidgetSocialButtonsLayoutEnum = exports.PostBrandingThemeRequestWidgetLogoPositionEnum = exports.PostBrandingThemeRequestWidgetHeaderTextAlignmentEnum = exports.PostBrandingThemeRequestPageBackgroundPageLayoutEnum = exports.PostBrandingThemeRequestFontsLinksStyleEnum = void 0;
exports.GetUsersSearchEngineEnum = exports.DeleteUserIdentityByUserIdProviderEnum = exports.DeleteMultifactorByProviderProviderEnum = exports.PutPartialsPromptEnum = exports.PutCustomTextByLanguageLanguageEnum = exports.PutCustomTextByLanguagePromptEnum = exports.GetPartialsPromptEnum = exports.GetCustomTextByLanguageLanguageEnum = exports.GetCustomTextByLanguagePromptEnum = exports.GetHooksTriggerIdEnum = exports.PutFactorsByNameOperationNameEnum = exports.PutEmailTemplatesByTemplateNameTemplateNameEnum = exports.PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum = exports.GetEmailTemplatesByTemplateNameTemplateNameEnum = exports.GetDeviceCredentialsTypeEnum = exports.GetConnectionsStrategyEnum = exports.UserEnrollmentAuthMethodEnum = exports.UserEnrollmentStatusEnum = void 0;
exports.GetBreachedPasswordDetection200ResponseStagePreUserRegistrationShieldsEnum = exports.GetBreachedPasswordDetection200ResponseMethodEnum = exports.GetBreachedPasswordDetection200ResponseAdminNotificationFrequencyEnum = exports.GetBreachedPasswordDetection200ResponseShieldsEnum = exports.GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInnerTypeEnum = exports.GetAuthenticationMethods200ResponseOneOfInnerPreferredAuthenticationMethodEnum = exports.GetAuthenticationMethods200ResponseOneOfInnerTypeEnum = exports.GetActions200ResponseActionsInnerSupportedTriggersInnerIdAnyOf = exports.GetActions200ResponseActionsInnerIntegrationCurrentReleaseRequiredSecretsInnerTypeEnum = exports.GetActions200ResponseActionsInnerIntegrationFeatureTypeEnum = exports.GetActions200ResponseActionsInnerStatusEnum = exports.GetActionVersions200ResponseVersionsInnerStatusEnum = exports.FactorNameEnum = exports.EnrollmentStatusEnum = exports.EmailTemplateUpdateTemplateEnum = exports.EmailProviderUpdateNameEnum = exports.EmailProviderCreateNameEnum = exports.DeviceCredentialCreateTypeEnum = exports.DeviceCredentialTypeEnum = exports.CustomDomainTypeEnum = exports.CustomDomainStatusEnum = exports.ConnectionUpdateOptionsSetUserRootAttributesEnum = exports.ConnectionUpdateOptionsPasswordPolicyEnum = exports.ConnectionCreateOptionsPasskeyOptionsChallengeUiEnum = exports.ConnectionCreateOptionsSetUserRootAttributesEnum = exports.ConnectionCreateOptionsPasswordPolicyEnum = exports.ConnectionCreateStrategyEnum = exports.ClientUpdateJwtConfigurationAlgEnum = exports.ClientUpdateComplianceLevelEnum = exports.ClientUpdateOrganizationRequireBehaviorEnum = exports.ClientUpdateOrganizationUsageEnum = exports.ClientUpdateAppTypeEnum = exports.ClientUpdateTokenEndpointAuthMethodEnum = exports.ClientRefreshTokenExpirationTypeEnum = exports.ClientRefreshTokenRotationTypeEnum = exports.ClientJwtConfigurationAlgEnum = exports.ClientCreateJwtConfigurationAlgEnum = exports.ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum = exports.ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum = exports.ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerAlgEnum = exports.ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerCredentialTypeEnum = exports.ClientCreateComplianceLevelEnum = exports.ClientCreateOrganizationRequireBehaviorEnum = exports.ClientCreateOrganizationUsageEnum = exports.ClientCreateAppTypeEnum = exports.ClientCreateTokenEndpointAuthMethodEnum = exports.ClientComplianceLevelEnum = exports.ClientOrganizationRequireBehaviorEnum = exports.ClientOrganizationUsageEnum = exports.ClientTokenEndpointAuthMethodEnum = void 0;
exports.PostAuthenticationMethods201ResponseTypeEnum = exports.PatchSuspiciousIpThrottlingRequestShieldsEnum = exports.PatchLogStreamsByIdRequestSinkOneOf3MixpanelRegionEnum = exports.PatchLogStreamsByIdRequestSinkOneOfDatadogRegionEnum = exports.PatchLogStreamsByIdRequestStatusEnum = exports.PatchEmailTemplatesByTemplateNameRequestTemplateEnum = exports.PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum = exports.PatchCustomDomainsByIdRequestTlsPolicyEnum = exports.PatchBruteForceProtectionRequestModeEnum = exports.PatchBruteForceProtectionRequestShieldsEnum = exports.PatchBreachedPasswordDetectionRequestStagePreUserRegistrationShieldsEnum = exports.PatchBreachedPasswordDetectionRequestMethodEnum = exports.PatchBreachedPasswordDetectionRequestAdminNotificationFrequencyEnum = exports.PatchBreachedPasswordDetectionRequestShieldsEnum = exports.PatchBindingsRequestBindingsInnerOneOfRefTypeEnum = exports.PatchAuthenticationMethodsByAuthenticationMethodIdRequestPreferredAuthenticationMethodEnum = exports.JobFormatEnum = exports.HookCreateTriggerIdEnum = exports.GetSuspiciousIpThrottling200ResponseShieldsEnum = exports.GetPnProviders200ResponseProviderEnum = exports.GetPhoneProviders200ResponseProviderEnum = exports.GetMessageTypes200ResponseMessageTypesEnum = exports.GetLogStreams200ResponseInnerOneOfSinkHttpContentFormatEnum = exports.GetLogStreams200ResponseInnerOneOfFiltersInnerNameEnum = exports.GetLogStreams200ResponseInnerOneOfFiltersInnerTypeEnum = exports.GetLogStreams200ResponseInnerOneOf7SinkMixpanelRegionEnum = exports.GetLogStreams200ResponseInnerOneOf7TypeEnum = exports.GetLogStreams200ResponseInnerOneOf7StatusEnum = exports.GetLogStreams200ResponseInnerOneOf6TypeEnum = exports.GetLogStreams200ResponseInnerOneOf6StatusEnum = exports.GetLogStreams200ResponseInnerOneOf5TypeEnum = exports.GetLogStreams200ResponseInnerOneOf5StatusEnum = exports.GetLogStreams200ResponseInnerOneOf4TypeEnum = exports.GetLogStreams200ResponseInnerOneOf4StatusEnum = exports.GetLogStreams200ResponseInnerOneOf3SinkDatadogRegionEnum = exports.GetLogStreams200ResponseInnerOneOf3TypeEnum = exports.GetLogStreams200ResponseInnerOneOf3StatusEnum = exports.GetLogStreams200ResponseInnerOneOf2SinkAzureRegionEnum = exports.GetLogStreams200ResponseInnerOneOf2TypeEnum = exports.GetLogStreams200ResponseInnerOneOf2StatusEnum = exports.GetLogStreams200ResponseInnerOneOf1SinkAwsRegionEnum = exports.GetLogStreams200ResponseInnerOneOf1TypeEnum = exports.GetLogStreams200ResponseInnerOneOf1StatusEnum = exports.GetLogStreams200ResponseInnerOneOfTypeEnum = exports.GetLogStreams200ResponseInnerOneOfStatusEnum = exports.GetExecution200ResponseStatusEnum = exports.GetEmailTemplatesByTemplateName200ResponseTemplateEnum = exports.GetCredentials200ResponseInnerAlgEnum = exports.GetBruteForceProtection200ResponseModeEnum = exports.GetBruteForceProtection200ResponseShieldsEnum = void 0;
exports.ResourceServerProofOfPossessionMechanismEnum = exports.ResourceServerCreateConsentPolicyEnum = exports.ResourceServerCreateTokenDialectEnum = exports.ResourceServerCreateSigningAlgEnum = exports.ResourceServerConsentPolicyEnum = exports.ResourceServerTokenDialectEnum = exports.ResourceServerSigningAlgEnum = exports.PutAuthenticationMethodsRequestInnerPreferredAuthenticationMethodEnum = exports.PutAuthenticationMethodsRequestInnerTypeEnum = exports.PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInnerTypeEnum = exports.PutAuthenticationMethods200ResponseInnerPreferredAuthenticationMethodEnum = exports.PutAuthenticationMethods200ResponseInnerTypeEnum = exports.PromptsSettingsUpdateUniversalLoginExperienceEnum = exports.PromptsSettingsUniversalLoginExperienceEnum = exports.PostVerify200ResponseTypeEnum = exports.PostVerify200ResponseStatusEnum = exports.PostVerificationEmailRequestIdentityProviderEnum = exports.PostUsersExportsRequestFormatEnum = exports.PostLogStreamsRequestOneOfFiltersInnerNameEnum = exports.PostLogStreamsRequestOneOfFiltersInnerTypeEnum = exports.PostLogStreamsRequestOneOf7TypeEnum = exports.PostLogStreamsRequestOneOf6TypeEnum = exports.PostLogStreamsRequestOneOf5TypeEnum = exports.PostLogStreamsRequestOneOf4TypeEnum = exports.PostLogStreamsRequestOneOf3TypeEnum = exports.PostLogStreamsRequestOneOf2SinkAzureRegionEnum = exports.PostLogStreamsRequestOneOf2TypeEnum = exports.PostLogStreamsRequestOneOf1SinkAwsRegionEnum = exports.PostLogStreamsRequestOneOf1TypeEnum = exports.PostLogStreamsRequestOneOfTypeEnum = exports.PostIdentitiesRequestProviderEnum = exports.PostEmailTemplatesRequestTemplateEnum = exports.PostCustomDomainsRequestCustomClientIpHeaderEnum = exports.PostCustomDomainsRequestTlsPolicyEnum = exports.PostCustomDomainsRequestVerificationMethodEnum = exports.PostCustomDomainsRequestTypeEnum = exports.PostCustomDomains201ResponseVerificationMethodsInnerNameEnum = exports.PostCustomDomains201ResponseTypeEnum = exports.PostCustomDomains201ResponseStatusEnum = exports.PostCredentialsRequestCredentialTypeEnum = exports.PostBrandingThemeRequestWidgetSocialButtonsLayoutEnum = exports.PostBrandingThemeRequestWidgetLogoPositionEnum = exports.PostBrandingThemeRequestWidgetHeaderTextAlignmentEnum = exports.PostBrandingThemeRequestPageBackgroundPageLayoutEnum = exports.PostBrandingThemeRequestFontsLinksStyleEnum = exports.PostBrandingThemeRequestBordersInputsStyleEnum = exports.PostBrandingThemeRequestBordersButtonsStyleEnum = exports.PostAuthenticationMethodsRequestPreferredAuthenticationMethodEnum = exports.PostAuthenticationMethodsRequestTypeEnum = exports.PostAuthenticationMethods201ResponsePreferredAuthenticationMethodEnum = void 0;
exports.GetUsersSearchEngineEnum = exports.DeleteUserIdentityByUserIdProviderEnum = exports.DeleteMultifactorByProviderProviderEnum = exports.PutPartialsPromptEnum = exports.PutCustomTextByLanguageLanguageEnum = exports.PutCustomTextByLanguagePromptEnum = exports.GetPartialsPromptEnum = exports.GetCustomTextByLanguageLanguageEnum = exports.GetCustomTextByLanguagePromptEnum = exports.GetHooksTriggerIdEnum = exports.PutFactorsByNameOperationNameEnum = exports.PutEmailTemplatesByTemplateNameTemplateNameEnum = exports.PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum = exports.GetEmailTemplatesByTemplateNameTemplateNameEnum = exports.GetDeviceCredentialsTypeEnum = exports.GetConnectionsStrategyEnum = exports.UserEnrollmentAuthMethodEnum = exports.UserEnrollmentStatusEnum = exports.TenantSettingsUpdateFlagsChangePwdFlowV1Enum = exports.TenantSettingsUpdateDeviceFlowCharsetEnum = exports.TenantSettingsUpdateEnabledLocalesEnum = exports.TenantSettingsSessionCookieModeEnum = exports.TenantSettingsDeviceFlowCharsetEnum = exports.TenantSettingsEnabledLocalesEnum = exports.ResourceServerUpdateConsentPolicyEnum = exports.ResourceServerUpdateTokenDialectEnum = exports.ResourceServerUpdateSigningAlgEnum = exports.ResourceServerTokenEncryptionEncryptionKeyAlgEnum = exports.ResourceServerTokenEncryptionFormatEnum = void 0;
exports.ClientTokenEndpointAuthMethodEnum = {

@@ -22,2 +22,8 @@ none: 'none',

};
exports.ClientComplianceLevelEnum = {
none: 'none',
fapi1_adv_pkj_par: 'fapi1_adv_pkj_par',
fapi1_adv_mtls_par: 'fapi1_adv_mtls_par',
null: 'null',
};
exports.ClientCreateTokenEndpointAuthMethodEnum = {

@@ -63,2 +69,8 @@ none: 'none',

};
exports.ClientCreateComplianceLevelEnum = {
none: 'none',
fapi1_adv_pkj_par: 'fapi1_adv_pkj_par',
fapi1_adv_mtls_par: 'fapi1_adv_mtls_par',
null: 'null',
};
exports.ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerCredentialTypeEnum = {

@@ -72,2 +84,8 @@ public_key: 'public_key',

};
exports.ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum = {
x509_cert: 'x509_cert',
};
exports.ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum = {
cert_subject_dn: 'cert_subject_dn',
};
exports.ClientCreateJwtConfigurationAlgEnum = {

@@ -132,2 +150,8 @@ HS256: 'HS256',

};
exports.ClientUpdateComplianceLevelEnum = {
none: 'none',
fapi1_adv_pkj_par: 'fapi1_adv_pkj_par',
fapi1_adv_mtls_par: 'fapi1_adv_mtls_par',
null: 'null',
};
exports.ClientUpdateJwtConfigurationAlgEnum = {

@@ -1083,2 +1107,6 @@ HS256: 'HS256',

};
exports.ResourceServerConsentPolicyEnum = {
transactional_authorization_with_mfa: 'transactional-authorization-with-mfa',
null: 'null',
};
exports.ResourceServerCreateSigningAlgEnum = {

@@ -1095,2 +1123,17 @@ HS256: 'HS256',

};
exports.ResourceServerCreateConsentPolicyEnum = {
transactional_authorization_with_mfa: 'transactional-authorization-with-mfa',
null: 'null',
};
exports.ResourceServerProofOfPossessionMechanismEnum = {
mtls: 'mtls',
};
exports.ResourceServerTokenEncryptionFormatEnum = {
compact_nested_jwe: 'compact-nested-jwe',
};
exports.ResourceServerTokenEncryptionEncryptionKeyAlgEnum = {
_256: 'RSA-OAEP-256',
_384: 'RSA-OAEP-384',
_512: 'RSA-OAEP-512',
};
exports.ResourceServerUpdateSigningAlgEnum = {

@@ -1107,2 +1150,6 @@ HS256: 'HS256',

};
exports.ResourceServerUpdateConsentPolicyEnum = {
transactional_authorization_with_mfa: 'transactional-authorization-with-mfa',
null: 'null',
};
exports.TenantSettingsEnabledLocalesEnum = {

@@ -1109,0 +1156,0 @@ ar: 'ar',

@@ -1,1 +0,1 @@

export declare const version = "4.7.0";
export declare const version = "4.8.0";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '4.7.0';
exports.version = '4.8.0';
//# sourceMappingURL=version.js.map
export * from './managers/index.js';
export * from './models/index.js';
import { ActionsManager, AnomalyManager, AttackProtectionManager, BlacklistsManager, BrandingManager, ClientGrantsManager, ClientsManager, ConnectionsManager, CustomDomainsManager, DeviceCredentialsManager, EmailTemplatesManager, EmailsManager, GrantsManager, GuardianManager, HooksManager, JobsManager, KeysManager, LogStreamsManager, LogsManager, OrganizationsManager, PromptsManager, ResourceServersManager, RolesManager, RulesManager, RulesConfigsManager, StatsManager, TenantsManager, TicketsManager, UserBlocksManager, UsersManager, UsersByEmailManager } from './managers/index.js';
import { ActionsManager, AnomalyManager, AttackProtectionManager, BlacklistsManager, BrandingManager, ClientGrantsManager, ClientsManager, ConnectionsManager, CustomDomainsManager, DeviceCredentialsManager, EmailTemplatesManager, EmailsManager, GrantsManager, GuardianManager, HooksManager, JobsManager, KeysManager, LogStreamsManager, LogsManager, OrganizationsManager, PromptsManager, RefreshTokensManager, ResourceServersManager, RolesManager, RulesManager, RulesConfigsManager, SessionsManager, StatsManager, TenantsManager, TicketsManager, UserBlocksManager, UsersManager, UsersByEmailManager } from './managers/index.js';
import { Configuration } from '../../lib/runtime.js';

@@ -28,2 +28,3 @@ export declare abstract class ManagementClientBase {

readonly prompts: PromptsManager;
readonly refreshTokens: RefreshTokensManager;
readonly resourceServers: ResourceServersManager;

@@ -33,2 +34,3 @@ readonly roles: RolesManager;

readonly rulesConfigs: RulesConfigsManager;
readonly sessions: SessionsManager;
readonly stats: StatsManager;

@@ -35,0 +37,0 @@ readonly tenants: TenantsManager;

export * from './managers/index.js';
export * from './models/index.js';
import { ActionsManager, AnomalyManager, AttackProtectionManager, BlacklistsManager, BrandingManager, ClientGrantsManager, ClientsManager, ConnectionsManager, CustomDomainsManager, DeviceCredentialsManager, EmailTemplatesManager, EmailsManager, GrantsManager, GuardianManager, HooksManager, JobsManager, KeysManager, LogStreamsManager, LogsManager, OrganizationsManager, PromptsManager, ResourceServersManager, RolesManager, RulesManager, RulesConfigsManager, StatsManager, TenantsManager, TicketsManager, UserBlocksManager, UsersManager, UsersByEmailManager, } from './managers/index.js';
import { ActionsManager, AnomalyManager, AttackProtectionManager, BlacklistsManager, BrandingManager, ClientGrantsManager, ClientsManager, ConnectionsManager, CustomDomainsManager, DeviceCredentialsManager, EmailTemplatesManager, EmailsManager, GrantsManager, GuardianManager, HooksManager, JobsManager, KeysManager, LogStreamsManager, LogsManager, OrganizationsManager, PromptsManager, RefreshTokensManager, ResourceServersManager, RolesManager, RulesManager, RulesConfigsManager, SessionsManager, StatsManager, TenantsManager, TicketsManager, UserBlocksManager, UsersManager, UsersByEmailManager, } from './managers/index.js';
export class ManagementClientBase {

@@ -28,2 +28,3 @@ constructor(configuration) {

this.prompts = new PromptsManager(this.configuration);
this.refreshTokens = new RefreshTokensManager(this.configuration);
this.resourceServers = new ResourceServersManager(this.configuration);

@@ -33,2 +34,3 @@ this.roles = new RolesManager(this.configuration);

this.rulesConfigs = new RulesConfigsManager(this.configuration);
this.sessions = new SessionsManager(this.configuration);
this.stats = new StatsManager(this.configuration);

@@ -35,0 +37,0 @@ this.tenants = new TenantsManager(this.configuration);

@@ -17,2 +17,3 @@ import * as runtime from '../../../lib/runtime.js';

/**
* Delete a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Delete a client credential

@@ -102,5 +103,5 @@ *

/**
* Get the list of client credentials that are associated to the client.
* Get the details of a client credential.
*
* Important: To enable credentials to be used
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credentials

@@ -113,4 +114,6 @@ *

* Get the details of a client credential.
* Get client credential
*
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credential details
*
* @throws {RequiredError}

@@ -135,2 +138,3 @@ */

/**
* Change a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Update a client credential

@@ -162,3 +166,4 @@ *

/**
* Create a client credential associated to the client. The credential will be created but not yet enabled
* Create a client credential associated to your application. The credential will be created but not yet enabled for use with Private Key JWT authentication method. To enable the credential, set the <code>client_authentication_methods</code> property on the client.
* For more information, read <a href="https://www.auth0.com//docs/get-started/applications/configure-private-key-jwt">Configure Private Key JWT Authentication</a>.
* Create a client credential

@@ -165,0 +170,0 @@ *

@@ -22,2 +22,3 @@ import * as runtime from '../../../lib/runtime.js';

/**
* Delete a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Delete a client credential

@@ -135,5 +136,5 @@ *

/**
* Get the list of client credentials that are associated to the client.
* Get the details of a client credential.
*
* Important: To enable credentials to be used
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credentials

@@ -153,4 +154,6 @@ *

* Get the details of a client credential.
* Get client credential
*
* <b>Important</b>: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
* Get client credential details
*
* @throws {RequiredError}

@@ -195,2 +198,3 @@ */

/**
* Change a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
* Update a client credential

@@ -245,3 +249,4 @@ *

/**
* Create a client credential associated to the client. The credential will be created but not yet enabled
* Create a client credential associated to your application. The credential will be created but not yet enabled for use with Private Key JWT authentication method. To enable the credential, set the <code>client_authentication_methods</code> property on the client.
* For more information, read <a href="https://www.auth0.com//docs/get-started/applications/configure-private-key-jwt">Configure Private Key JWT Authentication</a>.
* Create a client credential

@@ -248,0 +253,0 @@ *

@@ -22,2 +22,3 @@ export * from './actions-manager.js';

export * from './prompts-manager.js';
export * from './refresh-tokens-manager.js';
export * from './resource-servers-manager.js';

@@ -27,2 +28,3 @@ export * from './roles-manager.js';

export * from './rules-configs-manager.js';
export * from './sessions-manager.js';
export * from './stats-manager.js';

@@ -29,0 +31,0 @@ export * from './tenants-manager.js';

@@ -22,2 +22,3 @@ export * from './actions-manager.js';

export * from './prompts-manager.js';
export * from './refresh-tokens-manager.js';
export * from './resource-servers-manager.js';

@@ -27,2 +28,3 @@ export * from './roles-manager.js';

export * from './rules-configs-manager.js';
export * from './sessions-manager.js';
export * from './stats-manager.js';

@@ -29,0 +31,0 @@ export * from './tenants-manager.js';

import * as runtime from '../../../lib/runtime.js';
import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
import type { DeletePermissionsRequest, DeleteUserIdentityByUserId200ResponseInner, DeleteUserRolesRequest, GetAuthenticationMethods200ResponseOneOfInner, GetUsers200ResponseOneOfInner, PatchAuthenticationMethodsByAuthenticationMethodIdRequest, PostAuthenticationMethods201Response, PostAuthenticationMethodsRequest, PostIdentitiesRequest, PostPermissionsRequest, PostRecoveryCodeRegeneration200Response, PostUserRolesRequest, PutAuthenticationMethods200ResponseInner, PutAuthenticationMethodsRequestInner, UserCreate, UserEnrollment, UserIdentity, UserUpdate, GetAuthenticationMethods200ResponseOneOf, GetLogs200ResponseOneOf, Log, GetPermissions200ResponseOneOf, GetPermissions200ResponseOneOfInner, GetOrganizations200ResponseOneOf, GetOrganizations200ResponseOneOfInner, GetOrganizationMemberRoles200ResponseOneOf, GetOrganizationMemberRoles200ResponseOneOfInner, GetUsers200ResponseOneOf, DeleteAuthenticationMethodsRequest, DeleteAuthenticationMethodsByAuthenticationMethodIdRequest, DeleteAuthenticatorsRequest, DeleteMultifactorByProviderRequest, DeletePermissionsOperationRequest, DeleteUserIdentityByUserIdRequest, DeleteUserRolesOperationRequest, DeleteUsersByIdRequest, GetAuthenticationMethodsRequest, GetAuthenticationMethodsByAuthenticationMethodIdRequest, GetEnrollmentsRequest, GetLogsByUserRequest, GetPermissionsRequest, GetUserOrganizationsRequest, GetUserRolesRequest, GetUsersRequest, GetUsersByIdRequest, PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, PatchUsersByIdRequest, PostAuthenticationMethodsOperationRequest, PostIdentitiesOperationRequest, PostInvalidateRememberBrowserRequest, PostPermissionsOperationRequest, PostRecoveryCodeRegenerationRequest, PostUserRolesOperationRequest, PutAuthenticationMethodsRequest } from '../models/index.js';
import type { DeletePermissionsRequest, DeleteUserIdentityByUserId200ResponseInner, DeleteUserRolesRequest, GetAuthenticationMethods200ResponseOneOfInner, GetRefreshTokensForUser200Response, GetSessionsForUser200Response, GetUsers200ResponseOneOfInner, PatchAuthenticationMethodsByAuthenticationMethodIdRequest, PostAuthenticationMethods201Response, PostAuthenticationMethodsRequest, PostIdentitiesRequest, PostPermissionsRequest, PostRecoveryCodeRegeneration200Response, PostUserRolesRequest, PutAuthenticationMethods200ResponseInner, PutAuthenticationMethodsRequestInner, UserCreate, UserEnrollment, UserIdentity, UserUpdate, GetAuthenticationMethods200ResponseOneOf, GetLogs200ResponseOneOf, Log, GetPermissions200ResponseOneOf, GetPermissions200ResponseOneOfInner, GetOrganizations200ResponseOneOf, GetOrganizations200ResponseOneOfInner, GetOrganizationMemberRoles200ResponseOneOf, GetOrganizationMemberRoles200ResponseOneOfInner, GetUsers200ResponseOneOf, DeleteAuthenticationMethodsRequest, DeleteAuthenticationMethodsByAuthenticationMethodIdRequest, DeleteAuthenticatorsRequest, DeleteMultifactorByProviderRequest, DeletePermissionsOperationRequest, DeleteRefreshTokensForUserRequest, DeleteSessionsForUserRequest, DeleteUserIdentityByUserIdRequest, DeleteUserRolesOperationRequest, DeleteUsersByIdRequest, GetAuthenticationMethodsRequest, GetAuthenticationMethodsByAuthenticationMethodIdRequest, GetEnrollmentsRequest, GetLogsByUserRequest, GetPermissionsRequest, GetRefreshTokensForUserRequest, GetSessionsForUserRequest, GetUserOrganizationsRequest, GetUserRolesRequest, GetUsersRequest, GetUsersByIdRequest, PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, PatchUsersByIdRequest, PostAuthenticationMethodsOperationRequest, PostIdentitiesOperationRequest, PostInvalidateRememberBrowserRequest, PostPermissionsOperationRequest, PostRecoveryCodeRegenerationRequest, PostUserRolesOperationRequest, PutAuthenticationMethodsRequest } from '../models/index.js';
declare const BaseAPI: typeof runtime.BaseAPI;

@@ -43,2 +43,16 @@ /**

/**
* Delete all refresh tokens for a user.
* Delete refresh tokens for a user
*
* @throws {RequiredError}
*/
deleteRefreshTokens(requestParameters: DeleteRefreshTokensForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Delete all sessions for a user.
* Delete sessions for user
*
* @throws {RequiredError}
*/
deleteSessions(requestParameters: DeleteSessionsForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Unlink an identity from the target user making it a separate user account again.

@@ -113,2 +127,16 @@ * Unlink a User Identity

/**
* Retrieve details for a user's refresh tokens.
* Get refresh tokens for a user
*
* @throws {RequiredError}
*/
getRefreshTokens(requestParameters: GetRefreshTokensForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetRefreshTokensForUser200Response>>;
/**
* Retrieve details for a user's sessions.
* Get sessions for user
*
* @throws {RequiredError}
*/
getSessions(requestParameters: GetSessionsForUserRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetSessionsForUser200Response>>;
/**
* This endpoint will retrieve all organizations that the specified user is a member of.

@@ -115,0 +143,0 @@ *

@@ -84,2 +84,30 @@ import * as runtime from '../../../lib/runtime.js';

/**
* Delete all refresh tokens for a user.
* Delete refresh tokens for a user
*
* @throws {RequiredError}
*/
async deleteRefreshTokens(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const response = await this.request({
path: `/users/{user_id}/refresh-tokens`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Delete all sessions for a user.
* Delete sessions for user
*
* @throws {RequiredError}
*/
async deleteSessions(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const response = await this.request({
path: `/users/{user_id}/sessions`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Unlink an identity from the target user making it a separate user account again.

@@ -235,2 +263,60 @@ * Unlink a User Identity

}
/**
* Retrieve details for a user's refresh tokens.
* Get refresh tokens for a user
*
* @throws {RequiredError}
*/
async getRefreshTokens(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const queryParameters = runtime.applyQueryParams(requestParameters, [
{
key: 'include_totals',
config: {},
},
{
key: 'from',
config: {},
},
{
key: 'take',
config: {},
},
]);
const response = await this.request({
path: `/users/{user_id}/refresh-tokens`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'GET',
query: queryParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieve details for a user's sessions.
* Get sessions for user
*
* @throws {RequiredError}
*/
async getSessions(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['user_id']);
const queryParameters = runtime.applyQueryParams(requestParameters, [
{
key: 'include_totals',
config: {},
},
{
key: 'from',
config: {},
},
{
key: 'take',
config: {},
},
]);
const response = await this.request({
path: `/users/{user_id}/sessions`.replace('{user_id}', encodeURIComponent(String(requestParameters.user_id))),
method: 'GET',
query: queryParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
async getUserOrganizations(requestParameters, initOverrides) {

@@ -237,0 +323,0 @@ runtime.validateRequiredRequestParams(requestParameters, ['id']);

@@ -16,2 +16,8 @@ export const ClientTokenEndpointAuthMethodEnum = {

};
export const ClientComplianceLevelEnum = {
none: 'none',
fapi1_adv_pkj_par: 'fapi1_adv_pkj_par',
fapi1_adv_mtls_par: 'fapi1_adv_mtls_par',
null: 'null',
};
export const ClientCreateTokenEndpointAuthMethodEnum = {

@@ -57,2 +63,8 @@ none: 'none',

};
export const ClientCreateComplianceLevelEnum = {
none: 'none',
fapi1_adv_pkj_par: 'fapi1_adv_pkj_par',
fapi1_adv_mtls_par: 'fapi1_adv_mtls_par',
null: 'null',
};
export const ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerCredentialTypeEnum = {

@@ -66,2 +78,8 @@ public_key: 'public_key',

};
export const ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum = {
x509_cert: 'x509_cert',
};
export const ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum = {
cert_subject_dn: 'cert_subject_dn',
};
export const ClientCreateJwtConfigurationAlgEnum = {

@@ -126,2 +144,8 @@ HS256: 'HS256',

};
export const ClientUpdateComplianceLevelEnum = {
none: 'none',
fapi1_adv_pkj_par: 'fapi1_adv_pkj_par',
fapi1_adv_mtls_par: 'fapi1_adv_mtls_par',
null: 'null',
};
export const ClientUpdateJwtConfigurationAlgEnum = {

@@ -1077,2 +1101,6 @@ HS256: 'HS256',

};
export const ResourceServerConsentPolicyEnum = {
transactional_authorization_with_mfa: 'transactional-authorization-with-mfa',
null: 'null',
};
export const ResourceServerCreateSigningAlgEnum = {

@@ -1089,2 +1117,17 @@ HS256: 'HS256',

};
export const ResourceServerCreateConsentPolicyEnum = {
transactional_authorization_with_mfa: 'transactional-authorization-with-mfa',
null: 'null',
};
export const ResourceServerProofOfPossessionMechanismEnum = {
mtls: 'mtls',
};
export const ResourceServerTokenEncryptionFormatEnum = {
compact_nested_jwe: 'compact-nested-jwe',
};
export const ResourceServerTokenEncryptionEncryptionKeyAlgEnum = {
_256: 'RSA-OAEP-256',
_384: 'RSA-OAEP-384',
_512: 'RSA-OAEP-512',
};
export const ResourceServerUpdateSigningAlgEnum = {

@@ -1101,2 +1144,6 @@ HS256: 'HS256',

};
export const ResourceServerUpdateConsentPolicyEnum = {
transactional_authorization_with_mfa: 'transactional-authorization-with-mfa',
null: 'null',
};
export const TenantSettingsEnabledLocalesEnum = {

@@ -1103,0 +1150,0 @@ ar: 'ar',

@@ -1,1 +0,1 @@

export declare const version = "4.7.0";
export declare const version = "4.8.0";

@@ -1,2 +0,2 @@

export const version = '4.7.0';
export const version = '4.8.0';
//# sourceMappingURL=version.js.map
{
"name": "auth0",
"version": "4.7.0",
"version": "4.8.0",
"description": "SDK for Auth0 API v2",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc