Skip to content

Commit

Permalink
Add google classroom scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix committed Jan 31, 2016
1 parent 769fea1 commit 1547a0c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/OAuth/OAuth2/Service/Google.php
Original file line number Diff line number Diff line change
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 1547a0c

Please sign in to comment.