Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
oauth2 Directory Reference

Directories

 client
 
 discovery
 
 service
 

Files

 access_token.php
 Loads/stores oauth2 access tokens in DB for system accounts in order to use a single token across multiple sessions.
 
 api.php
 Class for loading/storing oauth2 endpoints from the DB.
 
 client.php
 Configurable oauth2 client class.
 
 endpoint.php
 Class for loading/storing oauth2 endpoints from the DB.
 
 issuer.php
 Class for loading/storing issuers from the DB.
 
 refresh_system_tokens_task.php
 A scheduled task.
 
 rest.php
 Rest API base class mapping rest api methods to endpoints with http methods, args and post body.
 
 rest_exception.php
 Rest Exception class containing error code and message.
 
 system_account.php
 
 user_field_mapping.php
 Class for loading/storing oauth2 endpoints from the DB.