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.

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

(no description)

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

Defines 1 class

LtiServiceConnector:: (9 methods):
  __construct()
  setDebuggingMode()
  getAccessToken()
  makeRequest()
  getResponseBody()
  makeServiceRequest()
  getAll()
  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

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

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

getNextUrl(array $headers)   X-Ref
No description