stable

Clone or download

Read-only

chore: move OAuth2AuthorizationCodeScopeDAO and SQL table to core

This is part of story #24227: have private oauth2 endpoints for Mediawiki No functional change expected here. This is a new step before moving POST oauth2/token in core. Change-Id: If37df603f1c82eb5a1c37a69ce454e5e856d7372

Modified Files

Name
M plugins/oauth2_server/db/install.sql +0 −6 Go to diff View file
A plugins/oauth2_server/db/mysql/2022/202202171559_move_plugin_oauth2_authorization_code_scope_to_core.php +39 −0 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +1 −1 Go to diff View file
M src/common/OAuth2ServerCore/Grant/AuthorizationCode/OAuth2AuthorizationCodeDAO.php +2 −2 Go to diff View file
R plugins/oauth2_server/include/Grant/AuthorizationCode/Scope/OAuth2AuthorizationCodeScopeDAO.php Go to diff View file
M src/db/mysql/database_structure.sql +6 −0 Go to diff View file
A src/db/mysql/updates/2022/202202171556_create_oauth2_authorization_code_scope_table.php +41 −0 Go to diff View file
M tests/integration/tests/OAuth2ServerCore/Grant/AuthorizationCode/OAuth2AuthorizationCodeDAOTest.php +2 −2 Go to diff View file