Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: