[Fusionforge-commits] r12863 - in trunk/src/plugins: . authopenid authopenid/include

Olivier Berger olberger at fusionforge.org
Mon Mar 21 14:48:23 CET 2011


Author: olberger
Date: 2011-03-21 14:48:22 +0100 (Mon, 21 Mar 2011)
New Revision: 12863

Added:
   trunk/src/plugins/authopenid/
   trunk/src/plugins/authopenid/NAME
   trunk/src/plugins/authopenid/README
   trunk/src/plugins/authopenid/include/
   trunk/src/plugins/authopenid/include/authopenid-init.php
Log:
Adding early draft for Auth OpenID plugin

Added: trunk/src/plugins/authopenid/NAME
===================================================================
--- trunk/src/plugins/authopenid/NAME	                        (rev 0)
+++ trunk/src/plugins/authopenid/NAME	2011-03-21 13:48:22 UTC (rev 12863)
@@ -0,0 +1 @@
+Authentication via OpenID

Added: trunk/src/plugins/authopenid/README
===================================================================
--- trunk/src/plugins/authopenid/README	                        (rev 0)
+++ trunk/src/plugins/authopenid/README	2011-03-21 13:48:22 UTC (rev 12863)
@@ -0,0 +1,10 @@
+fusionforge-plugin-authopenid
+-----------------------------
+
+This is meant to be the external OpenID authentication plugin for FusionForge.
+
+-- Olivier Berger
+
+Local Variables:
+mode: readme-debian
+End:

Added: trunk/src/plugins/authopenid/include/authopenid-init.php
===================================================================
--- trunk/src/plugins/authopenid/include/authopenid-init.php	                        (rev 0)
+++ trunk/src/plugins/authopenid/include/authopenid-init.php	2011-03-21 13:48:22 UTC (rev 12863)
@@ -0,0 +1,38 @@
+<?php
+
+/** External authentication via OpenID for FusionForge
+ *
+ * Copyright 2011, Olivier Berger & Institut Telecom
+ *
+ * This program was developped in the frame of the COCLICO project
+ * (http://www.coclico-project.org/) with financial support of the Paris
+ * Region council.
+ *
+ * This plugin, like FusionForge, is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  US
+ */
+
+global $gfplugins;
+require_once $gfplugins.'authcas/include/AuthOpenIDPlugin.class.php' ;
+
+$AuthOpenIDPluginObject = new AuthOpenIDPlugin ;
+
+register_plugin ($AuthOpenIDPluginObject) ;
+
+// Local Variables:
+// mode: php
+// c-file-style: "bsd"
+// End:
+
+?>




More information about the Fusionforge-commits mailing list