stable
Clone or download
Read-only
Move code related to the authorization code when granting an access token into a subnamespace
This contribution does not bring any new functional changes. It only reorganize a bit the content of the Tuleap\OAuth2Server\Grant namespace before adding more code to it. In a close future access token will also be granted with a refresh token. It's easier to the changes now when there is not that much code than later. This is part of story #14542: have OAuth2 flow Change-Id: Id09e64da8e4024be342f12ca230d28a979a9def4
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/oauth2_server/include/Grant/AuthCodeGrantController.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/AuthorizationCodeGrantResponseBuilder.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/CannotSetANegativeExpirationDelayOnAccessTokenException.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/InvalidOAuth2AuthCodeException.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/OAuth2AccessTokenSuccessfulRequestRepresentation.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/OAuth2AuthCodeNotFoundException.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/OAuth2AuthorizationCode.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/OAuth2AuthorizationCodeVerifier.php | Go to diff View file | ||
R | plugins/oauth2_server/include/Grant/PrefixOAuth2AuthCode.php | Go to diff View file | ||
M | plugins/oauth2_server/include/oauth2_serverPlugin.php | +6 | −6 | Go to diff View file |
R | plugins/oauth2_server/phpunit/Grant/AuthCodeGrantControllerTest.php | Go to diff View file | ||
R | plugins/oauth2_server/phpunit/Grant/AuthorizationCodeGrantResponseBuilderTest.php | Go to diff View file | ||
R | plugins/oauth2_server/phpunit/Grant/OAuth2AccessTokenSuccessfulRequestRepresentationTest.php | Go to diff View file | ||
R | plugins/oauth2_server/phpunit/Grant/OAuth2AuthorizationCodeTest.php | Go to diff View file | ||
R | plugins/oauth2_server/phpunit/Grant/OAuth2AuthorizationCodeVerifierTest.php | Go to diff View file | ||
R | plugins/oauth2_server/phpunit/Grant/PrefixOAuth2AuthCodeTest.php | Go to diff View file |