Home
last modified time | relevance | path

Searched +full:auth -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 64) sorted by relevance

123

/dokuwiki/lib/plugins/authad/
H A Daction.php38 /** @var auth_plugin_authad $auth */
39 global $auth;
40 if (!is_a($auth, 'auth_plugin_authad')) return; // AD not even used
43 $usr = $auth->cleanUser($event->data['user']);
44 $dom = $auth->getUserDomain($usr);
62 /** @var auth_plugin_authad $auth */
63 global $auth;
64 if (!is_a($auth, 'auth_plugin_authad')) return; // AD not even used
65 $domains = $auth->getConfiguredDomains();
77 $usr = $auth
[all...]
H A Dplugin.info.txt5 name Active Directory Auth Plugin
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php31 $options->registerCommand('add', 'Add an user to auth backend');
40 $options->registerCommand('delete', 'Deletes user(s) from auth backend');
59 /** @var AuthPlugin $auth */
60 global $auth;
62 if (!$auth instanceof AuthPlugin) {
98 /** @var AuthPlugin $auth */
99 global $auth;
101 if (!$auth->canDo('getUsers')) {
118 /** @var AuthPlugin $auth */
119 global $auth;
[all...]
H A Dadmin.php13 * objectified version of auth system
27 protected $auth; // auth object
44 /** @var AuthPlugin $auth */
45 global $auth;
49 if (!$auth instanceof AuthPlugin) {
51 } elseif (!$auth->canDo('getUsers')) {
55 $this->auth = &$auth;
73 if (!is_null($this->auth))
22 protected $auth = null; // auth object global() variable in admin_plugin_usermanager
[all...]
/dokuwiki/inc/
H A Dauth.php26 * Initialize the auth system.
30 * This used to be the main() of the auth.php
40 /* @var AuthPlugin $auth */
41 global $auth;
52 // try to load auth backend from plugins
53 foreach ($plugin_controller->getList('auth') as $plugin) {
55 $auth = $plugin_controller->load('auth', $plugin);
60 if (!$auth instanceof AuthPlugin) {
65 if ($auth
[all...]
H A Dmedia.php64 * @param int $auth permission level
68 function media_metasave($id, $auth, $data)
70 if ($auth < AUTH_UPLOAD) return false;
149 * @param int $auth permission level
152 function media_metaform($id, $auth)
156 if ($auth < AUTH_UPLOAD) {
251 * @param int $auth no longer used
258 function media_delete($id, $auth)
261 $auth = auth_quickaclcheck(ltrim(getNS($id) . ':*', ':'));
262 if ($auth < AUTH_DELET
63 media_metasave($id, $auth, $data) global() argument
144 media_metaform($id, $auth) global() argument
248 media_delete($id, $auth) global() argument
298 media_upload_xhr($ns, $auth) global() argument
345 media_upload($ns, $auth, $file = false) global() argument
421 media_save($file, $id, $ow, $auth, $move) global() argument
686 media_filelist($ns, $auth = null, $jump = '', $fullscreenview = false, $sort = false) global() argument
890 media_tab_files($ns, $auth = null, $jump = '') global() argument
910 media_tab_upload($ns, $auth = null, $jump = '') global() argument
930 media_tab_search($ns, $auth = null) global() argument
954 media_tab_view($image, $ns, $auth = null, $rev = '') global() argument
978 media_tab_edit($image, $ns, $auth = null) global() argument
996 media_tab_history($image, $ns, $auth = null) global() argument
1025 media_preview($image, $auth, $rev = '', $meta = false) global() argument
1062 media_preview_buttons($image, $auth, $rev = '') global() argument
1203 media_details($image, $auth, $rev = '', $meta = false) global() argument
1246 media_diff($image, $ns, $auth, $fromajax = false) global() argument
1274 media_file_diff($image, $l_rev, $r_rev, $ns, $auth, $fromajax) global() argument
1306 media_restore($image, $rev, $auth) global() argument
1340 media_searchlist($query, $ns, $auth = null, $fullscreen = false, $sort = 'natural') global() argument
1468 media_uploadform($ns, $auth, $fullscreen = false) global() argument
[all...]
H A Dconfutils.php365 /** @var AuthPlugin $auth */
366 global $auth;
372 (isset($conf['openregister']) && !$conf['openregister']) || !$auth instanceof AuthPlugin
373 || !$auth->canDo('addUser')
378 (isset($conf['resendpasswd']) && !$conf['resendpasswd']) || !$auth instanceof AuthPlugin
379 || !$auth->canDo('modPass')
383 if ((isset($conf['subscribers']) && !$conf['subscribers']) || !$auth instanceof AuthPlugin) {
386 if (!$auth instanceof AuthPlugin || !$auth->canDo('Profile')) {
389 if (!$auth instanceo
[all...]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingAuthtype.php16 // retrieve auth types provided by plugins
17 foreach ($plugin_controller->getList('auth') as $plugin) {
36 $auth_plugin = $plugin_controller->load('auth', $input);
41 msg('Cannot load Auth Plugin "' . $input . '"', -1);
48 msg('Cannot create Auth Plugin "' . $input . '"', -1);
52 // did we change the auth type? logout
/dokuwiki/inc/Action/
H A DRegister.php31 /** @var AuthPlugin $auth */
32 global $auth;
35 if (!$auth->canDo('addUser')) throw new ActionDisabledException();
41 if (register()) { // FIXME could be moved from auth to here
H A DResendpwd.php31 /** @var AuthPlugin $auth */
32 global $auth;
36 if (!$auth->canDo('modPass')) throw new ActionDisabledException();
59 * - validating the password reset auth token
71 /* @var AuthPlugin $auth */
72 global $auth;
100 $userinfo = $auth->getUserData($user, $requireGroups = false);
117 if (!$auth->triggerUserMod('modify', [$user, ['pass' => $pass]])) {
123 if (!$auth->triggerUserMod('modify', [$user, ['pass' => $pass]])) {
146 $user = trim($auth
[all...]
H A DProfileDelete.php29 /** @var AuthPlugin $auth */
30 global $auth;
31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
H A DProfile.php31 /** @var AuthPlugin $auth */
32 global $auth;
33 if (!$auth->canDo('Profile')) throw new ActionDisabledException();
H A DLogout.php29 /** @var AuthPlugin $auth */
30 global $auth;
31 if (!$auth->canDo('logout')) throw new ActionDisabledException();
H A DAbstractAclAction.php22 global $auth;
24 if (!$auth instanceof AuthPlugin) throw new ActionAclRequiredException();
/dokuwiki/lib/exe/
H A Ddetail.php9 global $INPUT, $IMG, $ID, $REV, $SRC, $ERROR, $AUTH;
29 $AUTH = auth_quickaclcheck($IMG); variable
30 if ($AUTH >= AUTH_READ) {
39 // no auth
H A Dmediamanager.php41 $AUTH = $INFO['perm']; // shortcut for historical reasons variable
52 if ($AUTH < AUTH_READ && !$fullscreen) {
60 $JUMPTO = media_upload($NS, $AUTH);
87 $JUMPTO = media_upload($NS, $AUTH);
93 $JUMPTO = media_metasave($IMG, $AUTH, $INPUT->arr('meta'));
97 $JUMPTO = media_metasave($IMG, $AUTH, $INPUT->arr('meta'));
103 $JUMPTO = media_restore($INPUT->str('image'), $REV, $AUTH);
110 $res = media_delete($DEL, $AUTH);
H A Dmanifest.php8 if (!defined('NOSESSION')) define('NOSESSION', true); // no session or auth required here
/dokuwiki/conf/
H A Dacl.auth.php.dist1 # acl.auth.php
10 # If your auth backend allows special char like spaces in groups
H A Dusers.auth.php.dist1 # users.auth.php
/dokuwiki/inc/Ui/
H A DUserProfile.php25 /** @var AuthPlugin $auth */
26 global $auth;
42 if ($auth->canDo('delUser') && actionOK('profile_delete')) {
77 /** @var AuthPlugin $auth */
78 global $auth;
95 if (!$auth->canDo('modName')) $attr['disabled'] = 'disabled';
104 if (!$auth->canDo('modMail')) $attr['disabled'] = 'disabled';
112 if ($auth->canDo('modPass')) {
H A DMediaDiff.php127 $auth = auth_quickaclcheck("$ns:*");
129 if ($auth < AUTH_READ || !$this->id || !$conf['mediarevisions']) return;
239 $auth = auth_quickaclcheck("$ns:*");
267 media_preview($this->id, $auth, $rev1, $rev1Meta); // $auth not used in media_preview()?
271 media_preview($this->id, $auth, $rev2, $rev2Meta);
277 media_preview_buttons($this->id, $auth, $rev1); // $auth used in media_preview_buttons()
281 media_preview_buttons($this->id, $auth, $rev2);
/dokuwiki/lib/plugins/authldap/
H A Dplugin.info.txt5 name LDAP Auth Plugin
/dokuwiki/lib/plugins/authplain/
H A Dplugin.info.txt5 name Plain Auth Plugin
/dokuwiki/inc/Remote/
H A DApiCore.php137 /** @var AuthPlugin $auth */
138 global $auth;
141 if (!$auth instanceof AuthPlugin) return 0;
145 if ($auth->canDo('external')) {
146 $ok = $auth->trustExternal($user, $pass, false);
174 global $auth;
176 if (!$auth instanceof AuthPlugin) return 0;
210 /** @var AuthPlugin $auth */
211 global $auth;
219 $userinfo = $auth
[all...]
/dokuwiki/inc/Extension/
H A DAuthPlugin.php6 * Auth Plugin Prototype
19 * Possible things an auth backend module may be able to
34 'external' => false, // does the module do external auth checking?
35 'logout' => true, // can the user logout again? (eg. not possible with HTTP auth)
173 * party cookies or Apache auth mechanisms and replaces
192 * @return bool true on successful auth,
210 $_SESSION[DOKU_COOKIE]['auth']['user'] = $user;
211 $_SESSION[DOKU_COOKIE]['auth']['pass'] = $pass;
212 $_SESSION[DOKU_COOKIE]['auth']['info'] = $USERINFO;
457 return ($_SESSION[DOKU_COOKIE]['auth']['tim
[all...]

123