Skip to content

Commit

Permalink
Custom email provider implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
acwest committed Dec 18, 2024
1 parent e8b6347 commit 0aa4a59
Show file tree
Hide file tree
Showing 29 changed files with 4,004 additions and 992 deletions.
9 changes: 6 additions & 3 deletions src/deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
EmailProviderUpdateCredentials,
ClientCreateOidcLogout,
ClientOidcLogout,
ClientUpdateOidcLogout,
PostOrganizations201ResponseEnabledConnectionsInnerConnection,
} from './management/__generated/models/index.js';

Expand Down Expand Up @@ -40,9 +39,13 @@ export type ClientCreateOidcBackchannelLogout = ClientCreateOidcLogout;
*/
export type ClientOidcBackchannelLogout = ClientOidcLogout;
/**
* @deprecated Use {@link ClientUpdateOidcLogout} instead.
* @deprecated Use {@link ClientCreateOidcLogout} instead.
*/
export type ClientUpdateOidcBackchannelLogout = ClientCreateOidcLogout;
/**
* @deprecated Use {@link ClientCreateOidcLogout} instead.
*/
export type ClientUpdateOidcBackchannelLogout = ClientUpdateOidcLogout;
export type ClientUpdateOidcLogout = ClientCreateOidcLogout;
/**
* @deprecated use {@link PostOrganizations201ResponseEnabledConnectionsInnerConnection} instead.
*/
Expand Down
2 changes: 0 additions & 2 deletions src/management/__generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
ActionsManager,
AnomalyManager,
AttackProtectionManager,
BlacklistsManager,
BrandingManager,
ClientGrantsManager,
ClientsManager,
Expand Down Expand Up @@ -46,7 +45,6 @@ export abstract class ManagementClientBase {
public readonly actions = new ActionsManager(this.configuration);
public readonly anomaly = new AnomalyManager(this.configuration);
public readonly attackProtection = new AttackProtectionManager(this.configuration);
public readonly blacklists = new BlacklistsManager(this.configuration);
public readonly branding = new BrandingManager(this.configuration);
public readonly clientGrants = new ClientGrantsManager(this.configuration);
public readonly clients = new ClientsManager(this.configuration);
Expand Down
37 changes: 11 additions & 26 deletions src/management/__generated/managers/actions-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ const { BaseAPI } = runtime;
*/
export class ActionsManager extends BaseAPI {
/**
* Deletes an action and all of its associated versions. An action must be unbound from all triggers
* before it can be deleted.
* Deletes an action and all of its associated versions. An action must be unbound from all triggers before it can be deleted.
*
* Delete an action
*
Expand Down Expand Up @@ -99,8 +98,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Retrieve a specific version of an action. An action version is created whenever
* an action is deployed. An action version is immutable, once created.
* Retrieve a specific version of an action. An action version is created whenever an action is deployed. An action version is immutable, once created.
*
* Get a specific version of an action
*
Expand All @@ -126,8 +124,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Retrieve all of an action's versions. An action version is created whenever
* an action is deployed. An action version is immutable, once created.
* Retrieve all of an action's versions. An action version is created whenever an action is deployed. An action version is immutable, once created.
*
* Get an action's versions
*
Expand Down Expand Up @@ -216,9 +213,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be
* attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned
* reflects the order in which they will be executed during the appropriate flow.
* Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned reflects the order in which they will be executed during the appropriate flow.
*
* Get trigger bindings
*
Expand Down Expand Up @@ -257,8 +252,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Retrieve information about a specific execution of a trigger. Relevant execution IDs will be included in tenant logs
* generated as part of that authentication flow. Executions will only be stored for 10 days after their creation.
* Retrieve information about a specific execution of a trigger. Relevant execution IDs will be included in tenant logs generated as part of that authentication flow. Executions will only be stored for 10 days after their creation.
*
* Get an execution
*
Expand All @@ -285,8 +279,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions
* can be bound.
* Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions can be bound.
*
* Get triggers
*
Expand All @@ -305,8 +298,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Update an existing action. If this action is currently bound to a trigger, updating it will <strong>not</strong> affect
* any user flows until the action is deployed.
* Update an existing action. If this action is currently bound to a trigger, updating it will <strong>not</strong> affect any user flows until the action is deployed.
*
* Update an action
*
Expand Down Expand Up @@ -340,10 +332,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be
* attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are
* provided will determine the order in which they are executed.
*
* Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are provided will determine the order in which they are executed.
* Update trigger bindings
*
* @throws {RequiredError}
Expand Down Expand Up @@ -376,8 +365,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Create an action. Once an action is created, it must be deployed, and then
* bound to a trigger before it will be executed as part of a flow.
* Create an action. Once an action is created, it must be deployed, and then bound to a trigger before it will be executed as part of a flow.
*
* Create an action
*
Expand Down Expand Up @@ -405,8 +393,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Deploy an action. Deploying an action will create a new immutable version of the action. If the action is
* currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately. Otherwise, the action will only be executed as a part of a flow once it is bound to that flow.
* Deploy an action. Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately. Otherwise, the action will only be executed as a part of a flow once it is bound to that flow.
*
* Deploy an action
*
Expand All @@ -433,9 +420,7 @@ export class ActionsManager extends BaseAPI {
}

/**
* Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed
* action version that is identical to the specified version. If this action is currently bound to a trigger, the
* system will begin executing the newly-created version immediately.
* Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
*
* Roll back to a previous action version
*
Expand Down
4 changes: 2 additions & 2 deletions src/management/__generated/managers/anomaly-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { BaseAPI } = runtime;
*/
export class AnomalyManager extends BaseAPI {
/**
* Unblock an IP address currently blocked by the <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> due to multiple suspicious attempts.
* Remove a block imposed by <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> for the given IP address.
* Remove the blocked IP address
*
* @throws {RequiredError}
Expand All @@ -35,7 +35,7 @@ export class AnomalyManager extends BaseAPI {
}

/**
* Check if a given IP address is blocked via the <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> due to multiple suspicious attempts.
* Check if the given IP address is blocked via the <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> due to multiple suspicious attempts.
* Check if an IP address is blocked
*
* @throws {RequiredError}
Expand Down
18 changes: 12 additions & 6 deletions src/management/__generated/managers/attack-protection-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const { BaseAPI } = runtime;
*/
export class AttackProtectionManager extends BaseAPI {
/**
* Get breached password detection settings
* Retrieve details of the Breached Password Detection configuration of your tenant.
* Get Breached Password Detection settings
*
* @throws {RequiredError}
*/
Expand All @@ -35,7 +36,8 @@ export class AttackProtectionManager extends BaseAPI {
}

/**
* Get the brute force configuration
* Retrieve details of the Brute-force Protection configuration of your tenant.
* Get Brute-force settings
*
* @throws {RequiredError}
*/
Expand All @@ -54,7 +56,8 @@ export class AttackProtectionManager extends BaseAPI {
}

/**
* Get the suspicious IP throttling configuration
* Retrieve details of the Suspicious IP Throttling configuration of your tenant.
* Get Suspicious IP Throttling settings
*
* @throws {RequiredError}
*/
Expand All @@ -73,7 +76,8 @@ export class AttackProtectionManager extends BaseAPI {
}

/**
* Update breached password detection settings
* Update details of the Breached Password Detection configuration of your tenant.
* Update Breached Password Detection settings
*
* @throws {RequiredError}
*/
Expand All @@ -99,7 +103,8 @@ export class AttackProtectionManager extends BaseAPI {
}

/**
* Update the brute force configuration
* Update the Brute-force Protection configuration of your tenant.
* Update Brute-force settings
*
* @throws {RequiredError}
*/
Expand All @@ -125,7 +130,8 @@ export class AttackProtectionManager extends BaseAPI {
}

/**
* Update the suspicious IP throttling configuration
* Update the details of the Suspicious IP Throttling configuration of your tenant.
* Update Suspicious IP Throttling settings
*
* @throws {RequiredError}
*/
Expand Down
67 changes: 0 additions & 67 deletions src/management/__generated/managers/blacklists-manager.ts

This file was deleted.

Loading

0 comments on commit 0aa4a59

Please sign in to comment.