| Moodle APIs
    3.8
    Moodle 3.8.6 (Build: 20201109) | 
| Files | |
| file | access.php | 
| Capability definitions for this plugin. | |
| file | api.php | 
| Class for loading/storing oauth2 linked logins from the DB. | |
| file | auth.php | 
| Anobody can login with any password. | |
| file | auth.php | 
| Open ID authentication. | |
| file | events.php | 
| This file definies observers needed by the plugin. | |
| file | lib.php | 
| Callbacks for auth_oauth2. | |
| file | linked_login.php | 
| Class for loading/storing issuers from the DB. | |
| file | provider.php | 
| Privacy class for requesting user data for auth_oauth2. | |
| file | renderer.php | 
| Output rendering for the plugin. | |
| file | settings.php | 
| Admin settings and defaults. | |
| file | upgrade.php | 
| OAuth2 authentication plugin upgrade code. | |
| file | version.php | 
| Version information. | |
| Namespaces | |
| auth_oauth2 | |
|  | |
| auth_oauth2\output | |
|  | |
| auth_oauth2\privacy | |
|  | |
| Classes | |
| class | auth_oauth2\api | 
| Static list of api methods for auth oauth2 configuration.  More... | |
| class | auth_oauth2\auth | 
| Plugin for oauth2 authentication.  More... | |
| class | auth_oauth2\linked_login | 
| Class for loading/storing issuer from the DB.  More... | |
| class | auth_oauth2\output\renderer | 
| Implements the plugin renderer.  More... | |
| class | auth_oauth2\privacy\provider | 
| Privacy provider for auth_oauth2.  More... | |
| class | auth_plugin_oauth2 | 
| Plugin for oauth2 authentication.  More... | |
| Functions | |
| auth_oauth2_extend_navigation_user_settings (navigation_node $useraccount, stdClass $user, context_user $context, stdClass $course, context_course $coursecontext) | |
| Navigation hook to add to preferences page.  More... | |
| auth_oauth2_pre_user_delete ($user) | |
| Callback to remove linked logins for deleted users.  More... | |
| xmldb_auth_oauth2_upgrade ($oldversion) | |
| Upgrade function.  More... | |
| Variables | |
| $capabilities | |
| $observers | |
| $plugin | component = 'auth_oauth2' | 
| $plugin | requires = 2019111200 | 
| $plugin | version = 2019111800 | 
| auth_oauth2_extend_navigation_user_settings | ( | navigation_node | $useraccount, | 
| stdClass | $user, | ||
| context_user | $context, | ||
| stdClass | $course, | ||
| context_course | $coursecontext | ||
| ) | 
Navigation hook to add to preferences page.
| navigation_node | $useraccount | |
| stdClass | $user | |
| context_user | $context | |
| stdClass | $course | |
| context_course | $coursecontext | 
| auth_oauth2_pre_user_delete | ( | $user | ) | 
Callback to remove linked logins for deleted users.
| stdClass | $user | 
| xmldb_auth_oauth2_upgrade | ( | $oldversion | ) | 
Upgrade function.
| int | $oldversion | the version we are upgrading from | 
| bool | result | 
| $capabilities | 
| $observers |