Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(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.

param: array $params
return: null|string

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

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

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.

param: instance $instance
return: void

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.