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