Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
dokuwiki [15/11/2017 - 10:17] – thommie | dokuwiki [17/08/2024 - 07:06] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== External authentication from OC through | + | ====== dokuJClient.jar ====== |
+ | |||
+ | https:// | ||
+ | |||
+ | ====== OAuth2 ====== | ||
+ | |||
+ | ====== External authentication from OC through | ||
[[https:// | [[https:// | ||
- | OC9: SQL Statement to select the data of a single user | + | ===== OC9: SQL Statement to select the data of a single user ===== |
< | < | ||
Zeile 13: | Zeile 19: | ||
</ | </ | ||
- | ==== OC10: SQL Statement to select | + | ===== OC 9: Statement to select |
< | < | ||
- | SELECT | + | SELECT |
- | oc_accounts.display_name as ' | + | |
- | oc_accounts.email as ' | + | |
- | substr(oc_authtoken.password, | + | |
- | WHERE oc_accounts.user_id LIKE 'xxxx' | + | |
</ | </ | ||
- | \\ | + | ===== OC 9: Statement to select all available groups ===== |
- | OC10: in PDO | + | |
- | SELECT " | + | < |
- | " | + | SELECT gid FROM `oc_groups` WHERE 1 |
- | " | + | </ |
- | " | + | |
- | FROM "oc_accounts" LEFT JOIN "oc_authtoken" ON " | + | ===== OC10: PDO Statement to select the data of a single user ===== |
+ | |||
+ | < | ||
+ | SELECT " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | FROM "oc_users" LEFT JOIN "oc_users" ON " | ||
WHERE " | WHERE " | ||
+ | </ | ||
+ | |||
+ | Owncloud Code hasher: [[https:// | ||