diff options
Diffstat (limited to 'includes/HybridAuth/HybridAuthConfig.php')
-rw-r--r-- | includes/HybridAuth/HybridAuthConfig.php | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/includes/HybridAuth/HybridAuthConfig.php b/includes/HybridAuth/HybridAuthConfig.php new file mode 100644 index 0000000..4c2891e --- /dev/null +++ b/includes/HybridAuth/HybridAuthConfig.php @@ -0,0 +1,76 @@ +<?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 +// ---------------------------------------------------------------------------------------- + +require_once("includes/db.inc.php"); + +global $mydomain; + +return + array( + "base_url" => $mydomain . "HybridAuth/", + + "providers" => array ( +// "OpenID" => array ( // openid providers +// "enabled" => true +// ), +// +// "Yahoo" => array ( +// "enabled" => true, +// "keys" => array ( "id" => "", "secret" => "" ), +// ), +// +// "AOL" => array ( +// "enabled" => true +// ), +// +// "Google" => array ( +// "enabled" => true, +// "keys" => array ( "id" => "", "secret" => "" ), +// ), + + "Facebook" => array ( + "enabled" => true, + "keys" => array ( "id" => "214763445314363", "secret" => "dac195528d640599f8ddf6da7dd070e3" ), + "scope" => "email" + ), + + "Twitter" => array ( + "enabled" => true, + "keys" => array ( "key" => "8Y7PY1dk7Mz8VpZWQSTzQ", "secret" => "MUv2qCQVysxqddue5TWhvJDLL0y0v1VMWXDhJtwEps" ) + ), + + "Live" => array ( // windows live + "enabled" => true, + "keys" => array ( "id" => "000000004C0F37BA", "secret" => "uWkmL1nmkmi71qFinxaXLKNzOZW6o1u0" ), + "scope" => "wl.basic wl.emails wl.contacts_emails" + ), + +// "MySpace" => array ( +// "enabled" => true, +// "keys" => array ( "key" => "", "secret" => "" ) +// ), +// +// "LinkedIn" => array ( +// "enabled" => true, +// "keys" => array ( "key" => "", "secret" => "" ) +// ), +// +// "Foursquare" => array ( +// "enabled" => true, +// "keys" => array ( "id" => "", "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" => "", + ); |