dokuwiki

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
dokuwiki [15/11/2017 - 10:18] thommiedokuwiki [05/03/2024 - 10:52] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
-====== External authentication from OC through Authpdo ======+====== dokuJClient.jar ====== 
 + 
 +https://github.com/gturri/dokujclient 
 + 
 +====== OAuth2 ====== 
 + 
 +====== External authentication from OC through AuthPDO ======
  
 [[https://www.dokuwiki.org/plugin:authpdo#configuration|https://www.dokuwiki.org/plugin:authpdo#configuration]] [[https://www.dokuwiki.org/plugin:authpdo#configuration|https://www.dokuwiki.org/plugin:authpdo#configuration]]
Zeile 13: Zeile 19:
 </code> </code>
  
-===== OC10SQL Statement to select the data of a single user =====+===== OC 9: Statement to select all groups of a single user =====
  
 <code> <code>
-SELECT oc_accounts.user_id as 'user', +SELECT oc_group_user.gid FROM oc_group_user WHERE oc_group_user.uid = 'thommie'
-oc_accounts.display_name as 'name', +
-oc_accounts.email as 'mail', +
-substr(oc_authtoken.password, 3) as 'hash' FROM oc_accounts LEFT JOIN oc_authtoken ON oc_accounts.user_id=oc_authtoken.uid +
-WHERE oc_accounts.user_id LIKE 'xxxx'+
 </code> </code>
  
-\\ +===== OC 9Statement to select all available groups =====
-OC10in PDO+
  
-SELECT "oc_accounts.user_id" as "user",\\ +<code> 
-"oc_accounts.display_name" as "name",\\ +SELECT gid FROM `oc_groups` WHERE 1 
-"oc_accounts.email" as "mail",\\ +</code> 
-"substr(oc_authtoken.password, 3)" as "hash"\\ + 
-FROM "oc_accounts" LEFT JOIN "oc_authtoken" ON "oc_accounts.user_id=oc_authtoken.uid"\\+===== OC10: PDO Statement to select the data of a single user ===== 
 + 
 +<code> 
 +SELECT "oc_accounts.user_id" as "user", 
 +"oc_accounts.display_name" as "name", 
 +"oc_accounts.email" as "mail", 
 +"substr(oc_users.password, 3)" as "hash" 
 +FROM "oc_users" LEFT JOIN "oc_users" ON "oc_accounts.user_id=oc_users.uid"
 WHERE "oc_accounts.user_id" LIKE :user WHERE "oc_accounts.user_id" LIKE :user
 +</code>
 +
 +Owncloud Code hasher: [[https://github.com/owncloud/core/blob/master/lib/private/Security/Hasher.php|https://github.com/owncloud/core/blob/master/lib/private/Security/Hasher.php]]
  
  
  • dokuwiki.1510741098.txt.gz
  • Zuletzt geändert: 05/03/2024 - 10:52
  • (Externe Bearbeitung)