TODO: aller chercher les token et les id des authentifcation pour google, github, facebook, twitter ... Reste a tester et à décider pour les autres types d'authentification.
Emmanuel ROY authored on 26/09/2019 04:27:051 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,9 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+require CONFIG_PATH . DIRECTORY_SEPARATOR . "authentification-config-example.php"; |
|
4 |
+ |
|
5 |
+$hybridauth = new Hybridauth\Hybridauth($config); |
|
6 |
+$adapters = $hybridauth->getConnectedAdapters(); |
|
7 |
+ |
|
8 |
+$templateData['hybridauth'] = $hybridauth; |
|
9 |
+$templateData['adapters'] = $adapters; |
|
0 | 10 |
\ No newline at end of file |