Skip to content

Commit

Permalink
Merge pull request #457 from glaubinix/t/scope-google-classroom
Browse files Browse the repository at this point in the history
Add google classroom scopes
  • Loading branch information
elliotchance committed Feb 14, 2016
2 parents 8a97b77 + 1547a0c commit eeafc19
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/OAuth/OAuth2/Service/Google.php
Expand Up @@ -118,6 +118,14 @@ class Google extends AbstractService
// Android Publisher
const SCOPE_ANDROID_PUBLISHER = 'https://www.googleapis.com/auth/androidpublisher';

// Google Classroom
const SCOPE_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses';
const SCOPE_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly';
const SCOPE_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails';
const SCOPE_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos';
const SCOPE_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters';
const SCOPE_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly';

protected $accessType = 'online';

public function __construct(
Expand Down

0 comments on commit eeafc19

Please sign in to comment.