stable

Clone or download

Read-only

chore: move plugin_oauth2_authorization_code table to core

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

Modified Files

Name
M plugins/oauth2_server/db/install.sql +0 −25 Go to diff View file
A plugins/oauth2_server/db/mysql/2022/202202091621_move_plugin_oauth2_authorization_code_to_core.php +39 −0 Go to diff View file
M plugins/oauth2_server/include/AccessToken/OAuth2AccessTokenDAO.php +4 −4 Go to diff View file
M plugins/oauth2_server/include/App/OAuth2AppRemover.php +1 −1 Go to diff View file
M plugins/oauth2_server/include/Grant/AuthorizationCode/OAuth2AuthorizationCodeCreator.php +1 −0 Go to diff View file
M plugins/oauth2_server/include/Grant/AuthorizationCode/OAuth2AuthorizationCodeRevoker.php +2 −0 Go to diff View file
M plugins/oauth2_server/include/Grant/AuthorizationCode/OAuth2AuthorizationCodeVerifier.php +1 −0 Go to diff View file
M plugins/oauth2_server/include/RefreshToken/OAuth2RefreshTokenDAO.php +2 −2 Go to diff View file
M plugins/oauth2_server/include/User/AuthorizationRevoker.php +1 −1 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +1 −1 Go to diff View file
M plugins/oauth2_server/tests/integration/AccessToken/OAuth2AccessTokenDAOTest.php +1 −1 Go to diff View file
M plugins/oauth2_server/tests/integration/RefreshToken/OAuth2RefreshTokenDAOTest.php +1 −1 Go to diff View file
M plugins/oauth2_server/tests/unit/App/OAuth2AppRemoverTest.php +1 −1 Go to diff View file
M plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2AuthorizationCodeCreatorTest.php +1 −0 Go to diff View file
M plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2AuthorizationCodeRevokerTest.php +1 −0 Go to diff View file
M plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2AuthorizationCodeVerifierTest.php +1 −0 Go to diff View file
M plugins/oauth2_server/tests/unit/User/AuthorizationRevokerTest.php +1 −1 Go to diff View file
R plugins/oauth2_server/include/Grant/AuthorizationCode/OAuth2AuthorizationCodeDAO.php Go to diff View file
M src/db/mysql/database_structure.sql +14 −0 Go to diff View file
A src/db/mysql/updates/2022/202202091614_create_oauth2_authorization_code_table.php +49 −0 Go to diff View file
R plugins/oauth2_server/tests/integration/Grant/AuthorizationCode/OAuth2AuthorizationCodeDAOTest.php Go to diff View file