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:
parent
10a3060432
commit
41f2c5820b
14 changed files with 355 additions and 1 deletions
9
application/include/controlleurs/authentification.php
Normal file
9
application/include/controlleurs/authentification.php
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue