-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renaming the bundle to avoid collision with Auth0 plugin
- Loading branch information
Leo Giovanetti
committed
Nov 18, 2020
1 parent
25aa185
commit 7bee10f
Showing
10 changed files
with
193 additions
and
60 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
<?php | ||
return [ | ||
'name' => 'Auth0', | ||
'description' => 'Integración con funcionalidades de Auth0.', | ||
'name' => 'Auth0 Password Reset', | ||
'description' => 'Providing a Password Reset URL Token to send to users. Requires a custom field "auth0userid" for a contact.', | ||
'author' => 'Leo Giovanetti', | ||
'version' => '1.0.0', | ||
'services' => [ | ||
'events' => [ | ||
'plugin.auth0.configbundle.subscriber' => [ | ||
'class' => 'MauticPlugin\MauticAuth0Bundle\EventListener\ConfigSubscriber' | ||
'mautic.auth0.configbundle.subscriber' => [ | ||
'class' => 'MauticPlugin\MauticAuth0PasswordResetBundle\EventListener\ConfigSubscriber' | ||
], | ||
'plugin.auth0.emailbundle.subscriber' => [ | ||
'class' => 'MauticPlugin\MauticAuth0Bundle\EventListener\EmailSubscriber' | ||
'mautic.auth0.emailbundle.subscriber' => [ | ||
'class' => 'MauticPlugin\MauticAuth0PasswordResetBundle\EventListener\EmailSubscriber', | ||
'arguments' => ['mautic.helper.core_parameters'] | ||
] | ||
], | ||
'forms' => array( | ||
'plugin.auth0.form' => array( | ||
'class' => 'MauticPlugin\MauticAuth0Bundle\Form\Type\Auth0Type', | ||
'alias' => 'auth0_config' | ||
'plugin.auth0_password_reset.form' => array( | ||
'class' => 'MauticPlugin\MauticAuth0PasswordResetBundle\Form\Type\Auth0Type', | ||
'alias' => 'auth0_password_reset_config' | ||
) | ||
), | ||
], | ||
'parameters' => array( | ||
'auth0_management_api_token' => '', | ||
'auth0_domain_url' => '' | ||
'auth0_domain_url' => '', | ||
'auth0_result_url' => '', | ||
'auth0_client_id' => '', | ||
'auth0_client_secret' => '' | ||
) | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
namespace MauticPlugin\MauticAuth0PasswordResetBundle; | ||
|
||
use Mautic\PluginBundle\Bundle\PluginBundleBase; | ||
|
||
class MauticAuth0PasswordResetBundle extends PluginBundleBase | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# MauticAuth0Bundle | ||
# MauticAuth0PasswordResetBundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
plugin.auth0.password_reset_ticket_url.token = "Password Reset Ticket URL" | ||
plugin.auth0_password_reset.password_reset_ticket_url.token = "Password Reset Ticket URL" | ||
|
||
mautic.config.tab.auth0_config = "Auth0 Settings" | ||
mautic.config.tab.auth0_password_reset_config = "Auth0 Password Reset Settings" | ||
|
||
plugin.auth0.config.auth0_management_api_token = "Auth0 Management API Token" | ||
plugin.auth0.config.auth0_management_api_token_tooltip = "Please read the official docs on how to get it." | ||
plugin.auth0_password_reset.config.auth0_domain_url = "Auth0 Domain URL" | ||
plugin.auth0_password_reset.config.auth0_domain_url_tooltip = "Your Auth0 domain URL (e.g. acme.auth0.com)" | ||
|
||
plugin.auth0.config.auth0_domain_url = "Auth0 Domain URL" | ||
plugin.auth0.config.auth0_domain_url_tooltip = "Your Auth0 domain URL (e.g. acme.auth0.com)" | ||
plugin.auth0_password_reset.config.auth0_result_url = "Auth0 Password Ticket Result URL" | ||
plugin.auth0_password_reset.config.auth0_result_url_tooltip = "URL the user will be redirected to once ticket is used." | ||
|
||
plugin.auth0.config.auth0_management_api_token.error = "Error generating Password Reset Ticket URL" | ||
plugin.auth0_password_reset.config.auth0_client_id = "Auth0 Client ID" | ||
|
||
plugin.auth0_password_reset.config.auth0_client_secret = "Auth0 Client Secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters