-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Service method to fetch canvas sections rosters
This commit includes a new method to fetch section rosters. It doesn't yet fetch (schedule) rosters. This are different than the other ones we have so far (course, assignments and Canvas groups in a few different ways: - We use the Canvas API instead of the LTI one. This means we have to deal with users tokens, refreshing them etc. For now we'll just attempt a token refresh if necessary. If that, or anything else fails, we'll give up. - The API doesn't provide enough information to create the users we haven't seen. This means that section rosters only help us to organize existing users into existing sections. We fetch sections on every launch so discovering sections shouldn't be a concern. Not being able to discover new users means that we'd need the course/section roster to begin with. This limits canvas sections also to LTI1.3.
- Loading branch information
Showing
5 changed files
with
469 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.