Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Privacy provider for auth_oauth2. More...
Static Public Member Functions | |
static | delete_data_for_all_users_in_context (\context $context) |
Delete all user data for this context. | |
static | delete_data_for_user (approved_contextlist $contextlist) |
Delete all user data for this user only. | |
static | delete_data_for_users (approved_userlist $userlist) |
Delete multiple users within a single context. | |
static | export_user_data (approved_contextlist $contextlist) |
Export all oauth2 information for the list of contexts and this user. | |
static | get_contexts_for_userid (int $userid) |
Return all contexts for this userid. | |
static | get_metadata (collection $collection) |
Get information about the user data stored by this plugin. | |
static | get_users_in_context (userlist $userlist) |
Get the list of users within a specific context. | |
Static Protected Member Functions | |
static | delete_user_data (int $userid) |
This does the deletion of user data for the auth_oauth2. | |
Privacy provider for auth_oauth2.
|
static |
Delete all user data for this context.
context | $context | The context to delete data for. |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Delete all user data for this user only.
approved_contextlist | $contextlist | The list of approved contexts for a user. |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Delete multiple users within a single context.
approved_userlist | $userlist | The approved context and user information to delete information for. |
Implements core_privacy\local\request\core_userlist_provider.
|
staticprotected |
This does the deletion of user data for the auth_oauth2.
int | $userid | The user ID |
|
static |
Export all oauth2 information for the list of contexts and this user.
approved_contextlist | $contextlist | The list of approved contexts for a user. |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Return all contexts for this userid.
In this situation the user context.
int | $userid | The user ID. |
contextlist | The list of context IDs. |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Get information about the user data stored by this plugin.
collection | $collection | An object for storing metadata. |
collection | The metadata. |
Implements core_privacy\local\metadata\provider.
|
static |
Get the list of users within a specific context.
userlist | $userlist | The userlist containing the list of users who have data in this context/plugin combination. |
Implements core_privacy\local\request\core_userlist_provider.