SAND-framework/application/include/controlleurs/authentification.php
Emmanuel ROY 41f2c5820b 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.
2019-09-26 04:27:05 +02:00

9 lines
272 B
PHP

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