Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Packback\Lti1p3\LtiServiceConnector Class Reference
Inheritance diagram for Packback\Lti1p3\LtiServiceConnector:
Packback\Lti1p3\Interfaces\ILtiServiceConnector

Public Member Functions

 __construct (private ICache $cache, private Client $client)
 
 getAccessToken (ILtiRegistration $registration, array $scopes)
 
 getAll (ILtiRegistration $registration, array $scopes, IServiceRequest $request, ?string $key=null)
 
 getResponseBody (ResponseInterface $response)
 
 getResponseHeaders (ResponseInterface $response)
 
 makeRequest (IServiceRequest $request)
 
 makeServiceRequest (ILtiRegistration $registration, array $scopes, IServiceRequest $request, bool $shouldRetry=true)
 
 setDebuggingMode (bool $enable)
 

Static Public Member Functions

static getLogMessage (IServiceRequest $request, array $responseHeaders, ?array $responseBody)
 

Public Attributes

const NEXT_PAGE_REGEX = '/<([^>]*)>; ?rel="next"/i'
 

Member Function Documentation

◆ getAccessToken()

Packback\Lti1p3\LtiServiceConnector::getAccessToken ( ILtiRegistration $registration,
array $scopes )

◆ getAll()

Packback\Lti1p3\LtiServiceConnector::getAll ( ILtiRegistration $registration,
array $scopes,
IServiceRequest $request,
?string $key = null )

◆ getResponseBody()

Packback\Lti1p3\LtiServiceConnector::getResponseBody ( ResponseInterface $response)

◆ getResponseHeaders()

Packback\Lti1p3\LtiServiceConnector::getResponseHeaders ( ResponseInterface $response)

◆ makeRequest()

Packback\Lti1p3\LtiServiceConnector::makeRequest ( IServiceRequest $request)

◆ makeServiceRequest()

Packback\Lti1p3\LtiServiceConnector::makeServiceRequest ( ILtiRegistration $registration,
array $scopes,
IServiceRequest $request,
bool $shouldRetry = true )

◆ setDebuggingMode()

Packback\Lti1p3\LtiServiceConnector::setDebuggingMode ( bool $enable)

The documentation for this class was generated from the following file: