stable

Clone or download

Read-only

chore: move plugin_oauth2_refresh_token table to core

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

Modified Files

Name
M plugins/oauth2_server/db/install.sql +0 −10 Go to diff View file
A plugins/oauth2_server/db/mysql/2022/202202100916_move_plugin_oauth2_refresh_token_to_core.php +39 −0 Go to diff View file
M plugins/oauth2_server/include/RefreshToken/OAuth2RefreshTokenCreator.php +1 −0 Go to diff View file
M plugins/oauth2_server/include/RefreshToken/OAuth2RefreshTokenRevoker.php +1 −0 Go to diff View file
M plugins/oauth2_server/include/RefreshToken/OAuth2RefreshTokenVerifier.php +1 −0 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/unit/RefreshToken/OAuth2RefreshTokenCreatorTest.php +1 −0 Go to diff View file
M plugins/oauth2_server/tests/unit/RefreshToken/OAuth2RefreshTokenRevokerTest.php +1 −0 Go to diff View file
M plugins/oauth2_server/tests/unit/RefreshToken/OAuth2RefreshTokenVerifierTest.php +1 −0 Go to diff View file
M src/common/OAuth2ServerCore/Grant/AuthorizationCode/OAuth2AuthorizationCodeDAO.php +4 −4 Go to diff View file
R plugins/oauth2_server/include/RefreshToken/OAuth2RefreshTokenDAO.php Go to diff View file
M src/db/mysql/database_structure.sql +10 −0 Go to diff View file
A src/db/mysql/updates/2022/202202100914_create_oauth2_refresh_token_table.php +45 −0 Go to diff View file
M tests/integration/tests/OAuth2ServerCore/Grant/AuthorizationCode/OAuth2AuthorizationCodeDAOTest.php +2 −2 Go to diff View file
R plugins/oauth2_server/tests/integration/RefreshToken/OAuth2RefreshTokenDAOTest.php Go to diff View file