stable

Clone or download

Read-only

User information are retrieved without the help of an external lib

Tuleap now manages directly the retrieval of data from the UserInfo endpoint. This contribution reduces the dependency to an external library, the goal is to remove it completly to be able to drop completly the non compatible with PHP 7.2 code that is currently used. request #12235: Drop usage of InoOicClient library in the OpenIDConnect client plugin Change-Id: Ifacb2850385afd44dc62563fe0f71a74df082e7c

Modified Files

Name
M plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/Flow.php +26 −39 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/EmptyUserInfoRequest.php +29 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/IncorrectlyFormattedUserInfoResponseException.php +29 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/NotSupportedContentTypeUserInfoResponseException.php +29 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoRequest.php +29 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoRequestCreator.php +54 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoRequestSender.php +52 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoRequestWithData.php +40 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoResponse.php +72 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoResponseException.php +25 −0 Go to diff View file
M plugins/openidconnectclient/include/openidconnectclientPlugin.class.php +9 −3 Go to diff View file
M plugins/openidconnectclient/phpunit/Authentication/FlowTest.php +8 −2 Go to diff View file
A plugins/openidconnectclient/phpunit/Authentication/UserInfo/UserInfoRequestCreatorTest.php +44 −0 Go to diff View file
A plugins/openidconnectclient/phpunit/Authentication/UserInfo/UserInfoResponseTest.php +77 −0 Go to diff View file