Authing / authing-php-sdk

PHP SDK for Authing
https://docs.authing.cn/#/quick_start/php
MIT License
11 stars 4 forks source link

Bug: Forgotten debugging code #19

Open sunxyw opened 1 year ago

sunxyw commented 1 year ago

Description

The code echo $this->_accessTokenExpiredAt; present in the requestToken() method of the BaseClient class is likely a debugging statement that the developer forgot to remove.

Minimal code-snippet showcasing the problem

https://github.com/Authing/authing-php-sdk/blob/6bb5c18f2dba8736f500e4521feaf3ac806cfd45/src/BaseClient.php#L121-L131

Expected behavior

The debugging code should be removed.

Actual behavior

The debugging code is present and will output unwanted information.