stable

Clone or download

Read-only

chore: move OAuth2AccessTokenScopeDAO 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 firststep before moving POST oauth2/token in core. Change-Id: I077d56d5e99c05856834710dbd785650ddfd3cc5

Modified Files

Name
M plugins/oauth2_server/db/install.sql +0 −6 Go to diff View file
A plugins/oauth2_server/db/mysql/2022/202202150935_move_plugin_oauth2_access_token_scope_to_core.php +39 −0 Go to diff View file
M plugins/oauth2_server/include/Grant/AuthorizationCode/Scope/OAuth2AuthorizationCodeScopeDAO.php +2 −2 Go to diff View file
M plugins/oauth2_server/include/RefreshToken/Scope/OAuth2RefreshTokenScopeDAO.php +2 −2 Go to diff View file
M plugins/oauth2_server/include/Scope/OAuth2ScopeRetriever.php +1 −0 Go to diff View file
M plugins/oauth2_server/include/Scope/OAuth2ScopeSaver.php +1 −0 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +2 −3 Go to diff View file
M plugins/oauth2_server/tests/unit/Scope/OAuth2ScopeRetrieverTest.php +1 −0 Go to diff View file
M plugins/oauth2_server/tests/unit/Scope/OAuth2ScopeSaverTest.php +1 −0 Go to diff View file
M src/common/OAuth2ServerCore/AccessToken/OAuth2AccessTokenDAO.php +2 −2 Go to diff View file
R plugins/oauth2_server/include/AccessToken/Scope/OAuth2AccessTokenScopeDAO.php 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/Scope/OAuth2ScopeIdentifierSaverDAO.php Go to diff View file
R plugins/oauth2_server/include/Scope/OAuth2ScopeIdentifierSearcherDAO.php Go to diff View file
M src/db/mysql/database_structure.sql +5 −0 Go to diff View file
A src/db/mysql/updates/2022/202202150932_create_oauth2_access_token_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