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.

Differences Between: [Versions 400 and 401] [Versions 401 and 402] [Versions 401 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,IHttpClient $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(IHttpResponse $response)   X-Ref
No description

getResponseBody(IHttpResponse $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