Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

File Size: 193 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: broker  - X-Ref

The broker routines

validate_parameters(array $params)   X-Ref
Validate the supplied list of parameters, providing feedback about any missing or incorrect values.

return: null|string
param: array $params

validate_parameters_message(array $params, array $requiredparams)   X-Ref
Check whether the specified parameter is valid.

return: null|string
param: array $params
param: array $requiredparams

process_recording_ready(instance $instance, array $params)   X-Ref
Helper for responding when recording ready is performed.

param: instance $instance
param: array $params

process_meeting_events(instance $instance)   X-Ref
Process meeting events for instance with provided HTTP headers.

return: void
param: instance $instance

get_authorization_token()   X-Ref
Get authorisation token

We could use getallheaders but this is only compatible with apache types of servers
some explanations and examples here: https://www.php.net/manual/en/function.getallheaders.php#127190

return: array|null an array composed of the Authorization token provided in the header.