Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.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] [655 lines]   Class for loading/storing oauth2 endpoints from the DB.
Fileclient.php                     [source] [590 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] [90 lines]    Class for loading/storing oauth2 endpoints from the DB.