Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core\oauth2 Namespace Reference

Loads/stores oauth2 access tokens in DB for system accounts in order to use a single token across multiple sessions. More...

Namespaces

namespace  client
  
 
namespace  discovery
  
 
namespace  service
  
 

Classes

class  access_token
 Loads/stores oauth2 access tokens in DB for system accounts in order to use a single token across multiple sessions. More...
 
class  api
 Static list of api methods for system oauth2 configuration. More...
 
class  client
 Configurable oauth2 client class. More...
 
class  endpoint
 Class for loading/storing oauth2 endpoints from the DB. More...
 
class  issuer
 Class for loading/storing issuer from the DB. More...
 
class  refresh_system_tokens_task
 Task to refresh system tokens regularly. More...
 
class  rest
 Rest API base class mapping rest api methods to endpoints with http methods, args and post body. More...
 
class  rest_exception
 Rest Exception class containing error code and message. More...
 
class  system_account
 Class for loading/storing oauth2 refresh tokens from the DB. More...
 
class  user_field_mapping
 Class for loading/storing oauth2 user field mappings from the DB. More...
 

Detailed Description

Loads/stores oauth2 access tokens in DB for system accounts in order to use a single token across multiple sessions.

When using OAuth sometimes it makes sense to authenticate as a system user, and not the current user.

Rest Exception class containing error code and message.

Rest API base class mapping rest api methods to endpoints with http methods, args and post body.

A scheduled task.

Class for loading/storing issuers from the DB.

Configurable oauth2 client class.

Class for loading/storing oauth2 endpoints from the DB.

 

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later