Common classes and methods for PyLTI module
Custom LTI exception for proper handling of LTI specific errors
Custom LTI exception for proper handling of LTI specific errors
Largely taken from reference implementation for app engine at https://code.google.com/p/ims-dev/
Search through keys
Search through keys
Lookup nonce should check if nonce was already used by this consumer in the past. Reusing nonce is bad: http://cwe.mitre.org/data/definitions/323.html Not implemented.
Exception class for when LTI user doesn’t have the right role.
Exception class for when LTI user doesn’t have the right role.
Generates LTI 1.1 XML for posting result to LTI consumer.
Parameters: |
|
---|---|
Returns: | XML string |
Posts a signed message to LTI consumer
Parameters: |
|
---|---|
Returns: | success |
Posts a signed message to LTI consumer using LTI 2.0 format
Param: | consumers: consumers from config |
---|---|
Param: | lti_key: key to find appropriate consumer |
Param: | url: post url |
Param: | body: xml body |
Returns: | success |
Verifies that request is valid
Parameters: |
|
---|---|
Returns: | is request valid |