Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
core\external\moodlenet_auth_check Class Reference
Inheritance diagram for core\external\moodlenet_auth_check:

Static Public Member Functions

static execute (int $issuerid, int $courseid)
 External function to check if the user is already authorized with MoodleNet.
 
static execute_parameters ()
 Returns description of parameters.
 
static execute_returns ()
 Describes the data returned from the external function.
 

Static Protected Member Functions

static return_errors (int $itemid, string $warningcode, string $message)
 Handle return error.
 

Member Function Documentation

◆ execute()

static core\external\moodlenet_auth_check::execute ( int $issuerid,
int $courseid )
static

External function to check if the user is already authorized with MoodleNet.

Parameters
int$issueridIssuer Id.
int$courseidThe course ID that contains the activity which being shared
Return values
array
Since
Moodle 4.2

◆ execute_parameters()

static core\external\moodlenet_auth_check::execute_parameters ( )
static

Returns description of parameters.

Return values
external_function_parameters
Since
Moodle 4.2

◆ execute_returns()

static core\external\moodlenet_auth_check::execute_returns ( )
static

Describes the data returned from the external function.

Return values
external_single_structure
Since
Moodle 4.2

◆ return_errors()

static core\external\moodlenet_auth_check::return_errors ( int $itemid,
string $warningcode,
string $message )
staticprotected

Handle return error.

Parameters
int$itemidItem id
string$warningcodeWarning code
string$messageMessage
Return values
array

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