Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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' |
Packback\Lti1p3\LtiServiceConnector::getAccessToken | ( | ILtiRegistration | $registration, |
array | $scopes ) |
Implements Packback\Lti1p3\Interfaces\ILtiServiceConnector.
Packback\Lti1p3\LtiServiceConnector::getAll | ( | ILtiRegistration | $registration, |
array | $scopes, | ||
IServiceRequest | $request, | ||
?string | $key = null ) |
Implements Packback\Lti1p3\Interfaces\ILtiServiceConnector.
Packback\Lti1p3\LtiServiceConnector::getResponseBody | ( | ResponseInterface | $response | ) |
Implements Packback\Lti1p3\Interfaces\ILtiServiceConnector.
Packback\Lti1p3\LtiServiceConnector::getResponseHeaders | ( | ResponseInterface | $response | ) |
Implements Packback\Lti1p3\Interfaces\ILtiServiceConnector.
Packback\Lti1p3\LtiServiceConnector::makeRequest | ( | IServiceRequest | $request | ) |
Implements Packback\Lti1p3\Interfaces\ILtiServiceConnector.
Packback\Lti1p3\LtiServiceConnector::makeServiceRequest | ( | ILtiRegistration | $registration, |
array | $scopes, | ||
IServiceRequest | $request, | ||
bool | $shouldRetry = true ) |
Implements Packback\Lti1p3\Interfaces\ILtiServiceConnector.
Packback\Lti1p3\LtiServiceConnector::setDebuggingMode | ( | bool | $enable | ) |
Implements Packback\Lti1p3\Interfaces\ILtiServiceConnector.