This file contains the OAuth 1.0a implementation used for support for LTI 1.1.
More...
|
| get_oauth_key_from_headers ($typeid=null, $scopes=null) |
|
| handle_oauth_body_post ($oauthconsumerkey, $oauthconsumersecret, $body, $requestheaders=null) |
|
|
| $lastcomputedsignature = false |
|
This file contains the OAuth 1.0a implementation used for support for LTI 1.1.
This file contains a Trivial memory-based store - no support for tokens.
- Copyright
- moodle
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Copyright
- IMS Global Learning Consortium
- Author
- Charles Severance csev@.nosp@m.umic.nosp@m.h.edu
- License
- http://www.apache.org/licenses/LICENSE-2.0
◆ get_oauth_key_from_headers()
moodle\mod\lti\get_oauth_key_from_headers |
( |
| $typeid = null, |
|
|
| $scopes = null ) |
- Parameters
-
int | $typeid | LTI type ID. |
string[] | $scopes | Array of scopes which give permission for the current request. |
- Return values
-
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. |