Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
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. More... | |
static | delete_data_for_user (approved_contextlist $contextlist) |
Delete all user data for this user only. More... | |
static | delete_data_for_users (approved_userlist $userlist) |
Delete multiple users within a single context. More... | |
static | export_user_data (approved_contextlist $contextlist) |
Export all oauth2 information for the list of contexts and this user. More... | |
static | get_contexts_for_userid (int $userid) |
Return all contexts for this userid. More... | |
static | get_metadata (collection $collection) |
Get information about the user data stored by this plugin. More... | |
static | get_users_in_context (userlist $userlist) |
Get the list of users within a specific context. More... | |
Static Protected Member Functions | |
static | delete_user_data (int $userid) |
This does the deletion of user data for the auth_oauth2. More... | |
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.