Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Packback\Lti1p3\ServiceRequest Class Reference
Inheritance diagram for Packback\Lti1p3\ServiceRequest:
Packback\Lti1p3\Interfaces\IServiceRequest

Public Member Functions

 __construct (string $method, string $url, $type=self::UNSUPPORTED)
 
 getErrorPrefix ()
 
 getMethod ()
 
 getPayload ()
 
 getUrl ()
 
 setAccept (string $accept)
 
 setAccessToken (string $accessToken)
 
 setBody (string $body)
 
 setContentType (string $contentType)
 
 setPayload (array $payload)
 
 setUrl (string $url)
 

Public Attributes

const METHOD_DELETE = 'DELETE'
 
const METHOD_GET = 'GET'
 
const METHOD_POST = 'POST'
 
const METHOD_PUT = 'PUT'
 
const TYPE_AUTH = 'auth'
 
const TYPE_CREATE_LINEITEM = 'create_lineitem'
 
const TYPE_DELETE_LINEITEM = 'delete_lineitem'
 
const TYPE_GET_GRADES = 'get_grades'
 
const TYPE_GET_GROUPS = 'get_groups'
 
const TYPE_GET_KEYSET = 'get_keyset'
 
const TYPE_GET_LINEITEM = 'get_lineitem'
 
const TYPE_GET_LINEITEMS = 'get_lineitems'
 
const TYPE_GET_MEMBERSHIPS = 'get_memberships'
 
const TYPE_GET_SETS = 'get_sets'
 
const TYPE_SYNC_GRADE = 'sync_grades'
 
const TYPE_UNSUPPORTED = 'unsupported'
 
const TYPE_UPDATE_LINEITEM = 'update_lineitem'
 

Member Function Documentation

◆ getErrorPrefix()

Packback\Lti1p3\ServiceRequest::getErrorPrefix ( )

◆ getMethod()

Packback\Lti1p3\ServiceRequest::getMethod ( )

◆ getPayload()

Packback\Lti1p3\ServiceRequest::getPayload ( )

◆ getUrl()

Packback\Lti1p3\ServiceRequest::getUrl ( )

◆ setAccept()

Packback\Lti1p3\ServiceRequest::setAccept ( string $accept)

◆ setAccessToken()

Packback\Lti1p3\ServiceRequest::setAccessToken ( string $accessToken)

◆ setBody()

Packback\Lti1p3\ServiceRequest::setBody ( string $body)

◆ setContentType()

Packback\Lti1p3\ServiceRequest::setContentType ( string $contentType)

◆ setUrl()

Packback\Lti1p3\ServiceRequest::setUrl ( string $url)

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