summaryrefslogtreecommitdiffstats
path: root/includes/HybridAuth/resources/config.php.tpl
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-06-01 20:10:36 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2013-06-01 20:10:36 -0500
commit951330c9f83c8c8ee98f65fdccb5797e2e59d1f3 (patch)
treefc7b196ca0d91c1c71dcd945aa9667c7af0134fa /includes/HybridAuth/resources/config.php.tpl
parente58a3b8b3702b22c903b02a9b4fa1020d6797459 (diff)
downloadpathery-951330c9f83c8c8ee98f65fdccb5797e2e59d1f3.tar.xz
A partial commit of the auth stuff, in case my upcoming changes break anything
Diffstat (limited to 'includes/HybridAuth/resources/config.php.tpl')
-rw-r--r--includes/HybridAuth/resources/config.php.tpl72
1 files changed, 72 insertions, 0 deletions
diff --git a/includes/HybridAuth/resources/config.php.tpl b/includes/HybridAuth/resources/config.php.tpl
new file mode 100644
index 0000000..a718c1f
--- /dev/null
+++ b/includes/HybridAuth/resources/config.php.tpl
@@ -0,0 +1,72 @@
+<?php
+/*!
+* HybridAuth
+* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
+* (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
+*/
+
+// ----------------------------------------------------------------------------------------
+// HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html
+// ----------------------------------------------------------------------------------------
+
+return
+ array(
+ "base_url" => "#GLOBAL_HYBRID_AUTH_URL_BASE#",
+
+ "providers" => array (
+ // openid providers
+ "OpenID" => array (
+ "enabled" => #OPENID_ADAPTER_STATUS#
+ ),
+
+ "AOL" => array (
+ "enabled" => #AOL_ADAPTER_STATUS#
+ ),
+
+ "Yahoo" => array (
+ "enabled" => #YAHOO_ADAPTER_STATUS#,
+ "keys" => array ( "id" => "#YAHOO_APPLICATION_APP_ID#", "secret" => "#YAHOO_APPLICATION_SECRET#" )
+ ),
+
+ "Google" => array (
+ "enabled" => #GOOGLE_ADAPTER_STATUS#,
+ "keys" => array ( "id" => "#GOOGLE_APPLICATION_APP_ID#", "secret" => "#GOOGLE_APPLICATION_SECRET#" )
+ ),
+
+ "Facebook" => array (
+ "enabled" => #FACEBOOK_ADAPTER_STATUS#,
+ "keys" => array ( "id" => "#FACEBOOK_APPLICATION_APP_ID#", "secret" => "#FACEBOOK_APPLICATION_SECRET#" )
+ ),
+
+ "Twitter" => array (
+ "enabled" => #TWITTER_ADAPTER_STATUS#,
+ "keys" => array ( "key" => "#TWITTER_APPLICATION_KEY#", "secret" => "#TWITTER_APPLICATION_SECRET#" )
+ ),
+
+ // windows live
+ "Live" => array (
+ "enabled" => #LIVE_ADAPTER_STATUS#,
+ "keys" => array ( "id" => "#LIVE_APPLICATION_APP_ID#", "secret" => "#LIVE_APPLICATION_SECRET#" )
+ ),
+
+ "MySpace" => array (
+ "enabled" => #MYSPACE_ADAPTER_STATUS#,
+ "keys" => array ( "key" => "#MYSPACE_APPLICATION_KEY#", "secret" => "#MYSPACE_APPLICATION_SECRET#" )
+ ),
+
+ "LinkedIn" => array (
+ "enabled" => #LINKEDIN_ADAPTER_STATUS#,
+ "keys" => array ( "key" => "#LINKEDIN_APPLICATION_KEY#", "secret" => "#LINKEDIN_APPLICATION_SECRET#" )
+ ),
+
+ "Foursquare" => array (
+ "enabled" => #FOURSQUARE_ADAPTER_STATUS#,
+ "keys" => array ( "id" => "#FOURSQUARE_APPLICATION_APP_ID#", "secret" => "#FOURSQUARE_APPLICATION_SECRET#" )
+ ),
+ ),
+
+ // if you want to enable logging, set 'debug_mode' to true then provide a writable file by the web server on "debug_file"
+ "debug_mode" => false,
+
+ "debug_file" => ""
+ );