Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
/lib/classes/oauth2/
FolderUp one level  
Folderclient/
 
Folderdiscovery/
 
Folderservice/
 
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] [650 lines]   Class for loading/storing oauth2 endpoints from the DB.
Fileclient.php                     [source] [611 lines]   Configurable oauth2 client class.
Fileendpoint.php                   [source] [73 lines]    Class for loading/storing oauth2 endpoints from the DB.
Fileissuer.php                     [source] [271 lines]   Class for loading/storing issuers from the DB.
Filerefresh_system_tokens_task.php [source] [111 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] [116 lines]   Class for loading/storing oauth2 endpoints from the DB.