Is your feature request related to a problem? Please describe.
When setting up a course to use LTI, all API requests in tasks from plugins (code preview, user hints), services (Linter, Python Tutor, Analytics), and send submissions, needs to verify that user session is LTI. However, each API request has its own method to check if is LTI session individually. So when a new API class is added, all user session verification methods must be created for each request.
Describe the solution you'd like
We need to add a different method to check if is a LTI task for all the API requests in task view, instead of creating a new method for each request.
Is your feature request related to a problem? Please describe.
When setting up a course to use LTI, all API requests in tasks from plugins (code preview, user hints), services (Linter, Python Tutor, Analytics), and send submissions, needs to verify that user session is LTI. However, each API request has its own method to check if is LTI session individually. So when a new API class is added, all user session verification methods must be created for each request.
Describe the solution you'd like
We need to add a different method to check if is a LTI task for all the API requests in task view, instead of creating a new method for each request.