PluginProbe
ManageWP Worker / 3.9.28
ManageWP Worker v3.9.28
4.9.38 4.9.37 4.9.36 4.9.35 4.9.34 3.8.7 3.8.8 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.18 3.9.19 3.9.2 3.9.20 3.9.21 3.9.22 3.9.23 3.9.24 All 73 releases
worker / lib / google-api-client / config.php

config.php in ManageWP Worker 3.9.28, at lib/google-api-client/config.php

84 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18 global $apiConfig;
19 $apiConfig = array(
20 // True if objects should be returned by the service classes.
21 // False if associative arrays should be returned (default behavior).
22 'use_objects' => false,
23
24 // The application_name is included in the User-Agent HTTP header.
25
26 'application_name' => '',
27
28 // OAuth2 Settings, you can get these keys at https://code.google.com/apis/console
29 'oauth2_client_id' => '',
30 'oauth2_client_secret' => '',
31 'oauth2_redirect_uri' => '',
32
33 // The developer key, you get this at https://code.google.com/apis/console
34 'developer_key' => '',
35
36 // Site name to show in the Google's OAuth 1 authentication screen.
37 'site_name' => 'www.example.org',
38
39 // Which Authentication, Storage and HTTP IO classes to use.
40 'authClass' => 'Google_OAuth2',
41 'ioClass' => 'Google_CurlIO',
42 'cacheClass' => 'Google_FileCache',
43
44 // Don't change these unless you're working against a special development or testing environment.
45 'basePath' => 'https://www.googleapis.com',
46
47 // IO Class dependent configuration, you only have to configure the values
48 // for the class that was configured as the ioClass above
49 'ioFileCache_directory' =>
50 (function_exists('sys_get_temp_dir') ?
51 sys_get_temp_dir() . '/Google_Client' :
52 '/tmp/Google_Client'),
53
54 // Definition of service specific values like scopes, oauth token URLs, etc
55 'services' => array(
56 'analytics' => array('scope' => 'https://www.googleapis.com/auth/analytics.readonly'),
57 'calendar' => array(
58 'scope' => array(
59 "https://www.googleapis.com/auth/calendar",
60 "https://www.googleapis.com/auth/calendar.readonly",
61 )
62 ),
63 'books' => array('scope' => 'https://www.googleapis.com/auth/books'),
64 'latitude' => array(
65 'scope' => array(
66 'https://www.googleapis.com/auth/latitude.all.best',
67 'https://www.googleapis.com/auth/latitude.all.city',
68 )
69 ),
70 'moderator' => array('scope' => 'https://www.googleapis.com/auth/moderator'),
71 'oauth2' => array(
72 'scope' => array(
73 'https://www.googleapis.com/auth/userinfo.profile',
74 'https://www.googleapis.com/auth/userinfo.email',
75 )
76 ),
77 'plus' => array('scope' => 'https://www.googleapis.com/auth/plus.me'),
78 'siteVerification' => array('scope' => 'https://www.googleapis.com/auth/siteverification'),
79 'tasks' => array('scope' => 'https://www.googleapis.com/auth/tasks'),
80 'urlshortener' => array('scope' => 'https://www.googleapis.com/auth/urlshortener')
81 )
82
83 );
84