1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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" => "",
);
|