Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
/lib/classes/oauth2/
FolderUp one level  
Folderclient/
 
Fileaccess_token.php               [source] [71 lines]    Loads/stores oauth2 access tokens in DB for system accounts in order to use a single token across multiple sessions.
Fileapi.php                        [source] [1022 lines]  Class for loading/storing oauth2 endpoints from the DB.
Fileclient.php                     [source] [579 lines]   Configurable oauth2 client class.
Fileendpoint.php                   [source] [73 lines]    Class for loading/storing oauth2 endpoints from the DB.
Fileissuer.php                     [source] [229 lines]   Class for loading/storing issuers from the DB.
Filerefresh_system_tokens_task.php [source] [104 lines]   A scheduled task.
Filerest.php                       [source] [134 lines]   Rest API base class mapping rest api methods to endpoints with http methods, args and post body.
Filerest_exception.php             [source] [40 lines]    Rest Exception class containing error code and message.
Filesystem_account.php             [source] [64 lines]    When using OAuth sometimes it makes sense to authenticate as a system user, and not the current user.
Fileuser_field_mapping.php         [source] [90 lines]    Class for loading/storing oauth2 endpoints from the DB.