Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Packback\Lti1p3\LtiServiceConnector Class Reference
Inheritance diagram for Packback\Lti1p3\LtiServiceConnector:
Packback\Lti1p3\Interfaces\ILtiServiceConnector

Public Member Functions

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

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 ( Response $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: