source: extensions/oAuth/include/test/hybridauth/Hybrid/resources/config.php.tpl @ 20293

Last change on this file since 20293 was 20293, checked in by mistic100, 11 years ago

first commit of oAuth plugin, still in developpement

File size: 2.4 KB
RevLine 
[20293]1<?php
2/*!
3* HybridAuth
4* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
5* (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
6*/
7
8// ----------------------------------------------------------------------------------------
9//      HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html
10// ----------------------------------------------------------------------------------------
11
12return
13        array(
14                "base_url" => "#GLOBAL_HYBRID_AUTH_URL_BASE#",
15
16                "providers" => array (
17                        // openid providers
18                        "OpenID" => array (
19                                "enabled" => #OPENID_ADAPTER_STATUS#
20                        ),
21
22                        "AOL"  => array (
23                                "enabled" => #AOL_ADAPTER_STATUS#
24                        ),
25
26                        "Yahoo" => array (
27                                "enabled" => #YAHOO_ADAPTER_STATUS#,
28                                "keys"    => array ( "id" => "#YAHOO_APPLICATION_APP_ID#", "secret" => "#YAHOO_APPLICATION_SECRET#" )
29                        ),
30
31                        "Google" => array (
32                                "enabled" => #GOOGLE_ADAPTER_STATUS#,
33                                "keys"    => array ( "id" => "#GOOGLE_APPLICATION_APP_ID#", "secret" => "#GOOGLE_APPLICATION_SECRET#" )
34                        ),
35
36                        "Facebook" => array (
37                                "enabled" => #FACEBOOK_ADAPTER_STATUS#,
38                                "keys"    => array ( "id" => "#FACEBOOK_APPLICATION_APP_ID#", "secret" => "#FACEBOOK_APPLICATION_SECRET#" )
39                        ),
40
41                        "Twitter" => array (
42                                "enabled" => #TWITTER_ADAPTER_STATUS#,
43                                "keys"    => array ( "key" => "#TWITTER_APPLICATION_KEY#", "secret" => "#TWITTER_APPLICATION_SECRET#" )
44                        ),
45
46                        // windows live
47                        "Live" => array (
48                                "enabled" => #LIVE_ADAPTER_STATUS#,
49                                "keys"    => array ( "id" => "#LIVE_APPLICATION_APP_ID#", "secret" => "#LIVE_APPLICATION_SECRET#" )
50                        ),
51
52                        "MySpace" => array (
53                                "enabled" => #MYSPACE_ADAPTER_STATUS#,
54                                "keys"    => array ( "key" => "#MYSPACE_APPLICATION_KEY#", "secret" => "#MYSPACE_APPLICATION_SECRET#" )
55                        ),
56
57                        "LinkedIn" => array (
58                                "enabled" => #LINKEDIN_ADAPTER_STATUS#,
59                                "keys"    => array ( "key" => "#LINKEDIN_APPLICATION_KEY#", "secret" => "#LINKEDIN_APPLICATION_SECRET#" )
60                        ),
61
62                        "Foursquare" => array (
63                                "enabled" => #FOURSQUARE_ADAPTER_STATUS#,
64                                "keys"    => array ( "id" => "#FOURSQUARE_APPLICATION_APP_ID#", "secret" => "#FOURSQUARE_APPLICATION_SECRET#" )
65                        ),
66                ),
67
68                // if you want to enable logging, set 'debug_mode' to true  then provide a writable file by the web server on "debug_file"
69                "debug_mode" => false,
70
71                "debug_file" => ""
72        );
Note: See TracBrowser for help on using the repository browser.