Change scopes to constants

This commit is contained in:
Marco A. Nina Mena
2016-01-06 11:07:56 -04:00
parent a1466cb664
commit fd5f21547c
2 changed files with 81 additions and 73 deletions

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;