|
Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Namespaces | |
| namespace | moodle\mod\lti |
| | |
Functions | |
| moodle\mod\lti::get_oauth_key_from_headers ($typeid=null, $scopes=null) | |
| moodle\mod\lti::handle_oauth_body_post ($oauthconsumerkey, $oauthconsumersecret, $body, $requestheaders=null) | |
| int | $typeid | LTI type ID. |
| string[] | $scopes | Array of scopes which give permission for the current request. |
| string|int|boolean | The OAuth consumer key, the LTI type ID for the validated bearer token, true for requests not requiring a scope, otherwise false. |