Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.
/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] [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.