Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]

(no description)

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

Defines 1 class

LtiServiceConnector:: (11 methods):
  __construct()
  setDebuggingMode()
  getAccessToken()
  makeRequest()
  getResponseHeaders()
  getResponseBody()
  makeServiceRequest()
  getAll()
  logRequest()
  getAccessTokenCacheKey()
  getNextUrl()


Class: LtiServiceConnector  - X-Ref

__construct(ICache $cache,Client $client)   X-Ref
No description

setDebuggingMode(bool $enable)   X-Ref
No description

getAccessToken(ILtiRegistration $registration, array $scopes)   X-Ref
No description

makeRequest(IServiceRequest $request)   X-Ref
No description

getResponseHeaders(Response $response)   X-Ref
No description

getResponseBody(Response $response)   X-Ref
No description

makeServiceRequest(ILtiRegistration $registration,array $scopes,IServiceRequest $request,bool $shouldRetry = true)   X-Ref
No description

getAll(ILtiRegistration $registration,array $scopes,IServiceRequest $request,string $key = null)   X-Ref
No description

logRequest(IServiceRequest $request,array $responseHeaders,?array $responseBody)   X-Ref
No description

getAccessTokenCacheKey(ILtiRegistration $registration, array $scopes)   X-Ref
No description

getNextUrl(array $headers)   X-Ref
No description