Differences Between: [Versions 402 and 403]
(no description)
File Size: | 147 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
moodlenet_auth_check:: (4 methods):
execute_parameters()
execute()
execute_returns()
return_errors()
Class: moodlenet_auth_check - X-Ref
The external API to check whether a user has authorized for a given MoodleNet OAuth 2 issuer.execute_parameters() X-Ref |
Returns description of parameters. return: external_function_parameters |
execute(int $issuerid, int $courseid) X-Ref |
External function to check if the user is already authorized with MoodleNet. param: int $issuerid Issuer Id. param: int $courseid The course ID that contains the activity which being shared return: array |
execute_returns() X-Ref |
Describes the data returned from the external function. return: external_single_structure |
return_errors(int $itemid, string $warningcode, string $message) X-Ref |
Handle return error. param: int $itemid Item id param: string $warningcode Warning code param: string $message Message return: array |