AI助手支持GPT4.0
This plugin replaces standard WordPress login forms with one powered by Auth0 that enables:
此插件用由 Auth0 支持的一种形式替换标准的WordPress登录表单,从而启用: p>
ul>
li>
IMPORTANT: By using this plugin you are delegating the site authentication and profile handling to Auth0.
重要 strong>:通过使用此插件,您将站点身份验证和配置文件处理委托给Auth0。That means that you won’t be using the WordPress database to authenticate users and the default WordPress login forms will be replaced.这意味着您将不会使用WordPress数据库来验证用户身份,并且将替换默认的WordPress登录表单。 p>Please see our How It Works page for more information请参阅我们的工作原理页面以了解更多信息on how Auth0 authenticates and manages your users.Auth0如何验证和管理您的用户。 p>Migrating Existing Users迁移现有用户 h4>Auth0 allows multiple authentication providers. Auth0允许多个身份验证提供程序。You can have social providers like Facebook, Twitter, Google+, and more, a database of users and passwords (just like WordPress but hosted in Auth0), or you can use an Enterprise directory like Active Directory, LDAP, Office365, Google Apps, or您可以拥有Facebook,Twitter,Google +等社交服务提供商,用户和密码数据库(就像WordPress,但托管在Auth0中),也可以使用企业目录(如Active Directory,LDAP,Office365,Google Apps或SAML.SAML。All those authentication providers might give you an email and a flag indicating whether the email was verified or not.所有这些身份验证提供程序都可能会给您发送电子邮件和标志,以指示电子邮件是否已验证。We use that email (only if its verified) to associate a previous existing user with the one coming from Auth0.我们使用该电子邮件(仅在经过验证的情况下)才能将以前的现有 strong>用户与来自Auth0的用户相关联。 p>If the email was not verified and there is an account with that email in WordPress, the user will be presented with a page saying that the email was not verified and a link to “Re-send the verification email.”如果电子邮件未经验证,并且在WordPress中有使用该电子邮件的帐户,则会向用户显示一个页面,指出该电子邮件未经验证,并带有“重新发送验证电子邮件”的链接。For either scenario, you can choose whether it is mandatory that the user has a verified email or not in the plugin settings.对于这两种情况,您都可以在插件设置中选择是否强制要求用户拥有经过验证的电子邮件。 p>Please note: In order for a user to login using Auth0, they will need to sign up via the Auth0 login form (or have an account created for them in Auth0). 请注意: strong>:要使用户使用Auth0登录,他们将需要通过Auth0登录表单进行注册(或在Auth0中为其创建帐户)。Once signup is complete, their Auth0 user will be automatically associated with their WordPress user.注册完成后,其Auth0用户将自动与其WordPress用户相关联。 p>Widget小部件 h4>You can enable the Auth0 as a WordPress widget in order to show it in a sidebar.您可以将Auth0启用为WordPress小部件,以便在边栏中显示它。The widget inherits the main plugin settings but can be overridden with its own settings in the widget form.该小部件继承了主要的插件设置,但可以在小部件表单中用其自己的设置覆盖。Note: this form will not display for logged-in users.注意:此表格不会显示给已登录的用户。 p>Shortcode简码 h4>Also, you can use the Auth0 widget as a shortcode in your editor.此外,您可以在编辑器中将Auth0小部件用作简码。Just add the following to use the global settings:只需添加以下内容即可使用全局设置: p>[auth0] [auth0] code> pre>Like widgets, shortcode login forms will use the main plugins settings.像小部件一样,简码登录表单将使用主要插件设置。It can be customized by adding the following attributes:可以通过添加以下属性来自定义它: p>icon_url – A direct URL to an image used at the top of the login form icon_url code> –登录表单顶部使用的图像的直接URL li>form_title – Text to appear at top of the login form form_title code> –显示在登录表单顶部的文本 li>gravatar – Display the user’s Gravatar; gravatar code> –显示用户的Gravatar;set to 1 for yes设置为 1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li> ul>Example:示例: p>[auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"] [auth0 show_as_modal =“ 1” modal_trigger_name =“登录按钮:此文本是可配置的!”] code> pre>Note: this form will not display for logged-in users.注意:已登录用户将不会显示此表单。 p>
That means that you won’t be using the WordPress database to authenticate users and the default WordPress login forms will be replaced.
这意味着您将不会使用WordPress数据库来验证用户身份,并且将替换默认的WordPress登录表单。 p>
Please see our How It Works page for more information
请参阅我们的工作原理页面以了解更多信息
on how Auth0 authenticates and manages your users.
Auth0如何验证和管理您的用户。 p>
Auth0 allows multiple authentication providers.
Auth0允许多个身份验证提供程序。
You can have social providers like Facebook, Twitter, Google+, and more, a database of users and passwords (just like WordPress but hosted in Auth0), or you can use an Enterprise directory like Active Directory, LDAP, Office365, Google Apps, or
您可以拥有Facebook,Twitter,Google +等社交服务提供商,用户和密码数据库(就像WordPress,但托管在Auth0中),也可以使用企业目录(如Active Directory,LDAP,Office365,Google Apps或
SAML.
SAML。
All those authentication providers might give you an email and a flag indicating whether the email was verified or not.
所有这些身份验证提供程序都可能会给您发送电子邮件和标志,以指示电子邮件是否已验证。
We use that email (only if its verified) to associate a previous existing user with the one coming from Auth0.
我们使用该电子邮件(仅在经过验证的情况下)才能将以前的现有 strong>用户与来自Auth0的用户相关联。 p>If the email was not verified and there is an account with that email in WordPress, the user will be presented with a page saying that the email was not verified and a link to “Re-send the verification email.”如果电子邮件未经验证,并且在WordPress中有使用该电子邮件的帐户,则会向用户显示一个页面,指出该电子邮件未经验证,并带有“重新发送验证电子邮件”的链接。For either scenario, you can choose whether it is mandatory that the user has a verified email or not in the plugin settings.对于这两种情况,您都可以在插件设置中选择是否强制要求用户拥有经过验证的电子邮件。 p>Please note: In order for a user to login using Auth0, they will need to sign up via the Auth0 login form (or have an account created for them in Auth0). 请注意: strong>:要使用户使用Auth0登录,他们将需要通过Auth0登录表单进行注册(或在Auth0中为其创建帐户)。Once signup is complete, their Auth0 user will be automatically associated with their WordPress user.注册完成后,其Auth0用户将自动与其WordPress用户相关联。 p>Widget小部件 h4>You can enable the Auth0 as a WordPress widget in order to show it in a sidebar.您可以将Auth0启用为WordPress小部件,以便在边栏中显示它。The widget inherits the main plugin settings but can be overridden with its own settings in the widget form.该小部件继承了主要的插件设置,但可以在小部件表单中用其自己的设置覆盖。Note: this form will not display for logged-in users.注意:此表格不会显示给已登录的用户。 p>Shortcode简码 h4>Also, you can use the Auth0 widget as a shortcode in your editor.此外,您可以在编辑器中将Auth0小部件用作简码。Just add the following to use the global settings:只需添加以下内容即可使用全局设置: p>[auth0] [auth0] code> pre>Like widgets, shortcode login forms will use the main plugins settings.像小部件一样,简码登录表单将使用主要插件设置。It can be customized by adding the following attributes:可以通过添加以下属性来自定义它: p>icon_url – A direct URL to an image used at the top of the login form icon_url code> –登录表单顶部使用的图像的直接URL li>form_title – Text to appear at top of the login form form_title code> –显示在登录表单顶部的文本 li>gravatar – Display the user’s Gravatar; gravatar code> –显示用户的Gravatar;set to 1 for yes设置为 1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li> ul>Example:示例: p>[auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"] [auth0 show_as_modal =“ 1” modal_trigger_name =“登录按钮:此文本是可配置的!”] code> pre>Note: this form will not display for logged-in users.注意:已登录用户将不会显示此表单。 p>
If the email was not verified and there is an account with that email in WordPress, the user will be presented with a page saying that the email was not verified and a link to “Re-send the verification email.”
如果电子邮件未经验证,并且在WordPress中有使用该电子邮件的帐户,则会向用户显示一个页面,指出该电子邮件未经验证,并带有“重新发送验证电子邮件”的链接。
For either scenario, you can choose whether it is mandatory that the user has a verified email or not in the plugin settings.
对于这两种情况,您都可以在插件设置中选择是否强制要求用户拥有经过验证的电子邮件。 p>
Please note: In order for a user to login using Auth0, they will need to sign up via the Auth0 login form (or have an account created for them in Auth0).
请注意: strong>:要使用户使用Auth0登录,他们将需要通过Auth0登录表单进行注册(或在Auth0中为其创建帐户)。Once signup is complete, their Auth0 user will be automatically associated with their WordPress user.注册完成后,其Auth0用户将自动与其WordPress用户相关联。 p>Widget小部件 h4>You can enable the Auth0 as a WordPress widget in order to show it in a sidebar.您可以将Auth0启用为WordPress小部件,以便在边栏中显示它。The widget inherits the main plugin settings but can be overridden with its own settings in the widget form.该小部件继承了主要的插件设置,但可以在小部件表单中用其自己的设置覆盖。Note: this form will not display for logged-in users.注意:此表格不会显示给已登录的用户。 p>Shortcode简码 h4>Also, you can use the Auth0 widget as a shortcode in your editor.此外,您可以在编辑器中将Auth0小部件用作简码。Just add the following to use the global settings:只需添加以下内容即可使用全局设置: p>[auth0] [auth0] code> pre>Like widgets, shortcode login forms will use the main plugins settings.像小部件一样,简码登录表单将使用主要插件设置。It can be customized by adding the following attributes:可以通过添加以下属性来自定义它: p>icon_url – A direct URL to an image used at the top of the login form icon_url code> –登录表单顶部使用的图像的直接URL li>form_title – Text to appear at top of the login form form_title code> –显示在登录表单顶部的文本 li>gravatar – Display the user’s Gravatar; gravatar code> –显示用户的Gravatar;set to 1 for yes设置为 1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li> ul>Example:示例: p>[auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"] [auth0 show_as_modal =“ 1” modal_trigger_name =“登录按钮:此文本是可配置的!”] code> pre>Note: this form will not display for logged-in users.注意:已登录用户将不会显示此表单。 p>
Once signup is complete, their Auth0 user will be automatically associated with their WordPress user.
注册完成后,其Auth0用户将自动与其WordPress用户相关联。 p>
You can enable the Auth0 as a WordPress widget in order to show it in a sidebar.
您可以将Auth0启用为WordPress小部件,以便在边栏中显示它。
The widget inherits the main plugin settings but can be overridden with its own settings in the widget form.
该小部件继承了主要的插件设置,但可以在小部件表单中用其自己的设置覆盖。
Note: this form will not display for logged-in users.
注意:此表格不会显示给已登录的用户。 p>
Also, you can use the Auth0 widget as a shortcode in your editor.
此外,您可以在编辑器中将Auth0小部件用作简码。
Just add the following to use the global settings:
只需添加以下内容即可使用全局设置: p>
[auth0] [auth0] code> pre>Like widgets, shortcode login forms will use the main plugins settings.像小部件一样,简码登录表单将使用主要插件设置。It can be customized by adding the following attributes:可以通过添加以下属性来自定义它: p>icon_url – A direct URL to an image used at the top of the login form icon_url code> –登录表单顶部使用的图像的直接URL li>form_title – Text to appear at top of the login form form_title code> –显示在登录表单顶部的文本 li>gravatar – Display the user’s Gravatar; gravatar code> –显示用户的Gravatar;set to 1 for yes设置为 1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li> ul>Example:示例: p>[auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"] [auth0 show_as_modal =“ 1” modal_trigger_name =“登录按钮:此文本是可配置的!”] code> pre>Note: this form will not display for logged-in users.注意:已登录用户将不会显示此表单。 p>
[auth0]
code> pre>
Like widgets, shortcode login forms will use the main plugins settings.
像小部件一样,简码登录表单将使用主要插件设置。
It can be customized by adding the following attributes:
可以通过添加以下属性来自定义它: p>
icon_url
icon_url code> –登录表单顶部使用的图像的直接URL li>form_title – Text to appear at top of the login form form_title code> –显示在登录表单顶部的文本 li>gravatar – Display the user’s Gravatar; gravatar code> –显示用户的Gravatar;set to 1 for yes设置为 1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
form_title
form_title code> –显示在登录表单顶部的文本 li>gravatar – Display the user’s Gravatar; gravatar code> –显示用户的Gravatar;set to 1 for yes设置为 1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
gravatar
gravatar code> –显示用户的Gravatar;set to 1 for yes
set to 1 for yes
1
设置为 1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
1 code>是 li>redirect_to – A direct URL to use after successful login redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
redirect_to
redirect_to code> –成功登录后要使用的直接URL li>custom_css – Valid CSS to alter the login form custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
custom_css
custom_css code> –更改登录表单的有效CSS li>custom_js – Valid JS to alter the login form custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
custom_js
custom_js code> –有效的JS来更改登录表单 li>dict – Valid JSON to override form text ( dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)“ nofollow”>在此处查看选项) li>extra_conf – Valid JSON to override Lock configuration (see options extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)这里) li>show_as_modal – Display a button which triggers the login form in a modal; show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
dict
dict code> –有效的JSON以覆盖表单文本("nofollow">see options here)
"nofollow">see options here
“ nofollow”>在此处查看选项
extra_conf
extra_conf code> –有效的JSON覆盖锁定配置(查看选项here)
here
这里
show_as_modal
show_as_modal code> –显示一个以模态形式触发登录表单的按钮;set to 1 for yes
设置为 1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
1 code>是 li>modal_trigger_name – Button text to display when using a modal modal_trigger_name code> –使用模式时要显示的按钮文本 li>
modal_trigger_name
modal_trigger_name code> –使用模式时要显示的按钮文本 li>
Example:
示例: p>
[auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"] [auth0 show_as_modal =“ 1” modal_trigger_name =“登录按钮:此文本是可配置的!”] code> pre>Note: this form will not display for logged-in users.注意:已登录用户将不会显示此表单。 p>
[auth0 show_as_modal =“ 1” modal_trigger_name =“登录按钮:此文本是可配置的!”]
注意:已登录用户将不会显示此表单。 p>
This plugin requires a free or paid Auth0 account.
此插件需要一个免费或付费 Auth0帐户。 p>
ol>
原文出处:http://www.sanshu.cn/a/3079.html
群主管理都是支付大佬