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
Letzte ÜberarbeitungBeide Seiten der Revision
dokuwiki [15/11/2017 - 15:58] – [OC10: in PDO] administratordokuwiki [17/01/2018 - 11:57] admin
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 18: Zeile 24:
 SELECT oc_group_user.gid FROM oc_group_user WHERE oc_group_user.uid = 'thommie' SELECT oc_group_user.gid FROM oc_group_user WHERE oc_group_user.uid = 'thommie'
 </code> </code>
- 
  
 ===== OC 9: Statement to select all available groups ===== ===== OC 9: Statement to select all available groups =====
Zeile 26: Zeile 31:
 </code> </code>
  
-===== OC10: SQL Statement to select the data of a single user ===== +===== 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_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> +
- +
-===== OC10: in PDO =====+
  
 <code> <code>
  • dokuwiki.txt
  • Zuletzt geändert: 05/03/2024 - 10:52
  • von 127.0.0.1