Merged in marcoAntonioNina/processmaker/GI-165-A (pull request #3459)

Change scopes to constants
This commit is contained in:
Dante Loayza
2016-01-06 11:18:47 -04:00
2 changed files with 81 additions and 73 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -17,6 +17,7 @@ class PMGoogleApi
const DRIVE_METADATA_READONLY = 'https://www.googleapis.com/auth/drive.metadata.readonly';
const DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata';
const DRIVE_PHOTOS_READONLY = 'https://www.googleapis.com/auth/drive.photos.readonly';
const GMAIL_MODIFY = 'https://www.googleapis.com/auth/gmail.modify';
private $scope = array();
private $serviceAccountEmail;