devel:auth_plugins
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
devel:auth_plugins [2016-08-08 23:49] – Klap-in | devel:auth_plugins [2018-06-06 00:48] – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Authentication Plugins ====== | ====== Authentication Plugins ====== | ||
- | | **Info on this page is for 2013-05-10 " | + | | **Info on this page is for 2013-05-10 " |
+ | |||
+ | (//For reference the old documentation can be found at the old [[devel: | ||
DokuWiki' | DokuWiki' | ||
Line 10: | Line 12: | ||
An Authentication Plugin //Example// needs: | An Authentication Plugin //Example// needs: | ||
- | | + | |
+ | | ||
* which extends [[xref> | * which extends [[xref> | ||
- | * to be stored in a file '' | + | * to be stored in a file '' |
Moreover, a [[plugin_info|plugin.info.txt]] file is needed. For full details of plugins and their files and how to create more auth components refer to [[plugin file structure]]. | Moreover, a [[plugin_info|plugin.info.txt]] file is needed. For full details of plugins and their files and how to create more auth components refer to [[plugin file structure]]. | ||
Line 60: | Line 64: | ||
- | * **'' | + | * **'' |
function trustExternal($user, | function trustExternal($user, | ||
global $USERINFO; | global $USERINFO; | ||
Line 100: | Line 104: | ||
//when needed, logoff explicitly. | //when needed, logoff explicitly. | ||
} | } | ||
- | </ | + | </ |
Line 190: | Line 194: | ||
</ | </ | ||
- | ====Howto install an auth plugin via plugin | + | ====Howto install an auth plugin via extension |
- | When you prefer to install an auth plugin by the DokuWiki | + | When you prefer to install an auth plugin by the DokuWiki |
<code php> | <code php> | ||
Line 203: | Line 207: | ||
</ | </ | ||
- | and save the file. Now your wiki uses the AuthPlain plugin. Next you login as superuser. Hint: Probably you can login by the user you define on installation (the installer creates default that users as superuser). Now you can use the plugin | + | and save the file. Now your wiki uses the AuthPlain plugin. Next you login as superuser. Hint: Probably you can login by the user you define on installation (the installer creates default that users as superuser). Now you can use the extension |
Next you can configure the plugin settings via the configuration manager (these settings are stored in '' | Next you can configure the plugin settings via the configuration manager (these settings are stored in '' |
devel/auth_plugins.txt · Last modified: 2023-09-19 10:50 by andi