Ajout intégration de l'hybridAuthentification encore en état de code brut

Pas de tests

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.
This commit is contained in:
Emmanuel ROY 2019-09-26 04:27:05 +02:00
commit 41f2c5820b
14 changed files with 355 additions and 1 deletions

View file

@ -0,0 +1,9 @@
<?php
require CONFIG_PATH . DIRECTORY_SEPARATOR . "authentification-config-example.php";
$hybridauth = new Hybridauth\Hybridauth($config);
$adapters = $hybridauth->getConnectedAdapters();
$templateData['hybridauth'] = $hybridauth;
$templateData['adapters'] = $adapters;