Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Namespaces | |
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. |